aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/batik
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2012-11-04 18:54:18 +0800
committerjhale <jhale@FreeBSD.org>2012-11-04 18:54:18 +0800
commit873edc90649f736728be60ac013c47791c4e78d6 (patch)
treebdd8d32c8cdf1b1a89124bd97c5ec6718aa67852 /graphics/batik
parentf15c65fb341c48aa189feca54c0d3478cdeb2be9 (diff)
downloadfreebsd-ports-gnome-873edc90649f736728be60ac013c47791c4e78d6.tar.gz
freebsd-ports-gnome-873edc90649f736728be60ac013c47791c4e78d6.tar.zst
freebsd-ports-gnome-873edc90649f736728be60ac013c47791c4e78d6.zip
- Add LICENSE (AL2)
- Add PORTDOCS - Update COMMENT - Update pkg-descr - Trim Makefile header - Bump PORTREVISION since installed files will change - Pass maintainership to submitter PR: ports/173207 Submitted by: nemysis <nemysis@gmx.ch> Approved by: makc, avilla (mentors, implicit) Feature safe: yes
Diffstat (limited to 'graphics/batik')
-rw-r--r--graphics/batik/Makefile27
-rw-r--r--graphics/batik/pkg-descr6
2 files changed, 20 insertions, 13 deletions
diff --git a/graphics/batik/Makefile b/graphics/batik/Makefile
index 33562d44eb9f..4de5f3e94f3d 100644
--- a/graphics/batik/Makefile
+++ b/graphics/batik/Makefile
@@ -1,20 +1,17 @@
-# Ports collection makefile for: batik
-# Date created: Feb 25, 2004
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
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 SVG toolkit
+
+LICENSE= AL2
USE_ZIP= yes
USE_JAVA= 1.5+
@@ -27,7 +24,17 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME}-${PORTVERSION}
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
+PORTDOCS= CHANGES NOTICE README
+
+.include <bsd.port.options.mk>
+
do-install:
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 --git a/graphics/batik/pkg-descr b/graphics/batik/pkg-descr
index 1bcab01b58d3..61d5c9aa16e5 100644
--- a/graphics/batik/pkg-descr
+++ b/graphics/batik/pkg-descr
@@ -1,5 +1,5 @@
-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 that handle images
+in the Scalable Vector Graphics (SVG) format for various purposes,
+such as viewing, generation, or manipulation.
WWW: http://xml.apache.org/batik/