add gnome flavor

from Waldemar Brodkorb <wbx at openbsd.de>
This commit is contained in:
jcs 2004-06-26 23:09:15 +00:00
parent ce2d522db8
commit 063aa2e3f4
5 changed files with 42 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.190 2004/06/25 18:54:25 sturm Exp $
# $OpenBSD: Makefile,v 1.191 2004/06/26 23:09:15 jcs Exp $
# $FreeBSD: Makefile,v 1.178 1997/11/24 05:32:52 fenner Exp $
# SUBDIR += FWF
@ -105,6 +105,7 @@
SUBDIR += openmotif
SUBDIR += p5-Gtk
SUBDIR += p5-Gtk,gtkglarea
SUBDIR += p5-Gtk,gnome
# SUBDIR += p5-Tcl-Tk
SUBDIR += p5-Tk
SUBDIR += paragui

View File

@ -1,6 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2004/06/26 07:35:11 xsa Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
# $OpenBSD: Makefile,v 1.15 2004/06/26 23:09:15 jcs Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
@ -34,7 +32,7 @@ RUN_DEPENDS= :p5-XML-Parser-*:textproc/p5-XML-Parser \
BUILD_DEPENDS= ${RUN_DEPENDS}
CONFIGURE_STYLE= perl
CONFIGURE_ARGS= --without-gtkhtml --without-gtkxmhtml --without-gnome \
CONFIGURE_ARGS= --without-gtkhtml --without-gtkxmhtml \
--without-gnomeprint --without-applets --without-glade
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@ -50,14 +48,24 @@ FAKE_FLAGS= ${MAKE_FLAGS} \
INSTALLMAN3DIR="${DESTDIR}/${PREFIX}/man/man3p" \
INSTALLSITEMAN3DIR="${DESTDIR}/${PREFIX}/man/man3p"
FLAVORS= gtkglarea
FLAVORS= gtkglarea gnome
FLAVOR?=
.if ${FLAVOR:L:Mgtkglarea}
LIB_DEPENDS+= gtkgl.1.2::x11/gtkglarea
CONFIGURE_ARGS+= --with-gtkglarea-force
SED_PLIST+= |sed -e '/^!%%gtkglarea%%/r${PKGDIR}/PFRAG.gtkglarea' -e '//d'
.else
CONFIGURE_ARGS+= --without-gtkglarea
SED_PLIST+= |sed -e '/^!%%gtkglarea%%/d'
.endif
.if ${FLAVOR:L:Mgnome}
CONFIGURE_ARGS+= --with-gnome
SED_PLIST+= |sed -e '/^!%%gnome%%/r${PKGDIR}/PFRAG.gnome' -e '//d'
.else
CONFIGURE_ARGS+= --without-gnome
SED_PLIST+= |sed -e '/^!%%gnome%%/d'
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,19 @@
@comment $OpenBSD: PFRAG.gnome,v 1.1 2004/06/26 23:09:15 jcs Exp $
${P5ARCH}/Gnome.pm
${P5ARCH}/Gnome/Install/Files.pm
${P5ARCH}/Gnome/Install/GnomeDefs.h
${P5ARCH}/Gnome/Install/GnomeTypemap
${P5ARCH}/Gnome/Install/GnomeTypes.h
${P5ARCH}/Gnome/Install/PerlGnomeInt.h
${P5ARCH}/Gnome/Install/pkg.typemap
${P5ARCH}/Gnome/Types.pm
${P5ARCH}/Gnome/TypesLazy.pm
@comment ${P5ARCH}/auto/Gnome/.packlist
${P5ARCH}/auto/Gnome/Gnome.bs
${P5ARCH}/auto/Gnome/Gnome.so
man/man3p/Gnome.3pm
man/man3p/Gnome::reference.3pm
@dirrm ${P5ARCH}/auto/Gtk/base
@dirrm ${P5ARCH}/auto/Gnome
@dirrm ${P5ARCH}/Gnome/Install
@dirrm ${P5ARCH}/Gnome

View File

@ -1,5 +1,4 @@
@comment $OpenBSD: PFRAG.gtkglarea,v 1.2 2002/04/19 14:57:03 jcs Exp $
${P5ARCH}/Gtk/GLArea/Install/Files.pm
@comment $OpenBSD: PFRAG.gtkglarea,v 1.3 2004/06/26 23:09:15 jcs Exp $
${P5ARCH}/Gtk/GLArea.pm
${P5ARCH}/Gtk/GLArea/Constants.pm
${P5ARCH}/Gtk/GLArea/Glut.pm
@ -9,6 +8,7 @@ ${P5ARCH}/Gtk/GLArea/Install/GtkGLAreaTypemap
${P5ARCH}/Gtk/GLArea/Install/PerlGtkGLAreaInt.h
${P5ARCH}/Gtk/GLArea/Install/pkg.typemap
${P5ARCH}/Gtk/GLArea/Types.pm
@comment ${P5ARCH}/auto/Gtk/GLArea/.packlist
${P5ARCH}/auto/Gtk/GLArea/Constants/autosplit.ix
${P5ARCH}/auto/Gtk/GLArea/GLArea.bs
${P5ARCH}/auto/Gtk/GLArea/GLArea.so

View File

@ -1,5 +1,6 @@
@comment $OpenBSD: PLIST,v 1.7 2002/04/19 14:57:03 jcs Exp $
@comment $OpenBSD: PLIST,v 1.8 2004/06/26 23:09:15 jcs Exp $
!%%gtkglarea%%
!%%gnome%%
${P5ARCH}/Gtk.pm
${P5ARCH}/Gtk/Atoms.pm
${P5ARCH}/Gtk/CListModel.pm
@ -47,14 +48,18 @@ ${P5ARCH}/Gtk/Types.pm
${P5ARCH}/Gtk/TypesLazy.pm
${P5ARCH}/Gtk/io.pm
${P5ARCH}/Gtk/lazy.pm
@comment ${P5ARCH}/perllocal.pod
@comment ${P5ARCH}/auto/Gtk/Gdk/ImlibImage/.packlist
${P5ARCH}/auto/Gtk/Gdk/ImlibImage/ImlibImage.bs
${P5ARCH}/auto/Gtk/Gdk/ImlibImage/ImlibImage.so
@comment ${P5ARCH}/auto/Gtk/Gdk/Pixbuf/.packlist
${P5ARCH}/auto/Gtk/Gdk/Pixbuf/Pixbuf.bs
${P5ARCH}/auto/Gtk/Gdk/Pixbuf/Pixbuf.so
${P5ARCH}/auto/Gtk/Gdk/autosplit.ix
${P5ARCH}/auto/Gtk/Gtk.bs
${P5ARCH}/auto/Gtk/Gtk.so
${P5ARCH}/auto/Gtk/autosplit.ix
@comment ${P5ARCH}/auto/Gtk/base/.packlist
man/man3p/Gtk.3p
man/man3p/Gtk::CListModel.3p
man/man3p/Gtk::Gdk::ImlibImage::reference.3p