blob: bee518a627123db22eb7b57b7284732c53d7b621 (
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= puppetdb
PORTVERSION= 5.2.19
CATEGORIES= databases java
MASTER_SITES= https://downloads.puppetlabs.com/puppetdb/
PKGNAMESUFFIX= 5
MAINTAINER= puppet@FreeBSD.org
COMMENT= PuppetDB storeconfigs backend
LICENSE= APACHE20
DEPRECATED= Puppet 5 has reached EOL
EXPIRATION_DATE=2021-07-01
RUN_DEPENDS= bash:shells/bash
USE_RC_SUBR= puppetdb
CONFLICTS_INSTALL= puppetdb6-* puppetdb7-*
USES= shebangfix
SHEBANG_FILES= ext/bin/puppetdb \
ext/cli/anonymize \
ext/cli/config-migration \
ext/cli/foreground \
ext/cli/upgrade \
ext/cli/ssl-setup \
ext/cli/start \
ext/cli/stop \
ext/cli/reload \
ext/ezbake-functions.sh
USE_JAVA= yes
NO_ARCH= yes
NO_BUILD= yes
USERS= puppetdb
GROUPS= puppetdb
SUB_LIST= JAVA_HOME=${JAVA_HOME}
SUB_FILES= pkg-message
post-patch:
.for file in Makefile ext/bin/puppetdb ext/cli/ssl-setup \
ext/config/conf.d/jetty.ini ext/config/conf.d/config.ini
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/${file}
.endfor
@${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" ${WRKSRC}/ext/bin/puppetdb
do-install:
@cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} make install-puppetdb
.include <bsd.port.mk>
|