openbsd-ports/devel/jakarta-servletapi/Makefile

37 lines
939 B
Makefile

# $OpenBSD: Makefile,v 1.12 2007/01/16 02:48:02 kurt Exp $
COMMENT= "implementation of the JSP and Java Servlet APIs"
V= 3.2.4
DISTNAME= jakarta-servletapi-${V}
PKGNAME= ${DISTNAME}p3
CATEGORIES= www devel
MASTER_SITES= http://archive.apache.org/dist/jakarta/tomcat-3/archive/v${V}/bin/
EXTRACT_SUFX= .zip
HOMEPAGE= http://jakarta.apache.org/
MAINTAINER= Reinhard J. Sammer <reinhard@openbsd.org>
# Apache Software License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= java
MODJAVA_VER= 1.3+
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>