aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-01 15:44:49 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-01 15:44:49 +0000
commit1d8b589ae590a8a2cd87319890cdbc25556f42fd (patch)
tree5e3d804487c1536bd52e8bfa0201d8eef1b33d4b /graphics
parent15649f5bb0e2185abeb63d76368179e59bcfccb6 (diff)
downloadports-1d8b589ae590a8a2cd87319890cdbc25556f42fd.tar.gz
ports-1d8b589ae590a8a2cd87319890cdbc25556f42fd.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/p5-Image-Base-SVG/Makefile31
-rw-r--r--graphics/p5-Image-Base-SVG/distinfo2
-rw-r--r--graphics/p5-Image-Base-SVG/pkg-descr17
-rw-r--r--graphics/p5-Image-Base-SVG/pkg-plist7
5 files changed, 58 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index d07500344cb0..6d75f6622c8f 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -631,6 +631,7 @@
SUBDIR += p5-Graphics-Primitive
SUBDIR += p5-Graphics-Primitive-Driver-Cairo
SUBDIR += p5-Image-Base
+ SUBDIR += p5-Image-Base-SVG
SUBDIR += p5-Image-Caa
SUBDIR += p5-Image-Compare
SUBDIR += p5-Image-ExifTool
diff --git a/graphics/p5-Image-Base-SVG/Makefile b/graphics/p5-Image-Base-SVG/Makefile
new file mode 100644
index 000000000000..7fa4e2599ee4
--- /dev/null
+++ b/graphics/p5-Image-Base-SVG/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: p5-Image-Base-SVG
+# Date created: 2011-09-29
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Image-Base-SVG
+PORTVERSION= 4
+CATEGORIES= graphics perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= SVG image file output
+
+BUILD_DEPENDS= p5-Image-Base>=0:${PORTSDIR}/graphics/p5-Image-Base \
+ p5-SVG>=2.38:${PORTSDIR}/textproc/p5-SVG \
+ p5-SVG-Parser>=0:${PORTSDIR}/textproc/p5-SVG-Parser
+RUN_DEPENDS= p5-Image-Base>=0:${PORTSDIR}/graphics/p5-Image-Base \
+ p5-SVG>=2.38:${PORTSDIR}/textproc/p5-SVG \
+ p5-SVG-Parser>=0:${PORTSDIR}/textproc/p5-SVG-Parser
+
+PERL_CONFIGURE= yes
+
+MAN3= Image::Base::SVG.3
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|Image-Base-SVG|Image::Base::SVG|g' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/graphics/p5-Image-Base-SVG/distinfo b/graphics/p5-Image-Base-SVG/distinfo
new file mode 100644
index 000000000000..bb79748f9947
--- /dev/null
+++ b/graphics/p5-Image-Base-SVG/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Image-Base-SVG-4.tar.gz) = 6173adaeeb50835f5e8bd63823e6acef8eb2f0514ca406f70cbeb9e366138164
+SIZE (Image-Base-SVG-4.tar.gz) = 36830
diff --git a/graphics/p5-Image-Base-SVG/pkg-descr b/graphics/p5-Image-Base-SVG/pkg-descr
new file mode 100644
index 000000000000..15b7a799210e
--- /dev/null
+++ b/graphics/p5-Image-Base-SVG/pkg-descr
@@ -0,0 +1,17 @@
+Image::Base::SVG extends Image::Base to create or update SVG format image files
+using the SVG.pm module (see SVG::Manual).
+
+Image::Base is pixel oriented so isn't really the sort of thing SVG is meant
+for, but this module can direct some Image::Base style code at an SVG object. Of
+course the SVG module has many more features if used natively.
+
+It's often fairly easy to spit out SVG directly too, and for instance the
+Image::Base::SVGout module can do that. The advantages of the SVG document
+object model comes when combining images or fragments, or going through elements
+for post-facto mangling.
+
+In the current code the SVG elements emitted assume some default style
+attributes such as stroke-width 1. Perhaps that should be set explicitly on each
+element.
+
+WWW: http://search.cpan.org/dist/Image-Base-SVG/
diff --git a/graphics/p5-Image-Base-SVG/pkg-plist b/graphics/p5-Image-Base-SVG/pkg-plist
new file mode 100644
index 000000000000..da76be3dd98b
--- /dev/null
+++ b/graphics/p5-Image-Base-SVG/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Image/Base/SVG.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Base/SVG/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Base/SVG
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Base
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image
+@dirrmtry %%SITE_PERL%%/Image/Base
+@dirrmtry %%SITE_PERL%%/Image