Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/dns/dns2blackhole/Makefile 452064 2017-10-14 13:15:15Z dbaio $ |
2 |
# $FreeBSD: head/dns/dns2blackhole/Makefile 452064 2017-10-14 13:15:15Z dbaio $ |
3 |
|
3 |
|
4 |
PORTNAME= dns2blackhole |
4 |
PORTNAME= dns2blackhole |
5 |
PORTVERSION= 0.0 |
5 |
PORTVERSION= 0.1 |
6 |
CATEGORIES= dns |
6 |
CATEGORIES= dns |
7 |
MASTER_SITES= SF/${PORTNAME} |
7 |
MASTER_SITES= SF/${PORTNAME} |
8 |
|
8 |
|
Lines 14-34
Link Here
|
14 |
USES= tar:bzip2 |
14 |
USES= tar:bzip2 |
15 |
NO_BUILD= yes |
15 |
NO_BUILD= yes |
16 |
NO_ARCH= yes |
16 |
NO_ARCH= yes |
17 |
SUB_FILES= pkg-message |
|
|
18 |
|
19 |
OPTIONS_DEFINE= DOCS |
20 |
|
17 |
|
21 |
do-install: |
18 |
do-install: |
22 |
.for f in dns2blackhole-update1 dns2blackhole-update2 dns2blackhole-sanitize \ |
19 |
.for f in dns2blackhole-update1 dns2blackhole-update2 dns2blackhole-sanitize \ |
23 |
dns2blackhole-sanitize dns2blackhole-sort-fqdn dns2blackhole-whitelist |
20 |
dns2blackhole-sort-fqdn dns2blackhole-whitelist |
24 |
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin |
21 |
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin |
25 |
.endfor |
22 |
.endfor |
26 |
@${MKDIR} ${STAGEDIR}${ETCDIR} |
23 |
@${MKDIR} ${STAGEDIR}${ETCDIR} |
27 |
${INSTALL_DATA} ${WRKSRC}/dns2blackhole-unbound.conf \ |
24 |
${INSTALL_DATA} ${WRKSRC}/dns2blackhole-unbound.conf \ |
28 |
${STAGEDIR}${ETCDIR}/dns2blackhole-unbound.conf.sample |
25 |
${STAGEDIR}${ETCDIR}/dns2blackhole-unbound.conf.sample |
29 |
|
26 |
|
30 |
do-install-DOCS-on: |
27 |
${INSTALL_MAN} ${WRKSRC}/dns2blackhole.8 \ |
31 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
28 |
${STAGEDIR}${MAN8PREFIX}/man/man8 |
32 |
${INSTALL_DATA} ${WRKSRC}/dns2blackhole-intro ${STAGEDIR}${DOCSDIR} |
29 |
|
33 |
|
|
|
34 |
.include <bsd.port.mk> |
30 |
.include <bsd.port.mk> |