diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-10-01 23:44:49 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-10-01 23:44:49 +0800 |
commit | 336e481dda97348f1112078b2eab0611f63f2d1c (patch) | |
tree | 3ae7710b085b3142b8f0fc74d39d1a0dfcb53c23 /graphics | |
parent | 5ba1a750bb531b9c969c8f65e887291380e8f690 (diff) | |
download | freebsd-ports-gnome-336e481dda97348f1112078b2eab0611f63f2d1c.tar.gz freebsd-ports-gnome-336e481dda97348f1112078b2eab0611f63f2d1c.tar.zst freebsd-ports-gnome-336e481dda97348f1112078b2eab0611f63f2d1c.zip |
- Add p5-Image-Base-SVG 4
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/
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/p5-Image-Base-SVG/Makefile | 31 | ||||
-rw-r--r-- | graphics/p5-Image-Base-SVG/distinfo | 2 | ||||
-rw-r--r-- | graphics/p5-Image-Base-SVG/pkg-descr | 17 | ||||
-rw-r--r-- | graphics/p5-Image-Base-SVG/pkg-plist | 7 |
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 |