git: 80a32ffe4fe3 - main - sysutils/fand: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jan 2024 02:02:53 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=80a32ffe4fe3a52f65b91a5d9471c7c153995dcb
commit 80a32ffe4fe3a52f65b91a5d9471c7c153995dcb
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 01:20:57 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 02:02:45 +0000
sysutils/fand: Sanitize MANPREFIX
Approved by: portmgr (blanket)
---
sysutils/fand/Makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/sysutils/fand/Makefile b/sysutils/fand/Makefile
index eded9d2b84a8..6e2f82b467f1 100644
--- a/sysutils/fand/Makefile
+++ b/sysutils/fand/Makefile
@@ -1,5 +1,6 @@
PORTNAME= fand
DISTVERSION= 0.2.3
+PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= corey@electrickite.org
@@ -13,9 +14,13 @@ USE_GITHUB= yes
GH_ACCOUNT= electrickite
PLIST_FILES= sbin/${PORTNAME} \
- man/man8/${PORTNAME}.8.gz \
+ share/man/man8/${PORTNAME}.8.gz \
etc/rc.d/${PORTNAME}
+post-patch:
+ @${REINPLACE_CMD} -e 's|man$$|share/man|g' \
+ ${WRKSRC}/Makefile
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}