head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2012.11.17.06.03.06;	author svnexp;	state Exp;
branches;
next	1.2;

1.2
date	2012.10.06.02.48.43;	author jgh;	state Exp;
branches;
next	1.1;

1.1
date	2012.05.24.17.41.02;	author jgh;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Switch exporter over
@
text
@# $FreeBSD: head/www/sventon/Makefile 305329 2012-10-06 02:48:43Z jgh $

PORTNAME=	sventon
PORTVERSION=	2.5.1
CATEGORIES=	www java
MASTER_SITES=	GOOGLE_CODE
DISTNAME=	${PORTNAME}-${PORTVERSION}-bin-svnkit

MAINTAINER=	jgh@@FreeBSD.org
COMMENT=	Web client for browsing Subversion repositories

LICENSE=	GPLv3

USE_ZIP=	yes
NO_BUILD=	yes
WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}

OPTIONS_SINGLE=	AS
OPTIONS_SINGLE_AS=	TOMCAT6
OPTIONS_DEFAULT=	TOMCAT6

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MTOMCAT6}
APPHOME=	${LOCALBASE}/apache-tomcat-6.0
BUILD_DEPENDS+=	${APPHOME}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6
RUN_DEPENDS+=	${APPHOME}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6
.endif

.if !defined(APPHOME)
IGNORE=	you need at least one application server
.endif

USE_JAVA=	yes
JAVA_VERSION=	1.6+
SHAREOWN=	www
SHAREGRP=	www
PLIST_SUB+=	APPHOME=${APPHOME:S|^${PREFIX}/||}

post-extract:
	@@${MKDIR} ${WRKDIR}/${PORTDIRNAME}
	@@${TAR} xf ${WRKSRC}/svn.war -C ${WRKDIR}/${PORTDIRNAME}

do-install:
	${INSTALL} -d -o ${WWWOWN} -g ${WWWGRP} ${APPHOME}/webapps/${PORTDIRNAME}
	cd ${WRKDIR}/${PORTDIRNAME} && ${COPYTREE_SHARE} \* ${APPHOME}/webapps/${PORTDIRNAME}
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.2
log
@SVN rev 305329 on 2012-10-06 02:48:43Z by jgh

- adopt optionsNG
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.1
log
@Add new port: www/sventon

sventon is a free, open source, web client for browsing Subversion repositories.
It is powerful, straightforward to use, and super easy to install.

sventon is a pure Java application, all you need to run it is a Java SE 6
runtime and a Servlet 2.4/JSP 2.0 compliant webserver, such as Tomcat 6.0.

WWW: http://www.sventon.org/
@
text
@a0 4
# New ports collection makefile for:	sventon
# Date created:				22 May 2012
# Whom:					Jason Helfman <jgh@@FreeBSD.org>
#
d18 3
a20 1
OPTIONS=	TOMCAT6 "Enable Tomcat 6.x support"     on
d24 1
a24 1
.if defined(WITH_TOMCAT6)
@

