2000-09-02 14:42:20 +00:00
|
|
|
# New ports collection makefile for: Jetty
|
|
|
|
# Date created: 28 August 2000
|
|
|
|
# Whom: Stephane Legrand <stephane.legrand@bigfoot.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jetty
|
2001-02-11 02:52:49 +00:00
|
|
|
PORTVERSION= 2.4.9
|
2000-09-02 14:42:20 +00:00
|
|
|
CATEGORIES= www java
|
|
|
|
MASTER_SITES= http://download.sourceforge.net/jetty/ \
|
|
|
|
ftp://jetty.mortbay.com/pub/
|
|
|
|
DISTNAME= Jetty-${PORTVERSION}
|
2001-02-11 02:52:49 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
2000-09-02 14:42:20 +00:00
|
|
|
|
|
|
|
MAINTAINER= stephane.legrand@bigfoot.com
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
|
|
|
|
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre
|
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
JAVAVM?= ${LOCALBASE}/bin/javavm
|
2000-09-02 14:42:20 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2001-02-11 02:52:49 +00:00
|
|
|
post-extract:
|
|
|
|
find ${WRKSRC} -name CVS | xargs ${RM} -rf
|
|
|
|
find ${WRKSRC} -name .cvsignore | xargs ${RM} -rf
|
|
|
|
|
2000-09-02 14:42:20 +00:00
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/java/${PORTNAME}
|
|
|
|
@(cd ${WRKSRC} && ${TAR} -c -f - [^src]* ) \
|
|
|
|
| (cd ${PREFIX}/share/java/${PORTNAME} && ${TAR} --unlink -x -f -)
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|