svn commit: r345083 - head/dns/hostdb
Emanuel Haupt
ehaupt at FreeBSD.org
Wed Feb 19 12:10:29 UTC 2014
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 at 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
More information about the svn-ports-all
mailing list