diff options
author | kim <kim@pkgsrc.org> | 2003-09-21 16:17:42 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 2003-09-21 16:17:42 +0000 |
commit | 500f1e96f6c7d6deed5e35a4535cb0d5e49d8ad3 (patch) | |
tree | 6de6002998a11760f4b74db53dd8e6e4c7166836 /graphics | |
parent | 6310e4d4dee0c7f343dda5f2716698f09970eee1 (diff) | |
download | pkgsrc-500f1e96f6c7d6deed5e35a4535cb0d5e49d8ad3.tar.gz |
Image::Imlib2 is a Perl port of Imlib2, a graphics library that does
image file loading and saving as well as manipulation, arbitrary polygon
support, etc. It does ALL of these operations FAST. It allows you to
create colour images using a large number of graphics primitives, and
output the images in a range of formats.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/p5-Image-Imlib2/DESCR | 5 | ||||
-rw-r--r-- | graphics/p5-Image-Imlib2/Makefile | 45 | ||||
-rw-r--r-- | graphics/p5-Image-Imlib2/PLIST | 4 | ||||
-rw-r--r-- | graphics/p5-Image-Imlib2/distinfo | 5 | ||||
-rw-r--r-- | graphics/p5-Image-Imlib2/patches/patch-aa | 15 |
5 files changed, 74 insertions, 0 deletions
diff --git a/graphics/p5-Image-Imlib2/DESCR b/graphics/p5-Image-Imlib2/DESCR new file mode 100644 index 00000000000..4ea75cccf7c --- /dev/null +++ b/graphics/p5-Image-Imlib2/DESCR @@ -0,0 +1,5 @@ +Image::Imlib2 is a Perl port of Imlib2, a graphics library that does +image file loading and saving as well as manipulation, arbitrary polygon +support, etc. It does ALL of these operations FAST. It allows you to +create colour images using a large number of graphics primitives, and +output the images in a range of formats. diff --git a/graphics/p5-Image-Imlib2/Makefile b/graphics/p5-Image-Imlib2/Makefile new file mode 100644 index 00000000000..7754e9b9687 --- /dev/null +++ b/graphics/p5-Image-Imlib2/Makefile @@ -0,0 +1,45 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/09/21 16:17:42 kim Exp $ +# + +DISTNAME= Image-Imlib2-0.12 +PKGNAME= p5-${DISTNAME} +SVR4_PKGNAME= p5im2 +CATEGORIES= graphics perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Image/} + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/Image-Imlib2/ +COMMENT= Interface to the Imlib2 image library + +DEPENDS+= p5-Module-Build-[0-9]*:../../devel/p5-Module-Build + +USE_PERL5= run +USE_X11= YES +USE_BUILDLINK2= YES + +# If the X11 and Xext libraries are not weeded out, +# they will be unresolved in the resulting .so + +IMLIB2LIBS= $$CONFIG --libs | ${SED} -e 's/-lX11//g' -e 's/-lXext//g' + +post-patch: + cd ${WRKSRC} && \ + ${SED} -e 's,@IMLIB2LIBS@,${IMLIB2LIBS},' Build.PL > Build.PL.new && \ + ${MV} -f Build.PL.new Build.PL + +do-configure: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PERL5} Build.PL + +do-build: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./Build + +do-test: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./Build test + +do-install: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./Build install + + +.include "../../graphics/imlib2/buildlink2.mk" +.include "../../lang/perl5/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/p5-Image-Imlib2/PLIST b/graphics/p5-Image-Imlib2/PLIST new file mode 100644 index 00000000000..0678348ea42 --- /dev/null +++ b/graphics/p5-Image-Imlib2/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/21 16:17:42 kim Exp $ +${PERL5_SITEARCH}/auto/Image/Imlib2/Imlib2.bs +${PERL5_SITEARCH}/auto/Image/Imlib2/Imlib2.so +${PERL5_SITEARCH}/Image/Imlib2.pm diff --git a/graphics/p5-Image-Imlib2/distinfo b/graphics/p5-Image-Imlib2/distinfo new file mode 100644 index 00000000000..e73f3532edf --- /dev/null +++ b/graphics/p5-Image-Imlib2/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/09/21 16:17:42 kim Exp $ + +SHA1 (Image-Imlib2-0.12.tar.gz) = 68e1ab0cf4f879cac7a33bd58fd866c8cbc28c9d +Size (Image-Imlib2-0.12.tar.gz) = 14786 bytes +SHA1 (patch-aa) = 41fea1d94cf4011dacb6345f709f9a2f3ecbcef7 diff --git a/graphics/p5-Image-Imlib2/patches/patch-aa b/graphics/p5-Image-Imlib2/patches/patch-aa new file mode 100644 index 00000000000..404e8ea10c3 --- /dev/null +++ b/graphics/p5-Image-Imlib2/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/09/21 16:17:42 kim Exp $ + +Ugly trick to get rid of multiple X libraries that won't be found. + +--- Build.PL.orig Sun Aug 31 11:15:33 2003 ++++ Build.PL Sun Sep 21 10:27:12 2003 +@@ -19,7 +19,7 @@ + print "Found imlib2 $version"; + } + +-my $libs = `$CONFIG --libs`; ++my $libs = `@IMLIB2LIBS@`; + my $cflags = `$CONFIG --cflags`; + + my $build = Module::Build->new( |