diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-09-02 14:42:20 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-09-02 14:42:20 +0000 |
commit | 04f68f30be848f174120bbb05e1ff467bc12af7f (patch) | |
tree | a5c7e1bcf7fc56fa504260f2de0717926873591b /www/jetty/Makefile | |
parent | 584691e0d9945021f9df4989354067cc20d53b48 (diff) | |
download | FreeBSD-ports-04f68f30be848f174120bbb05e1ff467bc12af7f.zip FreeBSD-ports-04f68f30be848f174120bbb05e1ff467bc12af7f.tar.gz |
Add jetty - a 100% pure Java WWW server.
PR: 20965
Submitted by: Stephane Legrand <stephane.legrand@bigfoot.com>
Diffstat (limited to 'www/jetty/Makefile')
-rw-r--r-- | www/jetty/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/www/jetty/Makefile b/www/jetty/Makefile new file mode 100644 index 0000000..5f104e4 --- /dev/null +++ b/www/jetty/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: Jetty +# Date created: 28 August 2000 +# Whom: Stephane Legrand <stephane.legrand@bigfoot.com> +# +# $FreeBSD$ +# + +PORTNAME= jetty +PORTVERSION= 2.4.6 +CATEGORIES= www java +MASTER_SITES= http://download.sourceforge.net/jetty/ \ + ftp://jetty.mortbay.com/pub/ +DISTNAME= Jetty-${PORTVERSION} + +MAINTAINER= stephane.legrand@bigfoot.com + +RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \ + ${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre + +JAVAVM?= ${LOCALBASE}/bin/javavm +NO_BUILD= yes + +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> |