aboutsummaryrefslogtreecommitdiffstats
path: root/www/servlet-api/Makefile
blob: b7dc4ee4447421402a5faf916bc83a3c81f126d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:    Servlet API
# Date created:             October 13, 2005
# Whom:                 Herve Quiroz <hq@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   servlet-api
PORTVERSION=    2.5
PORTREVISION=   3
CATEGORIES= www java
MASTER_SITES=   http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/servlet/servlet-api/2.5/ \
        http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.5/
EXTRACT_SUFX=   .jar
EXTRACT_ONLY=   # empty

MAINTAINER= nemoliu@FreeBSD.org
COMMENT=    The Servlet API

USE_JAVA=   yes
JAVA_VERSION=   1.5+
NO_BUILD=   yes

PLIST_FILES=    %%JAVAJARDIR%%/${PORTNAME}.jar

do-install:
    @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
    @${INSTALL_DATA} ${_DISTDIR}/${DISTFILES} ${JAVAJARDIR}/${PORTNAME}.jar
    @${ECHO_MSG} " [ DONE ]"

.include <bsd.port.mk>