aboutsummaryrefslogtreecommitdiffstats
path: root/www/servlet-api/Makefile
blob: c13beb9bf4d11c8d29595b39c8e99e6a9105cb36 (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
# 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
CATEGORIES= www java
MASTER_SITES=   http://mirrors.ibiblio.org/pub/mirrors/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>