svn commit: r346514 - head/security/sshblock
Emanuel Haupt
ehaupt at FreeBSD.org
Fri Feb 28 13:45:48 UTC 2014
Author: ehaupt
Date: Fri Feb 28 13:45:48 2014
New Revision: 346514
URL: http://svnweb.freebsd.org/changeset/ports/346514
QAT: https://qat.redports.org/buildarchive/r346514/
Log:
- Support staging
- Use shebangfix
Modified:
head/security/sshblock/Makefile
Modified: head/security/sshblock/Makefile
==============================================================================
--- head/security/sshblock/Makefile Fri Feb 28 13:38:23 2014 (r346513)
+++ head/security/sshblock/Makefile Fri Feb 28 13:45:48 2014 (r346514)
@@ -16,25 +16,21 @@ RUN_DEPENDS= p5-File-Tail>=0:${PORTSDIR}
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= sbin/sshblock
-USES= perl5
+USES= perl5 shebangfix
USE_RC_SUBR= sshblock
SUB_LIST= PERL=${PERL}
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKDIR}
SUB_FILES+= pkg-message
-#SUB_FILES= sshblock.sh
+SHEBANG_FILES= ${WRKSRC}/sshblock-${PORTVERSION}.pl
-NO_STAGE= yes
do-patch:
@${REINPLACE_CMD} -e "s@/usr/bin/perl@${PERL}@" \
${WRKSRC}/sshblock-${PORTVERSION}.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/sshblock-${PORTVERSION}.pl \
- ${PREFIX}/sbin/sshblock
-
-post-install:
- ${CAT} ${PKGMESSAGE}
+ ${STAGEDIR}${PREFIX}/sbin/sshblock
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list