Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2016 09:03:23 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414262 - head/security/blindelephant
Message-ID:  <201604290903.u3T93NZl000279@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604290903.u3T93NZl000279>