summaryrefslogtreecommitdiff
path: root/www/jakarta-servletapi/Makefile
blob: 4a1b2e8d9adf7364c02495b706696e3db269cd71 (plain)
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
# $NetBSD: Makefile,v 1.2 2001/03/29 00:19:34 jwise Exp $

DISTNAME=	jakarta-servletapi-3.2-src
PKGNAME=	jakarta-servletapi-3.2.1
CATEGORIES=	www
MASTER_SITES=	http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/src/

MAINTAINER=	jwise@netbsd.org
HOMEPAGE=	http://jakarta.apache.org/
COMMENT=	the Apache project's implementation of the JSP and Java Servlet APIs

DEPENDS+=	jakarta-ant-1.3:../../devel/jakarta-ant

USE_JAVA=	yes

MAKE_ENV+=	JAVA_HOME=${JAVA_HOME}
MAKEFILE=	build.xml

WRKSRC=		${WRKDIR}/${DISTNAME}

do-install:
	${INSTALL_DATA} ${WRKDIR}/dist/servletapi/lib/servlet.jar ${PREFIX}/lib/java
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/jakarta-servletapi
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/jakarta-servletapi/api
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/java/jakarta-servletapi
	${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/java/jakarta-servletapi
	${INSTALL_DATA} ${WRKDIR}/dist/servletapi/docs/api/* ${PREFIX}/share/doc/java/jakarta-servletapi/api

.include "../../mk/bsd.pkg.mk"
MAKE_PROGRAM=	${LOCALBASE}/bin/ant