sysutils/fand: Sanitize MANPREFIX

Approved by:	portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman
2024-01-21 03:02:45 +01:00
parent b9fb566785
commit 80a32ffe4f
+6 -1
View File
@@ -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}