mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Support staging
- Use shebangfix - Don't install GPLv2 file but define LICENSE
This commit is contained in:
parent
39b563b05c
commit
55cc55478d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345083
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user