aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2015-01-02 21:09:54 +0800
committerdinoex <dinoex@FreeBSD.org>2015-01-02 21:09:54 +0800
commit4443f5642b7245c21fbbd59730eb7b63f07218dd (patch)
tree2dcf15ba36e98647834a451c249d4277864e236d /news
parenta1deb3aafda872fd8265c9c55932dee432d52b46 (diff)
downloadfreebsd-ports-gnome-4443f5642b7245c21fbbd59730eb7b63f07218dd.tar.gz
freebsd-ports-gnome-4443f5642b7245c21fbbd59730eb7b63f07218dd.tar.zst
freebsd-ports-gnome-4443f5642b7245c21fbbd59730eb7b63f07218dd.zip
- add shebangfix
Diffstat (limited to 'news')
-rw-r--r--news/pgpmoose/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/news/pgpmoose/Makefile b/news/pgpmoose/Makefile
index fa17a1d2c551..064dd492ac23 100644
--- a/news/pgpmoose/Makefile
+++ b/news/pgpmoose/Makefile
@@ -15,13 +15,17 @@ MAINTAINER= dinoex@FreeBSD.org
COMMENT= PGP Moose - signatures for moderated newsgroups
NO_WRKSUBDIR= yes
+USES= shebangfix
+SHEBANG_FILES= pmcancel pmdaemon
BIN1= pmapp pmcanon pmcheck pmnewsgroups \
pmdaemon pmcancel
-MAN1= pmapp.1 pmcanon.1 pmcheck.1 pmnewsgroups.1 \
+LMAN1= pmapp.1 pmcanon.1 pmcheck.1 pmnewsgroups.1 \
pmdaemon.1 pmcancel.1
NEWSCTL?= ${PREFIX}/news/lib
+_SHEBANG_REINPLACE_ARGS+= -e "1s|^\#![[:space:]]*/bin/perl|\#!${perl_CMD}|"
+
post-patch:
${REINPLACE_CMD} -e "s=/usr/local/news=${NEWSCTL}=" \
${WRKSRC}/pmapp
@@ -30,7 +34,7 @@ do-install:
.for i in ${BIN1}
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin/
.endfor
-.for i in ${MAN1}
+.for i in ${LMAN1}
${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/man/man1/
.endfor