9c526f7217
suppress any reference to JAVA_VERSION= 1.5+ (part3)
34 lines
830 B
Makefile
34 lines
830 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}
|
|
|
|
do-install:
|
|
${MKDIR} "${DATADIR}"
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ${DATADIR}/
|
|
|
|
.include <bsd.port.mk>
|