openbsd-ports/devel/jakarta-servletapi/Makefile
2002-03-15 10:56:05 +00:00

38 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2002/03/15 10:56:05 reinhard Exp $
COMMENT= "implementation of the JSP and Java Servlet APIs"
V= 3.2.4
DISTNAME= jakarta-servletapi-${V}
CATEGORIES= www devel
NEED_VERSION= 1.510
MASTER_SITES= http://jakarta.apache.org/builds/jakarta-tomcat/release/v${V}/bin/
EXTRACT_SUFX= .zip
HOMEPAGE= http://jakarta.apache.org/
MAINTAINER= Reinhard J. Sammer <reinhard@openbsd.org>
JDK_VERSION= 1.2-blackdown
JAVA_HOME= ${LOCALBASE}/jdk${JDK_VERSION}
RUN_DEPENDS= :jdk-blackdown-*:devel/jdk/${JDK_VERSION}
# Apache Software License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
NO_BUILD= Yes
NO_REGRESS= Yes
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>