1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/www/jetty/Makefile
Greg Lewis 5fbeb94360 . Update to 4.2.11
. Change USE_JAVA to 1.2+, which should work according to the Jetty docs.
. Set permissions on the main executable shell script appropriately and
  create a symbolic link to it in ${PREFIX}/sbin so its in ${PATH}.
. Recommend JDK 1.4.1 rather than 1.3.1 for running Jetty.
2003-07-20 01:35:19 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: Jetty
# Date created: 28 August 2000
# Whom: Stephane Legrand <stephane@freebsd-fr.org>
#
# $FreeBSD$
#
PORTNAME= jetty
PORTVERSION= 4.2.11
CATEGORIES= www java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://jetty.mortbay.com/pub/
MASTER_SITE_SUBDIR= jetty
DISTNAME= Jetty-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Extensible Java HTTP Server
USE_JAVA= 1.2+
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/*' -f - ./ ) \
| (cd ${PREFIX}/share/java/${PORTNAME}-${PORTVERSION} && ${TAR} --unlink -x -f -)
post-install:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGMESSAGE} \
| ${SED} 's|%%PORTVERSION%%|${PORTVERSION}|g'
@${CHMOD} a+rx \
${PREFIX}/share/java/${PORTNAME}-${PORTVERSION}/bin/jetty.sh
@${LN} -sf \
${PREFIX}/share/java/${PORTNAME}-${PORTVERSION}/bin/jetty.sh \
${PREFIX}/sbin/jetty
.include <bsd.port.mk>