2016-11-25 19:31:53 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= void-zones-tools
|
2017-08-23 09:35:03 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
|
|
|
DISTVERSION= 1.0.2
|
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
2017-09-10 22:55:38 +02:00
|
|
|
PORTREVISION= 2
|
2016-11-25 19:31:53 +01:00
|
|
|
CATEGORIES= dns
|
|
|
|
|
|
|
|
MAINTAINER= vidar@karlsen.tech
|
|
|
|
COMMENT= Prepare a list of void zones that can be readily fed into Unbound
|
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
USES= compiler:c11
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= cyclaero
|
|
|
|
|
2017-08-27 17:08:57 +02:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2016-11-25 19:31:53 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hosts2zones ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/void-zones
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/void-zones-update.sh ${STAGEDIR}${PREFIX}/bin
|
|
|
|
|
2017-08-27 17:08:57 +02:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
2016-11-25 19:31:53 +01:00
|
|
|
.include <bsd.port.mk>
|