aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-20 23:16:53 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-20 23:16:53 +0800
commit67e0b984304e883a0b528f979c48340d87290cdf (patch)
treed458e6064180461886c5ce9802874110ef737f5a /mail
parent795916589c888cb5f123667277357fe3130df2bc (diff)
downloadfreebsd-ports-gnome-67e0b984304e883a0b528f979c48340d87290cdf.tar.gz
freebsd-ports-gnome-67e0b984304e883a0b528f979c48340d87290cdf.tar.zst
freebsd-ports-gnome-67e0b984304e883a0b528f979c48340d87290cdf.zip
- Support staging
- Use shebangfix
Diffstat (limited to 'mail')
-rw-r--r--mail/listadmin/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/mail/listadmin/Makefile b/mail/listadmin/Makefile
index 6e4248792552..9efbd2622623 100644
--- a/mail/listadmin/Makefile
+++ b/mail/listadmin/Makefile
@@ -14,15 +14,16 @@ RUN_DEPENDS= p5-Text-Reform>=0:${PORTSDIR}/textproc/p5-Text-Reform \
p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= run
-PLIST_FILES= bin/listadmin
-MAN1= listadmin.1
+PLIST_FILES= bin/listadmin man/man1/listadmin.1.gz
+SHEBANG_FILES= listadmin.pl
-NO_STAGE= yes
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/listadmin.pl ${PREFIX}/bin/listadmin
- @${INSTALL_MAN} ${WRKSRC}/listadmin.man ${MAN1PREFIX}/man/man1/listadmin.1
+ ${INSTALL_SCRIPT} ${WRKSRC}/listadmin.pl \
+ ${STAGEDIR}${PREFIX}/bin/listadmin
+ ${INSTALL_MAN} ${WRKSRC}/listadmin.man \
+ ${STAGEDIR}${MANPREFIX}/man/man1/listadmin.1
.include <bsd.port.mk>