aboutsummaryrefslogtreecommitdiff
path: root/graphics/batik
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2012-11-04 10:54:18 +0000
committerJason E. Hale <jhale@FreeBSD.org>2012-11-04 10:54:18 +0000
commitbe076567f06222877264e8dcb0837fe490ffef1a (patch)
treebdd8d32c8cdf1b1a89124bd97c5ec6718aa67852 /graphics/batik
parent0ade18294836c9e6e52407be702ff6bb1729394a (diff)
downloadports-be076567f06222877264e8dcb0837fe490ffef1a.tar.gz
ports-be076567f06222877264e8dcb0837fe490ffef1a.zip
Notes
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/