70 lines
1.6 KiB
Makefile
70 lines
1.6 KiB
Makefile
# $OpenBSD: Makefile,v 1.6 2004/11/23 21:34:27 espie Exp $
|
|
|
|
COMMENT= "GNOME Structured File library"
|
|
COMMENT-gnome= "GNOME specific extensions to libgsf"
|
|
|
|
VERSION= 1.10.0
|
|
DISTNAME= libgsf-${VERSION}
|
|
PKGNAME-gnome= libgsf-gnome-${VERSION}
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://www.gnome.org/
|
|
|
|
MAINTAINER= Marc Matteo <marcm@openbsd.org>
|
|
|
|
# LGPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= m z
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgsf/1.10/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MODULES= devel/gettext
|
|
|
|
BUILD_DEPENDS= :pkgconfig->=0.14.0:devel/pkgconfig
|
|
|
|
LIB_DEPENDS= bz2.10.2::archivers/bzip2 \
|
|
xml2.8.4::textproc/libxml \
|
|
glib-2.0.0.11,gobject-2.0.0.11::devel/glib2
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+= --disable-gtk-doc
|
|
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
|
|
WANTLIB+= ORBit-2.0.0 bonobo-2.0.0 bonobo-activation gmodule-2.0.0.0 gthread-2.0.0.0
|
|
. endif
|
|
.else
|
|
. if ${MULTI_PACKAGES:M-gnome}
|
|
LIB_DEPENDS+= gnomevfs-2::x11/gnome/vfs2
|
|
WANTLIB+= ORBit-2.0.0 bonobo-2.0.0 bonobo-activation gmodule-2.0.0.0 gthread-2.0.0.0
|
|
. endif
|
|
.endif
|
|
|
|
.if ${MULTI_PACKAGES:M-gnome}
|
|
CONFIGURE_ARGS+= --with-gnome
|
|
.else
|
|
CONFIGURE_ARGS+= --without-gnome
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|