perl module: API substitution. Allows GD-using scripts to output SVG

graphics in a nearly transparent way.

Contrary to what the documentation says, this module only needs p5-SVG
to operate, since it effectively does replace GD itself.
This commit is contained in:
espie 2005-03-03 00:32:50 +00:00
parent 39123c1737
commit eaafa9a36b
4 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/03/03 00:32:50 espie Exp $
COMMENT= "allow GD perl scripts to output SVG"
PKG_ARCH= *
DISTNAME= GD-SVG-0.25
PKGNAME= p5-${DISTNAME}
CATEGORIES= graphics perl5
# perl licence
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= :p5-SVG-*:graphics/p5-SVG
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=GD/}
CONFIGURE_STYLE= perl
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (GD-SVG-0.25.tar.gz) = 47098a12f5bb4c339fac956318f65d6f
RMD160 (GD-SVG-0.25.tar.gz) = d509be572285c511fa978e0488452cb833b84cd0
SHA1 (GD-SVG-0.25.tar.gz) = bf9475a712cbf35a66e35cd7f22dca232822740b
SIZE (GD-SVG-0.25.tar.gz) = 42668

View File

@ -0,0 +1,4 @@
With GD::SVG, scripts that use GD can generate SVG output transparently.
GDB::SVG translates GD functions into SVG functions.

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/03/03 00:32:50 espie Exp $
${P5SITE}/GD/
${P5SITE}/GD/SVG.pm
@man man/man3p/GD::SVG.3p