4882d0b7f6
Security: 22dc4a22-d1e5-11e4-879c-00e0814cab4e
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= jenkins
|
|
PORTVERSION= 1.596.2
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= http://mirrors.jenkins-ci.org/war-stable/${PORTVERSION}/
|
|
PKGNAMESUFFIX= -lts
|
|
DISTNAME= jenkins
|
|
EXTRACT_SUFX= .war
|
|
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= swills@FreeBSD.org
|
|
COMMENT= Open-source continuous integration server
|
|
|
|
LICENSE= MIT
|
|
|
|
CONFLICTS= jenkins-[0-9]*
|
|
USE_JAVA= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_RC_SUBR= jenkins
|
|
|
|
USES+= cpe
|
|
CPE_VENDOR= cloudbees
|
|
CPE_EDITION= lts
|
|
|
|
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+= JENKINS_HOME=${JENKINS_HOME} \
|
|
JENKINS_USER=${JENKINS_USER} \
|
|
JENKINS_GROUP=${JENKINS_GROUP} \
|
|
JAVA_HOME=${JAVA_HOME} \
|
|
JENKINS_LOG_FILE=${JENKINS_LOG_FILE}
|
|
PLIST_SUB+= JENKINS_USER=${JENKINS_USER} \
|
|
JENKINS_GROUP=${JENKINS_GROUP}
|
|
|
|
.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>
|