690ea2e84f
Patch CFLAGS from being overridden and remove -fno-pic to facilitate
building with WITH_PIE=yes
PR: 275039
Reported by: Marek Zarychta
(cherry picked from commit 11a7b638a6
)
34 lines
826 B
Makefile
34 lines
826 B
Makefile
PORTNAME= void-zones-tools
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.0.2-18
|
|
DISTVERSIONSUFFIX= -g204634a
|
|
PORTREVISION= 1
|
|
CATEGORIES= dns
|
|
|
|
MAINTAINER= vidar@karlsen.tech
|
|
COMMENT= Prepare a list of void zones that can be readily fed into Unbound
|
|
WWW= https://github.com/cyclaero/void-zones-tools
|
|
|
|
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>
|