openbsd-ports/devel/jenkins/Makefile
ajacoutot 561d6fe9bc Sanitize some @unexec/@extraunexec calls to rm: move them up in the
PLIST and remove remove everything under the @sample'd directory instead
of the directory itself to prevent a warning from pkg_delete(1) trying
to remove a non existing directory and to help preventing left-over
files and directories.
2011-05-11 06:22:16 +00:00

47 lines
954 B
Makefile

# $OpenBSD: Makefile,v 1.4 2011/05/11 06:22:17 ajacoutot Exp $
COMMENT = continuous integration server
VERSION = 1.401
REVISION = 2
DISTNAME = jenkins
PKGNAME = jenkins-${VERSION}
DIST_SUBDIR = jenkins-${VERSION}
CATEGORIES = devel
HOMEPAGE = http://jenkins-ci.org/
MAINTAINER= Ian Darwin <ian@openbsd.org>
# Code under MIT license, Artwork under Creative Commons
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://mirrors.jenkins-ci.org/war/${VERSION}/
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/jenkins
WARDIR = ${PREFIX}/share/jenkins
BINDIR = ${PREFIX}/bin
SUBST_VARS += HOMEDIR
do-install:
${INSTALL_DATA_DIR} ${WARDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/jenkins.war ${WARDIR}
.include <bsd.port.mk>