freebsd-ports/www/jetty/Makefile
Ying-Chieh Liao 3fcb40579f upgrade to 4.0.2
PR:		39028
Submitted by:	maintainer
2002-06-08 19:13:34 +00:00

40 lines
1.0 KiB
Makefile

# New ports collection makefile for: Jetty
# Date created: 28 August 2000
# Whom: Stephane Legrand <stephane.legrand@bigfoot.com>
#
# $FreeBSD$
#
PORTNAME= jetty
PORTVERSION= 4.0.2
CATEGORIES= www java
MASTER_SITES= http://download.sourceforge.net/jetty/ \
ftp://jetty.mortbay.com/pub/
DISTNAME= Jetty-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= stephane.legrand@bigfoot.com
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jdk13
JAVAVM?= ${LOCALBASE}/bin/javavm
NO_BUILD= yes
PLIST_SUB= JETTY_VERSION=${PORTVERSION}
post-extract:
${FIND} ${WRKSRC} -name CVS -delete
${FIND} ${WRKSRC} -name .cvsignore -delete
do-install:
@${MKDIR} ${PREFIX}/share/java/${PORTNAME}-${PORTVERSION}
@(cd ${WRKSRC} && ${TAR} -c --exclude 'src/*' --exclude 'src1.4/*' -f - ./ ) \
| (cd ${PREFIX}/share/java/${PORTNAME}-${PORTVERSION} && ${TAR} --unlink -x -f -)
post-install:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGMESSAGE} \
| ${SED} 's|%%PORTVERSION%%|${PORTVERSION}|g'
.include <bsd.port.mk>