aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-27 16:12:41 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-27 16:12:41 +0800
commit032abfaaf7d9aa3f6cea11f28b0bf0a383f4a156 (patch)
treefea6611c24d17984897a9b0756414ad278661252 /security
parent2d0ba6d94cd0a347e7ba3bdbd3f679ed99825687 (diff)
downloadfreebsd-ports-gnome-032abfaaf7d9aa3f6cea11f28b0bf0a383f4a156.tar.gz
freebsd-ports-gnome-032abfaaf7d9aa3f6cea11f28b0bf0a383f4a156.tar.zst
freebsd-ports-gnome-032abfaaf7d9aa3f6cea11f28b0bf0a383f4a156.zip
- Support staging
- Use shebangfix
Diffstat (limited to 'security')
-rw-r--r--security/chaosreader/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/security/chaosreader/Makefile b/security/chaosreader/Makefile
index bcbf00bb1154..fcfbbb87de10 100644
--- a/security/chaosreader/Makefile
+++ b/security/chaosreader/Makefile
@@ -14,22 +14,18 @@ MAINTAINER= pauls@utdallas.edu
COMMENT= Tool to extract data from tcpdump logs
NO_BUILD= yes
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= run
PLIST_FILES= bin/${PORTNAME} bin/sshkeydata
+SHEBANG_FILES= chaosreader sshkeydata
-NO_STAGE= yes
post-extract:
- ${CP} ${DISTDIR}/${PORTNAME}${PORTVERSION} ${WRKDIR}/${PORTNAME}
- ${CP} ${DISTDIR}/sshkeydata0.20 ${WRKDIR}/sshkeydata
-
-post-patch:
- ${REINPLACE_CMD} s:/usr/bin/perl:${PERL}: \
- ${WRKDIR}/${PORTNAME} ${WRKDIR}/sshkeydata
+ @${CP} ${DISTDIR}/${PORTNAME}${PORTVERSION} ${WRKDIR}/${PORTNAME}
+ @${CP} ${DISTDIR}/sshkeydata0.20 ${WRKDIR}/sshkeydata
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKDIR}/sshkeydata ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/sshkeydata ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>