2002-12-29 15:19:09 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2002/12/29 20:19:10 fgsch Exp $
|
2001-06-17 08:17:01 -04:00
|
|
|
|
|
|
|
COMMENT= "implementation of the JSP and Java Servlet APIs"
|
|
|
|
|
2002-03-15 05:56:05 -05:00
|
|
|
V= 3.2.4
|
2001-11-20 05:10:22 -05:00
|
|
|
DISTNAME= jakarta-servletapi-${V}
|
2001-06-17 08:17:01 -04:00
|
|
|
CATEGORIES= www devel
|
2001-11-20 05:10:22 -05:00
|
|
|
MASTER_SITES= http://jakarta.apache.org/builds/jakarta-tomcat/release/v${V}/bin/
|
|
|
|
EXTRACT_SUFX= .zip
|
2001-06-17 08:17:01 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://jakarta.apache.org/
|
|
|
|
|
|
|
|
MAINTAINER= Reinhard J. Sammer <reinhard@openbsd.org>
|
|
|
|
|
2001-11-20 05:10:22 -05:00
|
|
|
JDK_VERSION= 1.2-blackdown
|
|
|
|
JAVA_HOME= ${LOCALBASE}/jdk${JDK_VERSION}
|
|
|
|
RUN_DEPENDS= :jdk-blackdown-*:devel/jdk/${JDK_VERSION}
|
2001-06-17 08:17:01 -04:00
|
|
|
|
|
|
|
# Apache Software License
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
2001-11-20 05:10:22 -05:00
|
|
|
NO_REGRESS= Yes
|
2001-06-17 08:17:01 -04:00
|
|
|
|
|
|
|
SERVLETAPIDOCS= ${PREFIX}/share/doc/java/jakarta-servletapi
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/java/servletapi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/servlet.jar ${PREFIX}/lib/java/servletapi
|
|
|
|
${INSTALL_DATA_DIR} ${SERVLETAPIDOCS}/api
|
|
|
|
@cd ${WRKDIST}/docs/api && tar cf - . | (cd ${SERVLETAPIDOCS} && tar -xf -)
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|