Skip to content

Commit

Permalink
math/grpn: Sanitize MANPREFIX
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Jan 22, 2024
1 parent 709a511 commit 00a3463
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions math/grpn/Makefile
@@ -1,7 +1,7 @@
PORTNAME= grpn
PORTVERSION= 1.5.2
DISTVERSIONPREFIX= v
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math

MAINTAINER= ports@FreeBSD.org
Expand All @@ -17,7 +17,7 @@ GH_ACCOUNT= utopiabound

WRKSRC_SUBDIR= src

PLIST_FILES= bin/grpn man/man1/grpn.1.gz
PLIST_FILES= bin/grpn share/man/man1/grpn.1.gz
PORTDOCS= CHANGES

OPTIONS_DEFINE= DOCS
Expand Down
2 changes: 1 addition & 1 deletion math/grpn/files/patch-Makefile
Expand Up @@ -7,7 +7,7 @@
-PREFIX = /usr/local
-MANDIR = ${PREFIX}/man
+PREFIX ?= /usr/local
+MANDIR ?= ${MANPREFIX}/man
+MANDIR ?= ${PREFIX}/share/man

# What compiler should be used
-CC = gcc
Expand Down

0 comments on commit 00a3463

Please sign in to comment.