diff options
author | dirk <dirk@FreeBSD.org> | 2001-05-21 16:05:38 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2001-05-21 16:05:38 +0800 |
commit | 496fbebd47aec1b1960c1ffbbb502f7b13ef87dd (patch) | |
tree | 00d3c05874f7b9dfd56a60f81cd7583e72ac353b /www/jakarta-tomcat3/Makefile | |
parent | 8b1d094d3d21ec3e3856a1bb0bd95d8ba239b5cc (diff) | |
download | freebsd-ports-gnome-496fbebd47aec1b1960c1ffbbb502f7b13ef87dd.tar.gz freebsd-ports-gnome-496fbebd47aec1b1960c1ffbbb502f7b13ef87dd.tar.zst freebsd-ports-gnome-496fbebd47aec1b1960c1ffbbb502f7b13ef87dd.zip |
- provide startup script
- log tomcat messages to a file (logs/tomcat.log)
- fix plist
Diffstat (limited to 'www/jakarta-tomcat3/Makefile')
-rw-r--r-- | www/jakarta-tomcat3/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/www/jakarta-tomcat3/Makefile b/www/jakarta-tomcat3/Makefile index efecaf7bd79e..efda6536dafc 100644 --- a/www/jakarta-tomcat3/Makefile +++ b/www/jakarta-tomcat3/Makefile @@ -7,7 +7,7 @@ PORTNAME= jakarta-tomcat PORTVERSION= 3.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://jakarta.apache.org/builds/jakarta-tomcat/release/v${PORTVERSION}/bin/ DIST_SUBDIR= jakarta/tomcat/${PORTVERSION} @@ -20,8 +20,13 @@ RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk NO_BUILD= yes do-install: - /usr/bin/perl -i -pe "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/conf/workers.properties + @/usr/bin/perl -i -pe "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/conf/workers.properties @${LN} -fs ${WRKSRC} ${WRKDIR}/tomcat @pinstall -v -d ${WRKDIR} + @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/tomcat.sh > ${WRKDIR}/tomcat.sh + @${INSTALL_SCRIPT} ${WRKDIR}/tomcat.sh /usr/local/etc/rc.d + +post-install: + @${ECHO} "etc/rc.d/tomcat.sh" >> ${TMPPLIST} .include <bsd.port.mk> |