cc2cfc2d01
PR: 221841 Submitted by: vidar@karlsen.tech (maintainer)
30 lines
685 B
Makefile
30 lines
685 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= void-zones-tools
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.0.2
|
|
PORTREVISION= 1
|
|
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
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
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
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|