2000-10-21 16:44:26 +02:00
|
|
|
# New ports collection makefile for: jakarta-tomcat
|
|
|
|
# Date created: 20 Oct 2000
|
|
|
|
# Whom: des
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jakarta-tomcat
|
2001-04-08 15:09:03 +02:00
|
|
|
PORTVERSION= 3.2.1
|
2001-05-21 10:05:38 +02:00
|
|
|
PORTREVISION= 2
|
2000-10-21 16:44:26 +02:00
|
|
|
CATEGORIES= www
|
2001-04-08 15:09:03 +02:00
|
|
|
MASTER_SITES= http://jakarta.apache.org/builds/jakarta-tomcat/release/v${PORTVERSION}/bin/
|
2000-10-21 16:44:26 +02:00
|
|
|
DIST_SUBDIR= jakarta/tomcat/${PORTVERSION}
|
|
|
|
|
2001-04-08 14:00:16 +02:00
|
|
|
MAINTAINER= dirk@FreeBSD.org
|
2000-10-21 16:44:26 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= pinstall:${PORTSDIR}/devel/pinstall
|
2000-11-14 01:07:47 +01:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk
|
2000-10-21 16:44:26 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
do-install:
|
2001-05-21 10:05:38 +02:00
|
|
|
@/usr/bin/perl -i -pe "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/conf/workers.properties
|
2000-10-21 16:44:26 +02:00
|
|
|
@${LN} -fs ${WRKSRC} ${WRKDIR}/tomcat
|
|
|
|
@pinstall -v -d ${WRKDIR}
|
2001-05-21 10:05:38 +02:00
|
|
|
@${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}
|
2000-10-21 16:44:26 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|