mirror of
https://git.freebsd.org/ports.git
synced 2025-05-22 03:45:17 -04:00
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
40 lines
1,018 B
Makefile
40 lines
1,018 B
Makefile
PORTNAME= xmlgraphics-commons
|
|
PORTVERSION= 2.6
|
|
DISTVERSIONSUFFIX= -bin
|
|
CATEGORIES= graphics textproc java
|
|
MASTER_SITES= APACHE/xmlgraphics/commons/binaries \
|
|
https://archive.apache.org/dist/xmlgraphics/commons/binaries/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Several reusable components used by Apache Batik and FOP
|
|
WWW= https://xmlgraphics.apache.org/commons/
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= java
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
PLIST_FILES= ${JAVAJARDIR}/${JARFILE_VER} \
|
|
${JAVAJARDIR}/${JARFILE}
|
|
PORTDOCS= *
|
|
|
|
JARFILE= ${PORTNAME}.jar
|
|
JARFILE_VER= ${PORTNAME}-${PORTVERSION}.jar
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/build/${JARFILE_VER} ${STAGEDIR}${JAVAJARDIR}
|
|
${LN} -sf ${JARFILE_VER} ${STAGEDIR}${JAVAJARDIR}/${JARFILE}
|
|
|
|
do-install-DOCS-on:
|
|
(cd ${WRKSRC}/javadocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} \
|
|
NOTICE README ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|