blob: d947ec54a8779e69aa38edb446fd5fe0193f74d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
PORTNAME= hostdb
PORTVERSION= 1.004
PORTREVISION= 1
CATEGORIES= dns
MAINTAINER= rodrigc@FreeBSD.org
COMMENT= Generate DNS and DHCP config files from single source
LICENSE= GPLv2
USES= shebangfix tar:tgz
USE_GITHUB= yes
GH_ACCOUNT= TomOnTime
GH_TAGNAME= fb23e67642514f5
NO_BUILD= yes
HOSTDB_EXAMPLES_DIRS= example1/out example1/ example2 hiddenmaster
HOSTDB_EXAMPLES_DIRS+= mailserverexample/out mailserverexample
SHEBANG_FILES= bin/mkdestinations bin/mknamedconf bin/zone2hostdbhelper \
bin/mkzones bin/canonzone bin/genrange
OPTIONS_DEFINE= DOCS EXAMPLES
pre-install:
${FIND} ${WRKSRC} -name "*\.orig" -delete
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/bin
.for dir in ${HOSTDB_EXAMPLES_DIRS}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
.endfor
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|