pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/p5-Image-Imlib2 Image::Imlib2 is a Perl port ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5c2af28fde6
branches:  trunk
changeset: 461785:c5c2af28fde6
user:      kim <kim%pkgsrc.org@localhost>
date:      Sun Sep 21 16:17:42 2003 +0000

description:
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:

 graphics/p5-Image-Imlib2/DESCR            |   5 +++
 graphics/p5-Image-Imlib2/Makefile         |  45 +++++++++++++++++++++++++++++++
 graphics/p5-Image-Imlib2/PLIST            |   4 ++
 graphics/p5-Image-Imlib2/distinfo         |   5 +++
 graphics/p5-Image-Imlib2/patches/patch-aa |  15 ++++++++++
 5 files changed, 74 insertions(+), 0 deletions(-)

diffs (94 lines):

diff -r 44f0a8866fe4 -r c5c2af28fde6 graphics/p5-Image-Imlib2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/p5-Image-Imlib2/DESCR    Sun Sep 21 16:17:42 2003 +0000
@@ -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 -r 44f0a8866fe4 -r c5c2af28fde6 graphics/p5-Image-Imlib2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/p5-Image-Imlib2/Makefile Sun Sep 21 16:17:42 2003 +0000
@@ -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@localhost
+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 -r 44f0a8866fe4 -r c5c2af28fde6 graphics/p5-Image-Imlib2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/p5-Image-Imlib2/PLIST    Sun Sep 21 16:17:42 2003 +0000
@@ -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 -r 44f0a8866fe4 -r c5c2af28fde6 graphics/p5-Image-Imlib2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/p5-Image-Imlib2/distinfo Sun Sep 21 16:17:42 2003 +0000
@@ -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 -r 44f0a8866fe4 -r c5c2af28fde6 graphics/p5-Image-Imlib2/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/p5-Image-Imlib2/patches/patch-aa Sun Sep 21 16:17:42 2003 +0000
@@ -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(



Home | Main Index | Thread Index | Old Index