Index: head/graphics/xmlgraphics-commons/Makefile =================================================================== --- head/graphics/xmlgraphics-commons/Makefile (revision 509548) +++ head/graphics/xmlgraphics-commons/Makefile (revision 509549) @@ -1,30 +1,41 @@ # Created by: rfarmer@predatorlabs.net # $FreeBSD$ PORTNAME= xmlgraphics-commons -PORTVERSION= 1.5 -DISTVERSIONSUFFIX= -src +PORTVERSION= 2.3 +DISTVERSIONSUFFIX= -bin CATEGORIES= graphics textproc java -MASTER_SITES= APACHE/xmlgraphics/commons/source +MASTER_SITES= APACHE/xmlgraphics/commons/binaries MAINTAINER= makc@FreeBSD.org COMMENT= Several reusable components used by Apache Batik and FOP LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_JAVA= 1.6+ -USE_JAVA= yes -JAVA_VERSION= 1.6+ -USE_ANT= yes NO_ARCH= yes +NO_BUILD= yes -PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar +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: - @${MKDIR} ${STAGEDIR}${JAVAJARDIR} - ${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}-${PORTVERSION}.jar \ - ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar + ${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 Index: head/graphics/xmlgraphics-commons/distinfo =================================================================== --- head/graphics/xmlgraphics-commons/distinfo (revision 509548) +++ head/graphics/xmlgraphics-commons/distinfo (revision 509549) @@ -1,2 +1,3 @@ -SHA256 (xmlgraphics-commons-1.5-src.tar.gz) = f73322f1fafdcf5391d0411a377ac6c566e17536daf64b29f1370d6e718d0867 -SIZE (xmlgraphics-commons-1.5-src.tar.gz) = 2597097 +TIMESTAMP = 1566386836 +SHA256 (xmlgraphics-commons-2.3-bin.tar.gz) = 7c6817800eab92f92054ea4bed57aba7dafb9229adf5f82b955449eb51f9c1f4 +SIZE (xmlgraphics-commons-2.3-bin.tar.gz) = 1545178