1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/devel/jenkins-lts/Makefile
Steve Wills 43e4835f2d devel/jenkins-lts: update to 1.565.3
Security:	549a2771-49cc-11e4-ae2c-c80aa9043978
2014-10-02 01:12:41 +00:00

51 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= jenkins
PORTVERSION= 1.565.3
PORTREVISION= 0
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
JAVA_VERSION= 1.6+
NO_BUILD= yes
USE_RC_SUBR= jenkins
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
PLIST_FILES= %%DATADIR%%/${DISTNAME}${EXTRACT_SUFX}
PLIST_DIRS= %%DATADIR%%
PLIST_DIRSTRY= jenkins
SUB_LIST+= JENKINS_HOME=${JENKINS_HOME} JENKINS_USER=${JENKINS_USER} JENKINS_GROUP=${JENKINS_GROUP} JAVA_HOME=${JAVA_HOME} JENKINS_LOG_FILE=${JENKINS_LOG_FILE}
.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>