summaryrefslogtreecommitdiff
path: root/www/tomcat41/Makefile
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-05-21 08:05:38 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-05-21 08:05:38 +0000
commit71e52831aaf469d3e4c0b94c6ff56e7146372e5d (patch)
tree9129ce42c04544d5bf62edeef5d9616774081565 /www/tomcat41/Makefile
parentUpdate to 1.10. (diff)
- provide startup script
- log tomcat messages to a file (logs/tomcat.log) - fix plist
Notes
Notes: svn path=/head/; revision=42842
Diffstat (limited to 'www/tomcat41/Makefile')
-rw-r--r--www/tomcat41/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/tomcat41/Makefile b/www/tomcat41/Makefile
index efecaf7bd79e..efda6536dafc 100644
--- a/www/tomcat41/Makefile
+++ b/www/tomcat41/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>