Import Gnome2-Canvas-1.002

The Gnome2::Canvas module allows a perl developer to use the GnomeCanvas
widget with Gtk2-Perl.
Like the Gtk2 module on which it depends, Gnome2::Canvas follows the C
API of libgnomecanvas-2.0 as closely as possible while still being
perlish.  Thus, the C API reference remains the canonical documentation.

ok jasper@
This commit is contained in:
ajacoutot 2007-01-17 13:41:11 +00:00
parent 8d55365bad
commit bc32a7024f
5 changed files with 110 additions and 0 deletions

View File

@ -0,0 +1,43 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/01/17 13:41:11 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= "Perl bindings for the 2.x series of the Gnome Canvas widget"
DISTNAME= Gnome2-Canvas-1.002
CATEGORIES= x11
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xrender fontconfig freetype m z atk-1.0 cairo \
gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 glitz gmodule-2.0 \
gobject-2.0 gtk-x11-2.0 pango-1.0 pangocairo-1.0 \
pangoft2-1.0 png
MODULES= cpan devel/gettext
USE_X11= Yes
USE_GMAKE= Yes
BUILD_DEPENDS= ::devel/p5-ExtUtils-Depends \
::devel/p5-ExtUtils-PkgConfig \
${RUN_DEPENDS}
LIB_DEPENDS= art_lgpl_2.>=5::graphics/libart \
gnomecanvas-2.>=1::x11/gnome/libgnomecanvas
RUN_DEPENDS= ::devel/p5-Glib2 \
::x11/p5-Gtk2
# The regression tests require a running instance of X.
# You will also need to set the XAUTHORITY environment variable to point
# to the appropriate .Xauthority file.
REGRESS_IS_INTERACTIVE=Yes
REGRESS_FLAGS+= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
pre-configure:
perl -pi -e 's,!!CFLAGS!!,${CFLAGS},g' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (Gnome2-Canvas-1.002.tar.gz) = 93405a987ba4bbd03c2f91592b88f5cb
RMD160 (Gnome2-Canvas-1.002.tar.gz) = df9245817f6f3b54226471d0820998653ff0d592
SHA1 (Gnome2-Canvas-1.002.tar.gz) = 8c9373132fabc7bc93eb1bcee743255978f5b72c
SIZE (Gnome2-Canvas-1.002.tar.gz) = 62040

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2007/01/17 13:41:11 ajacoutot Exp $
--- Makefile.PL.orig Mon Jan 15 23:39:36 2007
+++ Makefile.PL Mon Jan 15 23:40:01 2007
@@ -85,6 +85,7 @@ WriteMakefile(
ABSTRACT => 'Perl bindings for the 2.x series of the Gnome Canvas widget',
XSPROTOARG => '-noprototypes',
MAN3PODS => \%pod_files,
+ OPTIMIZE => '!!CFLAGS!!',
$gnomecanvas->get_makefile_vars,
);

View File

@ -0,0 +1,5 @@
The Gnome2::Canvas module allows a perl developer to use the GnomeCanvas
widget with Gtk2-Perl.
Like the Gtk2 module on which it depends, Gnome2::Canvas follows the C
API of libgnomecanvas-2.0 as closely as possible while still being
perlish. Thus, the C API reference remains the canonical documentation.

View File

@ -0,0 +1,47 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/01/17 13:41:11 ajacoutot Exp $
${P5ARCH}/Gnome2/
${P5ARCH}/Gnome2/Canvas/
${P5ARCH}/Gnome2/Canvas.pm
${P5ARCH}/Gnome2/Canvas.pod
${P5ARCH}/Gnome2/Canvas/Bpath.pod
${P5ARCH}/Gnome2/Canvas/Ellipse.pod
${P5ARCH}/Gnome2/Canvas/Group.pod
${P5ARCH}/Gnome2/Canvas/Install/
${P5ARCH}/Gnome2/Canvas/Install/Files.pm
${P5ARCH}/Gnome2/Canvas/Install/canvas.typemap
${P5ARCH}/Gnome2/Canvas/Install/gnomecanvasperl-autogen.h
${P5ARCH}/Gnome2/Canvas/Install/gnomecanvasperl-version.h
${P5ARCH}/Gnome2/Canvas/Install/gnomecanvasperl.h
${P5ARCH}/Gnome2/Canvas/Install/gnomecanvasperl.typemap
${P5ARCH}/Gnome2/Canvas/Item.pod
${P5ARCH}/Gnome2/Canvas/Line.pod
${P5ARCH}/Gnome2/Canvas/PathDef.pod
${P5ARCH}/Gnome2/Canvas/Pixbuf.pod
${P5ARCH}/Gnome2/Canvas/RE.pod
${P5ARCH}/Gnome2/Canvas/Rect.pod
${P5ARCH}/Gnome2/Canvas/RichText.pod
${P5ARCH}/Gnome2/Canvas/Shape.pod
${P5ARCH}/Gnome2/Canvas/Text.pod
${P5ARCH}/Gnome2/Canvas/Widget.pod
${P5ARCH}/Gnome2/Canvas/index.pod
${P5ARCH}/Gnome2/Canvas/version.pod
${P5ARCH}/auto/Gnome2/
${P5ARCH}/auto/Gnome2/Canvas/
${P5ARCH}/auto/Gnome2/Canvas/Canvas.bs
${P5ARCH}/auto/Gnome2/Canvas/Canvas.so
@man man/man3p/Gnome2::Canvas.3p
@man man/man3p/Gnome2::Canvas::Bpath.3p
@man man/man3p/Gnome2::Canvas::Ellipse.3p
@man man/man3p/Gnome2::Canvas::Group.3p
@man man/man3p/Gnome2::Canvas::Item.3p
@man man/man3p/Gnome2::Canvas::Line.3p
@man man/man3p/Gnome2::Canvas::PathDef.3p
@man man/man3p/Gnome2::Canvas::Pixbuf.3p
@man man/man3p/Gnome2::Canvas::RE.3p
@man man/man3p/Gnome2::Canvas::Rect.3p
@man man/man3p/Gnome2::Canvas::RichText.3p
@man man/man3p/Gnome2::Canvas::Shape.3p
@man man/man3p/Gnome2::Canvas::Text.3p
@man man/man3p/Gnome2::Canvas::Widget.3p
@man man/man3p/Gnome2::Canvas::index.3p
@man man/man3p/Gnome2::Canvas::version.3p