svn commit: r414262 - head/security/blindelephant
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Apr 29 09:03:24 UTC 2016
Author: amdmi3
Date: Fri Apr 29 09:03:23 2016
New Revision: 414262
URL: https://svnweb.freebsd.org/changeset/ports/414262
Log:
- Add NO_ARCH
- Switch to options helpers
Modified:
head/security/blindelephant/Makefile
Modified: head/security/blindelephant/Makefile
==============================================================================
--- head/security/blindelephant/Makefile Fri Apr 29 07:41:09 2016 (r414261)
+++ head/security/blindelephant/Makefile Fri Apr 29 09:03:23 2016 (r414262)
@@ -16,15 +16,16 @@ LICENSE= LGPL3
USES= python tar:bzip2
USE_PYTHON= distutils
+NO_ARCH= yes
SUB_FILES= ${PORTNAME}.sh
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \
PATH=${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}
-OPTIONS_DEFINE= DOCS
-
PORTDOCS= README Blind_Elephant_BlackHat_2010.pdf
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${MV} ${WRKSRC}/src/* ${WRKSRC}
@${MV} "${WRKSRC}/doc/Blind Elephant - BlackHat 2010.pdf" \
@@ -32,9 +33,11 @@ post-extract:
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
-. for I in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${I} ${STAGEDIR}${DOCSDIR}
-. endfor
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list