split GNOME support into a sub-package so we don't need

to drag in all of the GNOME support for wv2 and in turn
KOffice.

ok marcm@
This commit is contained in:
brad 2003-12-31 06:58:06 +00:00
parent f5eda11303
commit 51f7138802
6 changed files with 49 additions and 17 deletions

View File

@ -1,8 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/10/06 17:12:02 marcm Exp $
# $OpenBSD: Makefile,v 1.2 2003/12/31 06:58:06 brad Exp $
COMMENT= "GNOME Structured File library"
COMMENT-gnome= "GNOME specific extensions to libgsf"
DISTNAME= libgsf-1.8.2
VERSION= 1.8.2
DISTNAME= libgsf-${VERSION}
PKGNAME-gnome= libgsf-gnome-${VERSION}
CATEGORIES= devel
HOMEPAGE= http://www.gnome.org/
@ -19,15 +22,39 @@ MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgsf/1.8/}
EXTRACT_SUFX= .tar.bz2
BUILD_DEPENDS= :pkgconfig->=0.14.0:devel/pkgconfig
LIB_DEPENDS= gnomevfs-2::x11/gnome/vfs2
SEPARATE_BUILD= concurrent
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ARGS+= --with-gnome
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
PSEUDO_FLAVORS= no_gnome
FLAVOR?=
MULTI_PACKAGES=
.if !${FLAVOR:L:Mno_gnome}
MULTI_PACKAGES+= -gnome
.endif
SUBPACKAGE?=
.if defined(PACKAGING)
. if ${SUBPACKAGE} == "-gnome"
LIB_DEPENDS+= gnomevfs-2::x11/gnome/vfs2 \
gsf-1::devel/libgsf
. endif
.else
. if ${MULTI_PACKAGES:M-gnome}
LIB_DEPENDS+= gnomevfs-2::x11/gnome/vfs2
. endif
.endif
.if ${MULTI_PACKAGES:M-gnome}
CONFIGURE_ARGS+= --with-gnome
.else
CONFIGURE_ARGS+= --without-gnome
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
GNOME specific extensions to libgsf to support bonobo and gnome-vfs

View File

@ -1,4 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/10/06 17:12:02 marcm Exp $
@comment $OpenBSD: PFRAG.shared,v 1.2 2003/12/31 06:58:06 brad Exp $
lib/libgsf-1.so.9.2
lib/libgsf-gnome-1.so.9.2
DYNLIBDIR(%D/lib)

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared-gnome,v 1.1 2003/12/31 06:58:06 brad Exp $
lib/libgsf-gnome-1.so.9.2
DYNLIBDIR(%D/lib)

View File

@ -1,9 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2003/12/15 16:51:04 naddy Exp $
include/libgsf-1/gsf-gnome/gsf-input-bonobo.h
include/libgsf-1/gsf-gnome/gsf-input-gnomevfs.h
include/libgsf-1/gsf-gnome/gsf-output-bonobo.h
include/libgsf-1/gsf-gnome/gsf-output-gnomevfs.h
include/libgsf-1/gsf-gnome/gsf-shared-bonobo-stream.h
@comment $OpenBSD: PLIST,v 1.3 2003/12/31 06:58:06 brad Exp $
include/libgsf-1/gsf/gsf-doc-meta-data.h
include/libgsf-1/gsf/gsf-impl-utils.h
include/libgsf-1/gsf/gsf-infile-msole.h
@ -34,10 +29,8 @@ include/libgsf-1/gsf/gsf-utils.h
include/libgsf-1/gsf/gsf.h
lib/libgsf-1.a
lib/libgsf-1.la
lib/libgsf-gnome-1.a
lib/libgsf-gnome-1.la
%%SHARED%%
lib/pkgconfig/libgsf-1.pc
lib/pkgconfig/libgsf-gnome-1.pc
share/doc/libgsf/html/gsf-gsf-impl-utils.html
share/doc/libgsf/html/gsf-gsf-infile-msole.html
share/doc/libgsf/html/gsf-gsf-infile-zip.html
@ -84,10 +77,8 @@ share/doc/libgsf/html/r944.html
share/doc/libgsf/html/r962.html
share/doc/libgsf/html/right.png
share/doc/libgsf/html/up.png
%%SHARED%%
@dirrm share/doc/libgsf/html
@dirrm share/doc/libgsf
@dirrm lib/pkgconfig
@dirrm include/libgsf-1/gsf-gnome
@dirrm include/libgsf-1/gsf
@dirrm include/libgsf-1

View File

@ -0,0 +1,11 @@
@comment $OpenBSD: PLIST-gnome,v 1.1 2003/12/31 06:58:06 brad Exp $
include/libgsf-1/gsf-gnome/gsf-input-bonobo.h
include/libgsf-1/gsf-gnome/gsf-input-gnomevfs.h
include/libgsf-1/gsf-gnome/gsf-output-bonobo.h
include/libgsf-1/gsf-gnome/gsf-output-gnomevfs.h
include/libgsf-1/gsf-gnome/gsf-shared-bonobo-stream.h
lib/libgsf-gnome-1.a
lib/libgsf-gnome-1.la
%%SHARED%%
lib/pkgconfig/libgsf-gnome-1.pc
@dirrm include/libgsf-1/gsf-gnome