diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2005-03-21 00:08:05 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2005-03-21 00:08:05 +0000 |
commit | 9529a8acdc1ec2ca2d6f8c62df08b568226ee486 (patch) | |
tree | bac08680d06b0ac07518e6c5d607cd41b8c039ec /www/jakarta-tomcat4/Makefile | |
parent | 7cd341218d611966bc3af58ebea46a62b5179f15 (diff) | |
download | ports-9529a8acdc1ec2ca2d6f8c62df08b568226ee486.tar.gz ports-9529a8acdc1ec2ca2d6f8c62df08b568226ee486.zip |
Notes
Diffstat (limited to 'www/jakarta-tomcat4/Makefile')
-rw-r--r-- | www/jakarta-tomcat4/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/www/jakarta-tomcat4/Makefile b/www/jakarta-tomcat4/Makefile index f7816d4e703c..6a6ec0b2eb92 100644 --- a/www/jakarta-tomcat4/Makefile +++ b/www/jakarta-tomcat4/Makefile @@ -26,7 +26,6 @@ MAN1= ${CONTROL_SCRIPT_NAME}.1 .endif MAJOR_VER= ${PORTVERSION:R:R} -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} APP_HOME?= ${PREFIX}/${PKGBASE}${PORTVERSION:R} LOG_DIR= ${APP_HOME}/logs PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///} WWWOWN=${USER} WWWGRP=${GROUP} @@ -53,7 +52,7 @@ PID_FILE= /var/run/${APP_SHORTNAME}.pid REPLACE_FILES= ${FILESDIR}/daemonctl.c \ ${FILESDIR}/daemonctl.1 \ ${FILESDIR}/startup.sh \ - ${WRKSRC}/conf/server.xml + conf/server.xml JAR_FILE= bin/bootstrap.jar CONF_EXT= sample PLIST_SUB+= CONF_EXT=${CONF_EXT} @@ -85,7 +84,7 @@ post-patch: .for f in ${REPLACE_FILES} @${ECHO_MSG} -n ">> Customizing `basename $f`..." - @${SED} \ + @(cd ${WRKSRC} && ${SED} \ -e "/%%AJP_1_3_PORT%%/s//${AJP_1_3_PORT}/g" \ -e "/%%APP_HOME%%/s//${APP_HOME:S/\//\\\//g}/g" \ -e "/%%APP_SHORTNAME%%/s//${APP_SHORTNAME}/g" \ @@ -111,7 +110,7 @@ post-patch: -e "/%%STOP_TIMEOUT%%/s//${STOP_TIMEOUT}/g" \ -e "/%%USER%%/s//${USER}/g" \ -e "/%%WARP_PORT%%/s//${WARP_PORT}/g" \ - $f > ${WRKDIR}/`basename $f` + $f > ${WRKDIR}/`basename $f`) @${ECHO_MSG} " [ DONE ]" .endfor |