svn commit: r346282 - head/security/pxytest

Emanuel Haupt ehaupt at FreeBSD.org
Thu Feb 27 09:07:11 UTC 2014


Author: ehaupt
Date: Thu Feb 27 09:07:10 2014
New Revision: 346282
URL: http://svnweb.freebsd.org/changeset/ports/346282
QAT: https://qat.redports.org/buildarchive/r346282/

Log:
  - Support staging
  - Use shebangfix

Modified:
  head/security/pxytest/Makefile

Modified: head/security/pxytest/Makefile
==============================================================================
--- head/security/pxytest/Makefile	Thu Feb 27 09:06:26 2014	(r346281)
+++ head/security/pxytest/Makefile	Thu Feb 27 09:07:10 2014	(r346282)
@@ -16,21 +16,16 @@ EXTRACT_AFTER_ARGS=	> ${WRKDIR}/${PORTNA
 
 NO_WRKSUBDIR=	yes
 
-USES=		perl5
+USES=		perl5 shebangfix
 
-MAN1=		pxytest.1
-PLIST_FILES=	bin/pxytest
-
-NO_STAGE=	yes
-post-patch:
-	@${REINPLACE_CMD} -e \
-		's:^#!.*:#!${PERL}:' ${WRKSRC}/${PORTNAME}
+PLIST_FILES=	bin/pxytest man/man1/pxytest.1.gz
+SHEBANG_FILES=	pxytest
 
 do-build:
 	@cd ${WRKSRC} && pod2man ${PORTNAME} > ${PORTNAME}.1
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list