blob: bf6079c9f277c2c59121b13e6157f958acd52b9b (
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
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.4 2001/08/11 22:05:22 jwise Exp $
DISTNAME= jakarta-servletapi-3.2.3-src
PKGNAME= jakarta-servletapi-3.2.3
CATEGORIES= www
MASTER_SITES= http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.3/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
PLIST_SRC= ${PKGDIR}/PLIST ${WRKDIR}/PLIST.javadoc
WRKSRC= ${WRKDIR}/${DISTNAME}
post-build:
rm -f ${WRKDIR}/PLIST.javadoc
cd ${WRKDIR}/dist/servletapi/docs ; ${FIND} * -type f -print | sort | ${SED} 's:^:share/doc/java/jakarta-servletapi/:' > ${WRKDIR}/PLIST.javadoc
cd ${WRKDIR}/dist/servletapi/docs ; ${FIND} * -type d -print | sort -r | ${SED} 's:^:@dirrm share/doc/java/jakarta-servletapi/:' >> ${WRKDIR}/PLIST.javadoc
echo '@dirrm share/doc/java/jakarta-servletapi' >> ${WRKDIR}/PLIST.javadoc
do-install:
${INSTALL_DATA} ${WRKDIR}/dist/servletapi/lib/servlet.jar ${PREFIX}/lib/java
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/jakarta-servletapi
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/java/jakarta-servletapi
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/java/jakarta-servletapi
cd ${WRKDIR}/dist/servletapi/docs ; ${GTAR} pcf - . | ( cd ${PREFIX}/share/doc/java/jakarta-servletapi ; ${GTAR} pvxf - )
.include "../../mk/bsd.pkg.mk"
MAKE_PROGRAM= ${LOCALBASE}/bin/ant
|