blob: 765a7f5f62a3c3e6c9ebe0f776ffca8de322125c (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# $FreeBSD$
PORTNAME= sventon
PORTVERSION= 2.5.1
CATEGORIES= www java
MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin-svnkit
MAINTAINER= ports@FreeBSD.org
COMMENT= Web client for browsing Subversion repositories
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/gpl.txt
BROKEN= Unfetchable (google code has gone away)
USES= zip
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:www/tomcat6
RUN_DEPENDS+= ${APPHOME}/bin/bootstrap.jar: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} ${STAGEDIR}${APPHOME}/webapps/${PORTDIRNAME}
cd ${WRKDIR}/${PORTDIRNAME} && ${COPYTREE_SHARE} \* ${STAGEDIR}${APPHOME}/webapps/${PORTDIRNAME}
.include <bsd.port.mk>
|