add gnome flavor, required by gnome

This commit is contained in:
todd 2001-09-13 20:35:34 +00:00
parent 9cc9fa3092
commit b1301a9231
4 changed files with 33 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2001/09/01 02:33:59 brad Exp $
# $OpenBSD: Makefile,v 1.6 2001/09/13 20:35:34 todd Exp $
COMMENT= "replacement library for Imlib"
@ -14,6 +14,9 @@ LIB_DEPENDS= png.2::graphics/png \
tiff.35.::graphics/tiff \
gtk.1.2::x11/gtk+
FLAVORS= gnome
FLAVOR?=
MAINTAINER= Tom Knienieder <tom@knienieder.com>
PERMIT_PACKAGE_CDROM= Yes
@ -27,6 +30,17 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} --enable-static --disable-modules
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.if ${FLAVOR:L:Mgnome}
LIB_DEPENDS+= gnome.36::x11/gnome/libs
.endif
FLAVORS= gnome
FLAVOR?=
.if ${FLAVOR:L} == "gnome"
CONFIGURE_ARGS+= --with-gnome
.endif
pre-patch:
@find ${WRKSRC} -name "Makefile.in" | xargs perl -pi -e \
's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PFRAG.gnome,v 1.1 2001/09/13 20:35:34 todd Exp $
include/gdk-pixbuf/gnome-canvas-pixbuf.h
lib/libgnomecanvaspixbuf.a
lib/libgnomecanvaspixbuf.la
lib/libgnomecanvaspixbuf.so.1.0

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2001/03/27 11:45:12 naddy Exp $
@comment $OpenBSD: PFRAG.shared,v 1.3 2001/09/13 20:35:34 todd Exp $
lib/libgdk_pixbuf.so.2.0
lib/libgdk_pixbuf_xlib.so.2.0
DYNLIBDIR(%B)
lib/libgnomecanvaspixbuf.so.1.0
DYNLIBDIR(%D/lib)

View File

@ -1,10 +1,11 @@
@comment $OpenBSD: PLIST,v 1.5 2001/04/18 11:19:49 reinhard Exp $
@comment $OpenBSD: PLIST,v 1.6 2001/09/13 20:35:34 todd Exp $
bin/gdk-pixbuf-config
include/gdk-pixbuf/gdk-pixbuf-features.h
include/gdk-pixbuf/gdk-pixbuf-loader.h
include/gdk-pixbuf/gdk-pixbuf-xlib.h
include/gdk-pixbuf/gdk-pixbuf-xlibrgb.h
include/gdk-pixbuf/gdk-pixbuf.h
include/gdk-pixbuf/gnome-canvas-pixbuf.h
lib/gdk_pixbufConf.sh
lib/gdk_pixbuf_xlibConf.sh
lib/gnomecanvaspixbufConf.sh
@ -12,7 +13,8 @@ lib/libgdk_pixbuf.a
lib/libgdk_pixbuf.la
lib/libgdk_pixbuf_xlib.a
lib/libgdk_pixbuf_xlib.la
%%SHARED%%
lib/libgnomecanvaspixbuf.a
lib/libgnomecanvaspixbuf.la
share/aclocal/gdk-pixbuf.m4
share/html/gdk-pixbuf-decl.txt
share/html/gdk-pixbuf-sections.txt
@ -56,6 +58,12 @@ share/html/gdk-pixbuf/x3723.html
share/html/gdk-pixbuf/x3735.html
share/html/gdk-pixbuf/x3765.html
share/html/gdk-pixbuf/x3787.html
%%gnome%%
%%SHARED%%
@dirrm share/html/gdk-pixbuf
@dirrm share/html
@dirrm share/aclocal
@exec mkdir -p %D/lib/gdk-pixbuf/loaders
@dirrm lib/gdk-pixbuf/loaders
@dirrm lib/gdk-pixbuf
@dirrm include/gdk-pixbuf