svn commit: r444554 - head/www/adzap
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Jun 28 09:00:18 UTC 2017
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}
More information about the svn-ports-all
mailing list