blob: 5d41e198a89074ade66a68156774f52ed97ce50c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
PORTNAME= cascade
DISTVERSION= 0.1.0-RC1
PORTREVISION= 1
CATEGORIES= dns net
PKGNAMESUFFIX= -dns
MAINTAINER= bofh@FreeBSD.org
COMMENT= Friendly DNSSEC signing solution
WWW= https://github.com/NLnetLabs/cascade
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= dnst:dns/dnst
USES= cargo cpe ssl
CPE_VENDOR= nlnetlabs
USE_GITHUB= yes
GH_ACCOUNT= NLnetLabs
GH_TAGNAME= 2c934d0ec
USE_RC_SUBR= ${PORTNAME}
SUB_LIST= USERS=${USERS} \
GROUPS=${GROUPS} \
DBDIR=${DBDIR}
USERS= ${PORTNAME}
GROUPS= ${PORTNAME}
PLIST_SUB+= USERS=${USERS} \
GROUPS=${GROUPS}
DBDIR= /var/db/${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's|%%ETCDIR%%|${ETCDIR}|g; \
s|%%DBDIR%%|${DBDIR}|g; \
s|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/etc/config.template.toml
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/etc/policy.template.toml ${STAGEDIR}${ETCDIR}/policy.toml.sample
${INSTALL_DATA} ${WRKSRC}/etc/config.template.toml ${STAGEDIR}${ETCDIR}/config.toml.sample
.include <bsd.port.mk>
|