diff options
author | dinoex <dinoex@FreeBSD.org> | 2015-01-02 21:09:54 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2015-01-02 21:09:54 +0800 |
commit | 4443f5642b7245c21fbbd59730eb7b63f07218dd (patch) | |
tree | 2dcf15ba36e98647834a451c249d4277864e236d /news | |
parent | a1deb3aafda872fd8265c9c55932dee432d52b46 (diff) | |
download | freebsd-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/Makefile | 8 |
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 |