mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
931fdeebf8
directory. It is not necessary o Fix PLIST o Bump PORTREVISION
47 lines
1.1 KiB
Makefile
47 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
|
|
DISTVERSION= 5.1.11RC0
|
|
PORTREVISION= 1
|
|
CATEGORIES= www java
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= jetty
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}-all
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Extensible Java HTTP Server
|
|
|
|
USE_ZIP= yes
|
|
JAVA_BUILD= jdk
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.4+
|
|
USE_ANT= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
|
|
|
PLIST_SUB= JETTY_VERSION=${PORTVERSION}
|
|
|
|
post-extract:
|
|
${FIND} ${WRKSRC} -name CVS -delete
|
|
${FIND} ${WRKSRC} -name .cvsignore -delete
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/share/java/${PORTNAME}
|
|
@(cd ${WRKSRC} && ${TAR} -c --exclude 'src/*' -f - ./ ) \
|
|
| (cd ${PREFIX}/share/java/${PORTNAME} && ${TAR} --unlink -x -f -)
|
|
|
|
post-install:
|
|
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGMESSAGE} \
|
|
| ${SED} 's|-%%PORTVERSION%%||g'
|
|
@${CHMOD} a+rx \
|
|
${PREFIX}/share/java/${PORTNAME}/extra/unix/bin/jetty.sh
|
|
@${LN} -sf \
|
|
${PREFIX}/share/java/${PORTNAME}/extra/unix/bin/jetty.sh \
|
|
${PREFIX}/sbin/jetty
|
|
|
|
.include <bsd.port.mk>
|