Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2012 11:24:11 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/173207: [PATCH] graphics/batik: Makefile changed, OptionsNG, take maintainership
Message-ID:  <20121030103302.CAB0B3AD@hub.freebsd.org>
Resent-Message-ID: <201210301040.q9UAe08V071016@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173207
>Category:       ports
>Synopsis:       [PATCH] graphics/batik: Makefile changed, OptionsNG, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 30 10:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:

- Take maintainership

Removed file(s):
- pkg-plist

Makefile changed:
+LICENSE=	AL2
+PORTDATA=	*
+PORTDOCS=
+.include <bsd.port.options.mk>
+post-install:
+.if ${PORT_OPTIONS:MDOCS}

Changed:
pkg-descr

Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

portlint -A
looks fine.

port test: clean

Build log

https://redports.org/buildarchive/20121029231916-30691/

>Fix:

--- batik-1.7_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/batik/Makefile ./Makefile
--- /usr/ports/graphics/batik/Makefile	2011-07-21 07:02:37.000000000 +0200
+++ ./Makefile	2012-10-30 00:16:34.000000000 +0100
@@ -7,14 +7,15 @@
 
 PORTNAME=	batik
 PORTVERSION=	1.7
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics java
-MASTER_SITES=	${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR=	xmlgraphics/${PORTNAME}
+MASTER_SITES=	APACHE/xmlgraphics/${PORTNAME}
 DISTNAME=	${PORTNAME}-src-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	SVG Toolkit
+MAINTAINER=	nemysis@gmx.ch
+COMMENT=	Java based toolkit SVG Toolkit
+
+LICENSE=	AL2
 
 USE_ZIP=	yes
 USE_JAVA=	1.5+
@@ -27,7 +28,18 @@
 INSTALL_WRKSRC=	${WRKSRC}/${PORTNAME}-${PORTVERSION}
 DATADIR=	${JAVASHAREDIR}/${PORTNAME}
 
+PORTDATA=	*
+PORTDOCS=	CHANGES NOTICE README
+
+.include <bsd.port.options.mk>
+
 do-install:
-	cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} . ${DATADIR}
+	cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR}
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/graphics/batik/pkg-descr ./pkg-descr
--- /usr/ports/graphics/batik/pkg-descr	2010-11-30 00:10:50.000000000 +0100
+++ ./pkg-descr	2012-10-30 00:41:07.000000000 +0100
@@ -1,5 +1,14 @@
-Batik is a Java technology based toolkit for applications or applets
-that want to use images in the Scalable Vector Graphics (SVG) format
-for various purposes, such as viewing, generation or manipulation.
+Batik is a Java based toolkit for applications which handle images in the
+Scalable Vector Graphics (SVG) format for various purposes, such as viewing,
+generation or manipulation.
+
+The project's ambition is to give developers a set of core modules which can
+be used together or individually to support specific SVG solutions.
+Examples of modules are an SVG parser, an SVG generator and an SVG DOM
+implementation. Another ambition of the Batik project is to make it highly
+extensible (for example, Batik allows the developer to handle custom SVG tags).
+Even though the goal of the project is to provide a set of core modules, one
+of the deliveries is a full fledged SVG Viewer implementation which validates
+the various modules and their inter-operability.
 
 WWW: http://xml.apache.org/batik/
diff -ruN --exclude=CVS /usr/ports/graphics/batik/pkg-plist ./pkg-plist
--- /usr/ports/graphics/batik/pkg-plist	2010-11-30 00:10:50.000000000 +0100
+++ ./pkg-plist	1970-01-01 01:00:00.000000000 +0100
@@ -1,36 +0,0 @@
-%%DATADIR%%/batik-rasterizer.jar
-%%DATADIR%%/batik-slideshow.jar
-%%DATADIR%%/batik-squiggle.jar
-%%DATADIR%%/batik-svgpp.jar
-%%DATADIR%%/batik-ttf2svg.jar
-%%DATADIR%%/batik.jar
-%%DATADIR%%/extensions/batik-rasterizer-ext.jar
-%%DATADIR%%/extensions/batik-squiggle-ext.jar
-%%DATADIR%%/lib/batik-all.jar
-%%DATADIR%%/lib/batik-anim.jar
-%%DATADIR%%/lib/batik-awt-util.jar
-%%DATADIR%%/lib/batik-bridge.jar
-%%DATADIR%%/lib/batik-codec.jar
-%%DATADIR%%/lib/batik-css.jar
-%%DATADIR%%/lib/batik-dom.jar
-%%DATADIR%%/lib/batik-ext.jar
-%%DATADIR%%/lib/batik-extension.jar
-%%DATADIR%%/lib/batik-gui-util.jar
-%%DATADIR%%/lib/batik-gvt.jar
-%%DATADIR%%/lib/batik-parser.jar
-%%DATADIR%%/lib/batik-script.jar
-%%DATADIR%%/lib/batik-svg-dom.jar
-%%DATADIR%%/lib/batik-svggen.jar
-%%DATADIR%%/lib/batik-swing.jar
-%%DATADIR%%/lib/batik-transcoder.jar
-%%DATADIR%%/lib/batik-util.jar
-%%DATADIR%%/lib/batik-xml.jar
-%%DATADIR%%/lib/js.jar
-%%DATADIR%%/lib/pdf-transcoder.jar
-%%DATADIR%%/lib/xalan-2.6.0.jar
-%%DATADIR%%/lib/xerces_2_5_0.jar
-%%DATADIR%%/lib/xml-apis-ext.jar
-%%DATADIR%%/lib/xml-apis.jar
-@dirrm %%DATADIR%%/lib
-@dirrm %%DATADIR%%/extensions
-@dirrm %%DATADIR%%
--- batik-1.7_3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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