Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2019 19:42:25 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r509549 - head/graphics/xmlgraphics-commons
Message-ID:  <201908211942.x7LJgPPG013891@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Wed Aug 21 19:42:25 2019
New Revision: 509549
URL: https://svnweb.freebsd.org/changeset/ports/509549

Log:
  graphics/xmlgraphics-commons:
  - Update to 2.3
  - Switch to the binary distribution since building from the sources
    requires maven

Modified:
  head/graphics/xmlgraphics-commons/Makefile
  head/graphics/xmlgraphics-commons/distinfo

Modified: head/graphics/xmlgraphics-commons/Makefile
==============================================================================
--- head/graphics/xmlgraphics-commons/Makefile	Wed Aug 21 19:41:37 2019	(r509548)
+++ head/graphics/xmlgraphics-commons/Makefile	Wed Aug 21 19:42:25 2019	(r509549)
@@ -2,10 +2,10 @@
 # $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
@@ -13,18 +13,29 @@ COMMENT=	Several reusable components used by Apache Ba
 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 <bsd.port.mk>

Modified: head/graphics/xmlgraphics-commons/distinfo
==============================================================================
--- head/graphics/xmlgraphics-commons/distinfo	Wed Aug 21 19:41:37 2019	(r509548)
+++ head/graphics/xmlgraphics-commons/distinfo	Wed Aug 21 19:42:25 2019	(r509549)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908211942.x7LJgPPG013891>