diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-19 12:10:28 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-19 12:10:28 +0000 |
commit | 55cc55478dca0956e2cc624a056f6af3b7ecdbd7 (patch) | |
tree | 3d334c5960370b9562fd2f8e407321f6f64dacda /dns/hostdb | |
parent | 39b563b05c954400a60cc4b71dec274fa70fdd8a (diff) |
Notes
Diffstat (limited to 'dns/hostdb')
-rw-r--r-- | dns/hostdb/Makefile | 26 | ||||
-rw-r--r-- | dns/hostdb/pkg-plist | 1 |
2 files changed, 12 insertions, 15 deletions
diff --git a/dns/hostdb/Makefile b/dns/hostdb/Makefile index 27eca8316e43..bb004d7b3386 100644 --- a/dns/hostdb/Makefile +++ b/dns/hostdb/Makefile @@ -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> diff --git a/dns/hostdb/pkg-plist b/dns/hostdb/pkg-plist index 42b371ed4538..1b768acb7cb3 100644 --- a/dns/hostdb/pkg-plist +++ b/dns/hostdb/pkg-plist @@ -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 |