1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/sysutils/rundeck/Makefile
Steve Wills f1bb55c375 sysutils/rundeck update to 2.11.4
PR:		228825
Submitted by:	Volodymyr Kostyrko <arcade@b1t.name> (maintainer)
2018-06-09 21:30:38 +00:00

46 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= rundeck
DISTVERSION= 2.11.4
CATEGORIES= sysutils java
MASTER_SITES= http://dl.bintray.com/rundeck/rundeck-maven/
DISTNAME= rundeck-launcher-${PORTVERSION}
EXTRACT_SUFX= .jar
MAINTAINER= arcade@b1t.name
COMMENT= Web-console for dispatching commands and scripts to your nodes
LICENSE= APACHE20
USE_JAVA= yes
JAVA_VERSION= 1.8+
NO_ARCH= yes
NO_BUILD= yes
PLIST_SUB= RUNDECK_USER=${RUNDECK_USER} RUNDECK_GROUP=${RUNDECK_GROUP}
USE_RC_SUBR= rundeck
RUNDECK_HOME= ${PREFIX}/rundeck
RUNDECK_USER?= rundeck
RUNDECK_GROUP?= rundeck
RUNDECK_LOG_FILE?= /var/log/rundeck.log
.if ${RUNDECK_USER} == "rundeck"
USERS= rundeck
.endif
.if ${RUNDECK_GROUP} == "rundeck"
GROUPS= rundeck
.endif
SUB_LIST+= RUNDECK_HOME=${RUNDECK_HOME} RUNDECK_USER=${RUNDECK_USER} \
RUNDECK_GROUP=${RUNDECK_GROUP} JAVA_HOME=${JAVA_HOME} \
RUNDECK_LOG_FILE=${RUNDECK_LOG_FILE}
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${RUNDECK_HOME}/server/lib
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \
${STAGEDIR}${DATADIR}/rundeck-launcher${EXTRACT_SUFX}
.include <bsd.port.mk>