openbsd-ports/devel/hudson/Makefile
ian 5e36a5714a Initial import of Hudson, a continuous integration (CI) server.
Hudson can run standalone (has own tiny web server) or in a
Java-capable web server or application server.
ok sthen@, kurt@ after considerable cluesticking (by them)
2008-07-25 00:05:31 +00:00

52 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2008/07/25 00:05:31 ian Exp $
COMMENT = continuous integration server
VERSION = 1.227
DISTNAME = hudson # nonsensical versioning, alas.
PKGNAME = hudson-${VERSION}
DIST_SUBDIR = hudson-${VERSION}
CATEGORIES = devel
HOMEPAGE = http://hudson.dev.java.net/
MAINTAINER= Ian Darwin <ian@openbsd.org>
# Code under MIT license, Artwork under Creative Commons,
# See http://hudson.gotdns.com/wiki/display/HUDSON/Use+Hudson#UseHudson-License
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = https://hudson.dev.java.net/files/documents/2402/100759/
EXTRACT_ONLY =
EXTRACT_SUFX = .war
MODULES = java
MODJAVA_VER = 1.6+
MODJAVA_JRE = yes
RUN_DEPENDS = ::java/javaPathHelper
NO_BUILD = Yes
NO_REGRESS = Yes
HOMEDIR = /var/hudson
WARDIR = ${PREFIX}/share/hudson
BINDIR = ${PREFIX}/bin
SUBST_VARS += HOMEDIR TRUEPREFIX
do-install:
${INSTALL_DATA_DIR} ${HOMEDIR}
${INSTALL_DATA_DIR} ${WARDIR}
${INSTALL_DATA} ${PORTSDIR}/distfiles/${DIST_SUBDIR}/hudson.war ${WARDIR}
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD ${WARDIR}
${INSTALL_DATA} ${FILESDIR}/hudson ${WRKDIST}
${SUBST_CMD} ${WRKDIST}/hudson
${INSTALL_SCRIPT} ${WRKDIST}/hudson ${BINDIR}
.include <bsd.port.mk>