aboutsummaryrefslogblamecommitdiff
path: root/dns/void-zones-tools/Makefile
blob: 80606852910aa15d59cfc125393971a900fcc705 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                

                         
                 
                   






                                                                                 

                                                  


                            
 

                           

                    




                                                                                 



                                                                 
                      
PORTNAME=	void-zones-tools
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.2
PORTREVISION=	7
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

RUN_DEPENDS=	ca_root_nss>0:security/ca_root_nss

USES=		compiler:c11
USE_GITHUB=	yes
GH_ACCOUNT=	cyclaero

SUB_FILES=	pkg-message

OPTIONS_DEFINE=	DOCS

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>