aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-26 17:34:30 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-26 17:34:30 +0800
commit09b141ea13959d93fa59cb8df6c5db6de4fa4b8a (patch)
tree8f72d8c70155fbd473fe8d434ac6e0c0b43297af /mail
parenta4406352274fe3f2031e42d85c00d8a200e51270 (diff)
downloadfreebsd-ports-gnome-09b141ea13959d93fa59cb8df6c5db6de4fa4b8a.tar.gz
freebsd-ports-gnome-09b141ea13959d93fa59cb8df6c5db6de4fa4b8a.tar.zst
freebsd-ports-gnome-09b141ea13959d93fa59cb8df6c5db6de4fa4b8a.zip
- Support staging
- Use shebangfix
Diffstat (limited to 'mail')
-rw-r--r--mail/qar-bufo/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/mail/qar-bufo/Makefile b/mail/qar-bufo/Makefile
index 5a671eb93c5d..93284186be57 100644
--- a/mail/qar-bufo/Makefile
+++ b/mail/qar-bufo/Makefile
@@ -12,14 +12,12 @@ EXTRACT_ONLY=
MAINTAINER= vvelox@vvelox.net
COMMENT= Generates the Qmail assign and recipients file based on unix groups
-USES= perl5
+USES= perl5 shebangfix
NO_WRKSUBDIR= yes
-MAN1= qar-bufo.1
+SHEBANG_FILES= qar-bufo-1.3.1
+PLIST_FILES= bin/qar-bufo man/man1/qar-bufo.1.gz
-PLIST_FILES= bin/qar-bufo
-
-NO_STAGE= yes
post-extract:
@${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC}
@@ -28,11 +26,14 @@ do-configure:
@${ECHO} -n
do-build:
- @${EXEC} pod2man --section=1 --release=${PORTVERSION} --name=${PORTNAME} --center="${PORTNAME} user guide" ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1
+ @${EXEC} pod2man --section=1 --release=${PORTVERSION} \
+ --name=${PORTNAME} --center="${PORTNAME} user guide" \
+ ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1
do-install:
- @${CP} -v ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
- @${CP} -v ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/${PORTNAME}.1
- @${CHMOD} +x ${PREFIX}/bin/qar-bufo
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>