blob: c79941d3f783938c42c178bc5f98d53084db4e72 (
plain)
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
47
48
49
50
51
52
|
PORTNAME= routinator
DISTVERSIONPREFIX= v
DISTVERSION= 0.12.1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ${ROUTINATOR_UI_URL}/v${ROUTINATOR_UI_VERSION}/:0
DISTFILES+= routinator-ui-build.tar.gz:0
MAINTAINER= jaap@NLnetLabs.nl
COMMENT= RPKI signed route collector and validator
WWW= https://github.com/NLnetLabs/routinator
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= ring crate not ported to other architectures
RUN_DEPENDS= rsync:net/rsync
USES= cargo cpe
CPE_VENDOR= nlnetlabs
USE_GITHUB= yes
GH_ACCOUNT= NLnetLabs
USE_RC_SUBR= routinator
SUB_FILES= pkg-message
SUB_LIST+= GROUPS=${GROUPS} \
USERS=${USERS}
USERS= ${PORTNAME}
GROUPS= ${PORTNAME}
ROUTINATOR_UI_VERSION= 0.3.4
ROUTINATOR_UI_URL= https://github.com/NLnetLabs/routinator-ui/releases/download/
OPTIONS_SUB= yes
post-patch:
${REINPLACE_CMD} -e "s|DISTDIR|${DISTDIR}|" \
${WRKSRC}/cargo-crates/routinator-ui-${ROUTINATOR_UI_VERSION}/build.rs
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/routinator
${INSTALL_MAN} ${WRKSRC}/doc/routinator.1 \
${STAGEDIR}${PREFIX}/man/man1/
@${MKDIR} ${STAGEDIR}/${PREFIX}/etc/routinator
${INSTALL_DATA} ${WRKSRC}/etc/routinator.conf.example \
${STAGEDIR}${PREFIX}/etc/routinator/routinator.conf.example
.include <bsd.port.mk>
|