1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/www/hudson/Makefile

36 lines
844 B
Makefile

# Created by: Herve Quiroz <hq@FreeBSD.org>
# $FreeBSD$
PORTNAME= hudson
PORTVERSION= 1.395
CATEGORIES= www java devel
MASTER_SITES= http://download.hudson-labs.org/war/${PORTVERSION}/
DISTNAME= hudson
EXTRACT_SUFX= .war
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
EXTRACT_ONLY=
MAINTAINER= hq@FreeBSD.org
COMMENT= An extensible continuous integration engine
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
USE_RC_SUBR= hudson
HUDSON_HOME?= /var/lib/hudson
HUDSON_USER?= www
HUDSON_GROUP?= www
PLIST_FILES= %%DATADIR%%/${DISTNAME}${EXTRACT_SUFX}
PLIST_DIRS= %%DATADIR%%
SUB_LIST+= HUDSON_HOME=${HUDSON_HOME} HUDSON_USER=${HUDSON_USER} HUDSON_GROUP=${HUDSON_GROUP} JAVA_HOME=${JAVA_HOME}
NO_STAGE= yes
do-install:
${MKDIR} "${DATADIR}"
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ${DATADIR}/
.include <bsd.port.mk>