mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
1d8b589ae5
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/
32 lines
826 B
Makefile
32 lines
826 B
Makefile
# 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>
|