Date: Sun, 1 Jun 2014 12:35:41 +0000 (UTC) From: Stefan Esser <se@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356108 - head/security/blindelephant Message-ID: <201406011235.s51CZf0A043228@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: se Date: Sun Jun 1 12:35:41 2014 New Revision: 356108 URL: http://svnweb.freebsd.org/changeset/ports/356108 QAT: https://qat.redports.org/buildarchive/r356108/ Log: Add stage support and support for the DOCS option. Approved by: antoine (mentor) Modified: head/security/blindelephant/Makefile Modified: head/security/blindelephant/Makefile ============================================================================== --- head/security/blindelephant/Makefile Sun Jun 1 12:35:40 2014 (r356107) +++ head/security/blindelephant/Makefile Sun Jun 1 12:35:41 2014 (r356108) @@ -14,7 +14,8 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Fingerprint the web applications used by a web site LICENSE= LGPL3 -USE_BZIP2= YES + +USES= tar:bzip2 USE_PYTHON= yes USE_PYDISTUTILS= YES @@ -22,10 +23,9 @@ SUB_FILES= ${PORTNAME}.sh SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \ PATH=${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} -PORTDOCS= README Blind_Elephant_BlackHat_2010.pdf +OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include <bsd.port.pre.mk> +PORTDOCS= README Blind_Elephant_BlackHat_2010.pdf post-extract: @${MV} ${WRKSRC}/src/* ${WRKSRC} @@ -33,12 +33,10 @@ post-extract: ${WRKSRC}/Blind_Elephant_BlackHat_2010.pdf post-install: - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @${MKDIR} ${STAGEDIR}${DOCSDIR} . for I in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${I} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${I} ${STAGEDIR}${DOCSDIR} . endfor -.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406011235.s51CZf0A043228>