dbbfc7889a
- If a port has another upstream, remove GOOGLE_CODE - If a port only has GOOGLE_CODE mark it BROKEN Some ports have a local mirror configured but for security reasons, it is not considered upstream. Sponsored by: Absolight
41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
# Created by: rodrigc@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hostdb
|
|
PORTVERSION= 1.004
|
|
CATEGORIES= dns
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= rodrigc@FreeBSD.org
|
|
COMMENT= Generate DNS and DHCP config files from single source
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BROKEN= Unfetchable (google code has gone away)
|
|
|
|
USES= shebangfix tar:tgz
|
|
|
|
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>
|