Date: Wed, 19 Feb 2014 12:10:28 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r345083 - head/dns/hostdb Message-ID: <201402191210.s1JCASIB015883@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Wed Feb 19 12:10:28 2014 New Revision: 345083 URL: http://svnweb.freebsd.org/changeset/ports/345083 QAT: https://qat.redports.org/buildarchive/r345083/ Log: - Support staging - Use shebangfix - Don't install GPLv2 file but define LICENSE Modified: head/dns/hostdb/Makefile head/dns/hostdb/pkg-plist Modified: head/dns/hostdb/Makefile ============================================================================== --- head/dns/hostdb/Makefile Wed Feb 19 12:05:31 2014 (r345082) +++ head/dns/hostdb/Makefile Wed Feb 19 12:10:28 2014 (r345083) @@ -10,33 +10,31 @@ EXTRACT_SUFX= .tgz MAINTAINER= rodrigc@FreeBSD.org COMMENT= Generate DNS and DHCP config files from single source +LICENSE= GPLv2 + +USES= shebangfix + NO_BUILD= yes HOSTDB_EXAMPLES_DIRS= example1/out example1/ example2 hiddenmaster HOSTDB_EXAMPLES_DIRS+= mailserverexample/out mailserverexample -NO_STAGE= yes +SHEBANG_FILES= bin/mkdestinations bin/mknamedconf bin/zone2hostdbhelper \ + bin/mkzones bin/canonzone bin/genrange OPTIONS_DEFINE= DOCS EXAMPLES -.include <bsd.port.options.mk> - pre-install: ${FIND} ${WRKSRC} -name "*\.orig" -delete do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/bin -.if ${PORT_OPTIONS:MEXAMPLES} + ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/bin .for dir in ${HOSTDB_EXAMPLES_DIRS} - ${MKDIR} ${EXAMPLESDIR} - cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/ + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ .endfor -.endif -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR}/ - cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR} -.endif + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/dns/hostdb/pkg-plist ============================================================================== --- head/dns/hostdb/pkg-plist Wed Feb 19 12:05:31 2014 (r345082) +++ head/dns/hostdb/pkg-plist Wed Feb 19 12:10:28 2014 (r345083) @@ -15,7 +15,6 @@ bin/zone2hostdbhelper %%PORTDOCS%%%%DOCSDIR%%/hostdb-options.txt %%PORTDOCS%%%%DOCSDIR%%/lisa2005-paper.pdf %%PORTDOCS%%%%DOCSDIR%%/README.txt -%%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%@dirrm %%DOCSDIR%% %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1/zoneconf.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1/dhcpd.conf-tail
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402191210.s1JCASIB015883>