blob: ab79b2b3e6be3e12e4bcd97794a1ef6149a76bb4 (
plain)
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
52
53
|
# $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)
DEPRECATED= Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE= 2017-04-30
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}/${PORTNAME}
@${TAR} xf ${WRKSRC}/svn.war -C ${WRKDIR}/${PORTNAME}
do-install:
${INSTALL} -d -o ${WWWOWN} -g ${WWWGRP} ${STAGEDIR}${APPHOME}/webapps/${PORTNAME}
cd ${WRKDIR}/${PORTNAME} && ${COPYTREE_SHARE} \* ${STAGEDIR}${APPHOME}/webapps/${PORTNAME}
.include <bsd.port.mk>
|