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: |