Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2017 09:00:17 +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: r444554 - head/www/adzap
Message-ID:  <201706280900.v5S90Hqq009526@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Jun 28 09:00:16 2017
New Revision: 444554
URL: https://svnweb.freebsd.org/changeset/ports/444554

Log:
  - Add NO_ARCH
  - Switch to options helpers

Modified:
  head/www/adzap/Makefile

Modified: head/www/adzap/Makefile
==============================================================================
--- head/www/adzap/Makefile	Wed Jun 28 08:59:02 2017	(r444553)
+++ head/www/adzap/Makefile	Wed Jun 28 09:00:16 2017	(r444554)
@@ -14,15 +14,17 @@ LICENSE=	BSD3CLAUSE
 
 USES=		perl5 shebangfix
 SHEBANG_FILES=	scripts/squid_redirect-nodata scripts/wrapzap scripts/zapchain
-NO_BUILD=	yes
 USE_PERL5=	run
+NO_BUILD=	yes
+NO_ARCH=	yes
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
+SUB_FILES=	adzap.conf pkg-message
 
 PORTDOCS=	index.html update-instructions.txt TODO my-bsd-license.html
 PORTEXAMPLES=	*
-SUB_FILES=	adzap.conf pkg-message
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 post-patch:
 	@${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/scripts/wrapzap
 
@@ -31,11 +33,13 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/scripts/wrapzap ${STAGEDIR}${PREFIX}/libexec/adzap
 	${INSTALL_SCRIPT} ${WRKSRC}/scripts/zapchain ${STAGEDIR}${PREFIX}/libexec/
 
-	${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}
+do-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${CP} -R ${WRKSRC}/zaps ${STAGEDIR}${EXAMPLESDIR}
 	${CP} -R ${WRKSRC}/rc ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKDIR}/adzap.conf ${STAGEDIR}${EXAMPLESDIR}
 
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 



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