View | Details | Raw Unified | Return to bug 57234
Collapse All | Expand All

(-)Makefile (-3 / +3 lines)
Lines 7-15 Link Here
7
7
8
PORTNAME=	jakarta-tomcat
8
PORTNAME=	jakarta-tomcat
9
PORTVERSION=	5.0.12
9
PORTVERSION=	5.0.12
10
PORTREVISION=	1
10
CATEGORIES=	www java
11
CATEGORIES=	www java
11
MASTER_SITES=	http://www.apache.org/dist/jakarta/tomcat-5/v${PORTVERSION}-beta/bin/ \
12
MASTER_SITES=	http://www.apache.org/dist/jakarta/tomcat-5/v${PORTVERSION}-beta/bin/ \
12
		http://apache.lemon4ssc.org/dist/jakarta/tomcat-5/v{PORTVERSION}-beta/bin \
13
		http://apache.lemon4ssc.org/dist/jakarta/tomcat-5/v{PORTVERSION}-beta/bin/ \
13
		http://distfiles.coredump.cn/
14
		http://distfiles.coredump.cn/
14
15
15
MAINTAINER=	liukang@bjpu.edu.cn
16
MAINTAINER=	liukang@bjpu.edu.cn
Lines 22-28 Link Here
22
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
23
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
23
APP_HOME?=	${PREFIX}/${PKGBASE}${PORTVERSION:R}
24
APP_HOME?=	${PREFIX}/${PKGBASE}${PORTVERSION:R}
24
LOG_DIR=	${APP_HOME}/logs
25
LOG_DIR=	${APP_HOME}/logs
25
PLIST_SUB+=	T=${APP_HOME:S/^${PREFIX}\///}
26
APP_TITLE=	Jakarta Tomcat
26
APP_TITLE=	Jakarta Tomcat
27
APP_SHORTNAME=	tomcat${MAJOR_VER:S/.//}
27
APP_SHORTNAME=	tomcat${MAJOR_VER:S/.//}
28
CONTROL_SCRIPT_NAME=	${APP_SHORTNAME}ctl
28
CONTROL_SCRIPT_NAME=	${APP_SHORTNAME}ctl
Lines 49-55 Link Here
49
		${WRKSRC}/conf/server.xml
49
		${WRKSRC}/conf/server.xml
50
JAR_FILE=	bin/bootstrap.jar
50
JAR_FILE=	bin/bootstrap.jar
51
WRKDIR?=	${WRKDIRPREFIX}${.CURDIR}/work
51
WRKDIR?=	${WRKDIRPREFIX}${.CURDIR}/work
52
52
PLIST_SUB+=     T=${APP_HOME:S/^${PREFIX}\///} WWWOWN=${USER} WWWGRP=${GROUP}
53
.include <bsd.port.pre.mk>
53
.include <bsd.port.pre.mk>
54
54
55
pre-patch:
55
pre-patch:
(-)pkg-plist (+2 lines)
Lines 1684-1689 Link Here
1684
%%T%%/webapps/tomcat-docs/ssl-howto.html
1684
%%T%%/webapps/tomcat-docs/ssl-howto.html
1685
%%T%%/webapps/tomcat-docs/status.html
1685
%%T%%/webapps/tomcat-docs/status.html
1686
@exec mkdir %D/%%T%%/work || true
1686
@exec mkdir %D/%%T%%/work || true
1687
@exec mkdir %D/%%T%%/common/classes ||true
1688
@exec chown -R %%WWWOWN%%:%%WWWGRP%% /usr/local/jakarta-tomcat5.0
1687
@dirrm %%T%%/work
1689
@dirrm %%T%%/work
1688
@dirrm %%T%%/webapps/tomcat-docs/servletapi/resources
1690
@dirrm %%T%%/webapps/tomcat-docs/servletapi/resources
1689
@dirrm %%T%%/webapps/tomcat-docs/servletapi/javax/servlet/http/class-use
1691
@dirrm %%T%%/webapps/tomcat-docs/servletapi/javax/servlet/http/class-use

Return to bug 57234