git: 00a3463a99d8 - main - math/grpn: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 17:34:38 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=00a3463a99d852e529e3f06a1d535aa65081b99b
commit 00a3463a99d852e529e3f06a1d535aa65081b99b
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 17:00:09 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 17:34:24 +0000
math/grpn: Sanitize MANPREFIX
Approved by: portmgr (blanket)
---
math/grpn/Makefile | 4 ++--
math/grpn/files/patch-Makefile | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/math/grpn/Makefile b/math/grpn/Makefile
index b98610a4c7f2..f7bba1e2a736 100644
--- a/math/grpn/Makefile
+++ b/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
@@ -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
diff --git a/math/grpn/files/patch-Makefile b/math/grpn/files/patch-Makefile
index 9d94c0db7f9f..d103f98e1b2f 100644
--- a/math/grpn/files/patch-Makefile
+++ b/math/grpn/files/patch-Makefile
@@ -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