svn commit: r346504 - head/security/isnprober

Emanuel Haupt ehaupt at FreeBSD.org
Fri Feb 28 12:58:55 UTC 2014


Author: ehaupt
Date: Fri Feb 28 12:58:54 2014
New Revision: 346504
URL: http://svnweb.freebsd.org/changeset/ports/346504
QAT: https://qat.redports.org/buildarchive/r346504/

Log:
  - Support staging
  - Use shebangfix
  - Define DOCS option

Modified:
  head/security/isnprober/Makefile

Modified: head/security/isnprober/Makefile
==============================================================================
--- head/security/isnprober/Makefile	Fri Feb 28 12:54:01 2014	(r346503)
+++ head/security/isnprober/Makefile	Fri Feb 28 12:58:54 2014	(r346504)
@@ -17,16 +17,17 @@ RUN_DEPENDS=	p5-Net-RawIP>=0:${PORTSDIR}
 PLIST_FILES=	bin/${PORTNAME}
 PORTDOCS=	README
 
-USES=		perl5
+USES=		perl5 shebangfix
 USE_PERL5=	run
 NO_BUILD=	yes
 
-NO_STAGE=	yes
+SHEBANG_FILES=	isnprober
+
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
-.ifndef NOPORTDOCS
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
-.endif
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list