blob: 4c392c4daa664ef3fb5ff8b8485da82230e89ec4 (
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
47
48
49
50
51
|
PORTNAME= jenkins
PORTVERSION= 2.361
CATEGORIES= devel java
MASTER_SITES= http://mirrors.jenkins.io/war/${PORTVERSION}/
DISTNAME= jenkins
EXTRACT_SUFX= .war
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
EXTRACT_ONLY=
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= Open-source continuous integration server
LICENSE= MIT
USES= cpe
USE_JAVA= 11+
USE_RC_SUBR= jenkins
CONFLICTS= jenkins-lts
NO_ARCH= yes
NO_BUILD= yes
JENKINS_HOME?= ${PREFIX}/jenkins
JENKINS_USER?= jenkins
JENKINS_GROUP?= jenkins
JENKINS_LOG_FILE?= /var/log/jenkins.log
.if ${JENKINS_USER} == "jenkins"
USERS= jenkins
.endif
.if ${JENKINS_GROUP} == "jenkins"
GROUPS= jenkins
.endif
SUB_LIST+= JAVA_HOME=${JAVA_HOME} \
JENKINS_GROUP=${JENKINS_GROUP} \
JENKINS_HOME=${JENKINS_HOME} \
JENKINS_LOG_FILE=${JENKINS_LOG_FILE} \
JENKINS_USER=${JENKINS_USER}
PLIST_SUB+= JENKINS_GROUP=${JENKINS_GROUP} \
JENKINS_USER=${JENKINS_USER}
.include <bsd.port.pre.mk>
do-install:
${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${JENKINS_HOME}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \
${STAGEDIR}${DATADIR}
.include <bsd.port.post.mk>
|