The following features have been added or changed: - Instead of USE_JAVA use USES=java. This defaults to USES=java:build,run if NO_BUILD is undefined. Else it defaults to USES=java:run - Instead of USE_ANT=yes use USES=java:ant which also implies USES=java:build - Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or extract - Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply build or run - Instead of JAVA_RUN=yes use USES=java:run does not imply extract or build - Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version> Approved by: mat (portmgr), glewis Differential Revision: https://reviews.freebsd.org/D48201
24 lines
490 B
Makefile
24 lines
490 B
Makefile
PORTNAME= servlet-api
|
|
PORTVERSION= 2.5
|
|
PORTREVISION= 3
|
|
CATEGORIES= www java
|
|
MASTER_SITES= https://repo1.maven.org/maven2/javax/servlet/servlet-api/2.5/
|
|
EXTRACT_SUFX= .jar
|
|
EXTRACT_ONLY= # empty
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= The Servlet API
|
|
WWW= http://java.sun.com/products/servlet/
|
|
|
|
USES= java
|
|
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${_DISTDIR}/${DISTFILES} \
|
|
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
|
|
|
.include <bsd.port.mk>
|