aboutsummaryrefslogtreecommitdiffstats
path: root/www/hudson/Makefile
blob: e22fc2cc01fd608cc13cd2a35d2858f04d4a0fc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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= ports@FreeBSD.org
COMMENT=    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}
SUB_LIST+=  HUDSON_HOME=${HUDSON_HOME} HUDSON_USER=${HUDSON_USER} HUDSON_GROUP=${HUDSON_GROUP} JAVA_HOME=${JAVA_HOME}

do-install:
    ${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${DATADIR}/

.include <bsd.port.mk>