Muhammad Moinur Rahman 0835676e36
Mk/**java.mk: Convert bsd.java.mk to USES
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
2024-12-31 09:57:55 +01:00

25 lines
607 B
Makefile

PORTNAME= xml-commons
DISTVERSION= 1.4.01
CATEGORIES= textproc java
MASTER_SITES= APACHE/xerces/${PORTNAME}/binaries
DISTNAME= ${PORTNAME}-external-${DISTVERSION}
EXTRACT_SUFX= -bin.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Provides common XML code for Apache projects
WWW= https://xerces.apache.org/xml-commons/
USES= java
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= ${JAVAJARDIR}/xml-apis-ext.jar \
${JAVAJARDIR}/xml-apis.jar
do-install:
${INSTALL_DATA} ${WRKSRC}/xml-apis-ext.jar ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/xml-apis.jar ${STAGEDIR}${JAVAJARDIR}
.include <bsd.port.mk>