svn commit: r356108 - head/security/blindelephant
Stefan Esser
se at FreeBSD.org
Sun Jun 1 12:35:41 UTC 2014
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 at 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>
More information about the svn-ports-head
mailing list