- Bump Version

- Add support for imlib, gtkglare
- New flavor

Patch and now maintain by Joshua Stein <jcs@rt.fm>
This commit is contained in:
shell 2001-08-07 05:45:46 +00:00
parent 12410cadc3
commit 5343322abe
3 changed files with 91 additions and 26 deletions

View File

@ -1,34 +1,60 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/07/01 07:31:29 shell Exp $
# $OpenBSD: Makefile,v 1.2 2001/08/07 05:45:46 shell Exp $
COMMENT= "perl modules for Gtk libraries"
COMMENT= "set of modules to use Gtk+ libraries from Perl"
VERSION= 0.7008
DISTNAME= Gtk-Perl-${VERSION}
PKGNAME= p5-Gtk-${VERSION}
VERSION= 0.7008
DISTNAME= Gtk-Perl-${VERSION}
PKGNAME= p5-Gtk-${VERSION}
CATEGORIES= x11 devel perl5
NEED_VERSION= 1.417
HOMEPAGE= http://www.gtkperl.org/
MAINTAINER= Shell Hung <shell@openbsd.org>
CATEGORIES= x11 devel perl5
NEED_VERSION= 1.433
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Gtk
HOMEPAGE= http://www.gtkperl.org/
PERL_MODULES= ${LOCALBASE}/libdata/perl5/site_perl
BUILD_DEPENDS= ${PERL_MODULES}/${MACHINE_ARCH}-openbsd/XML/Parser.pm::textproc/p5-XML-Parser \
${PERL_MODULES}/XML/Writer.pm::textproc/p5-XML-Writer
LIB_DEPENDS= gtk.1.::x11/gtk+
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Gtk
USE_X11= Yes
CONFIGURE_STYLE= perl
CONFIGURE_ARGS+= --with-gtk \
--without-guessing
MAINTAINER= Joshua Stein <jcs@rt.fm>
USE_X11= Yes
PERL_MODULES= ${LOCALBASE}/libdata/perl5/site_perl/
PERL_MODULES2= ${PERL_MODULES}/${MACHINE_ARCH}-openbsd
LIB_DEPENDS= gdk_pixbuf.2::graphics/gdk-pixbuf \
gdk_imlib.19::graphics/imlib
BUILD_DEPENDS= ${PERL_MODULES2}/XML/Parser.pm::textproc/p5-XML-Parser \
${PERL_MODULES}/XML/Writer.pm::textproc/p5-XML-Writer
RUN_DEPENDS= ${BUILD_DEPENDS}
CONFIGURE_STYLE= perl
CONFIGURE_ARGS= --without-gtkhtml --without-gtkxmhtml --without-gnome \
--without-gnomeprint --without-applets --without-glade
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAKE_FLAGS= INST_MAN3DIR="../blib/man3"
PERLDIR= "${DESTDIR}/${PREFIX}/libdata/perl5/site_perl"
FAKE_FLAGS= ${MAKE_FLAGS} \
INSTALLPRIVLIB="${PERLDIR}" \
INSTALLARCHLIB="${PERLDIR}/${MACHINE_ARCH}-openbsd" \
INSTALLSITELIB="${PERLDIR}" \
INSTALLSITEARCH="${PERLDIR}/${MACHINE_ARCH}-openbsd" \
INSTALLMAN3DIR="${DESTDIR}/${PREFIX}/man/man3" \
FLAVORS= gtkglarea
FLAVOR?=
.if ${FLAVOR:L:Mgtkglarea}
LIB_DEPENDS+= gtkgl.1.2::x11/gtkglarea
CONFIGURE_ARGS+= --with-gtkglarea-force
.else
CONFIGURE_ARGS+= --without-gtkglarea
.endif
.include <bsd.port.mk>

View File

@ -1,6 +1,20 @@
The Gtk module allows Perl access to the Gtk+ graphical user interface
library. The Perl binding tries to follow the C interface as much
as possible, providing at the same time a fully object oriented
interface and Perl-style calling conventions.
Gtk-Perl is a set of modules that let you exploit the Gtk+
libraries from Perl. The module maps the Gtk+ objects to
Perl packages while trying to remain as close as possible
to the C API, but not closer.
Currently there is support for:
- libgtk
The base module (Gtk and Gtk::Gdk namespaces).
- libgdkimlib
The Imlib module (Gtk::Gdk::ImlibImage namespace).
- libgdkpixbuf
The Pixbuf module (Gtk::Gdk::Pixbuf namespace).
- libgtkglarea
The OpenGL widget module (Gtk::GLArea namespace).
WWW: ${HOMEPAGE}

View File

@ -1,9 +1,20 @@
@comment $OpenBSD: PLIST,v 1.2 2001/07/01 07:45:15 shell Exp $
@comment $OpenBSD: PLIST,v 1.3 2001/08/07 05:45:46 shell Exp $
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Atoms.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/CListModel.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/ColorSelectButton.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk/ImlibImage.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk/ImlibImage/Install/Files.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk/ImlibImage/Install/GdkImlibTypes.h
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk/ImlibImage/Install/pkg.typemap
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk/Pixbuf.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk/Pixbuf/Install/Files.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk/Pixbuf/Install/GdkPixbufDefs.h
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk/Pixbuf/Install/GdkPixbufTypemap
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk/Pixbuf/Install/PerlGdkPixbufInt.h
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk/Pixbuf/Install/pkg.typemap
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk/Pixbuf/Types.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Install/Files.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Install/GdkTypes.h
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Install/GtkDefs.h
@ -35,15 +46,29 @@ libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Types.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/TypesLazy.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/io.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/lazy.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Gtk/Gdk/ImlibImage/ImlibImage.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Gtk/Gdk/ImlibImage/ImlibImage.so
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Gtk/Gdk/Pixbuf/Pixbuf.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Gtk/Gdk/Pixbuf/Pixbuf.so
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Gtk/Gdk/autosplit.ix
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Gtk/Gtk.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Gtk/Gtk.so
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Gtk/autosplit.ix
!%%gtkglarea%%
man/man3/Gtk.3pm
man/man3/Gtk::CListModel.3pm
man/man3/Gtk::Gdk::ImlibImage::reference.3pm
man/man3/Gtk::Gdk::Pixbuf::reference.3pm
man/man3/Gtk::cookbook.3pm
man/man3/Gtk::objects.3pm
man/man3/Gtk::reference.3pm
@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Gtk/Gdk/Pixbuf
@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Gtk/Gdk/ImlibImage
@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Gtk/Gdk
@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/LWP
@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Install
@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk/Pixbuf/Install
@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk/Pixbuf
@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk/ImlibImage/Install
@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk/ImlibImage
@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Gtk/Gdk