2006-09-18 07:50:39 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2006/09/18 11:50:39 espie Exp $
|
2003-10-06 13:12:02 -04:00
|
|
|
|
|
|
|
COMMENT= "GNOME Structured File library"
|
2003-12-31 01:58:06 -05:00
|
|
|
COMMENT-gnome= "GNOME specific extensions to libgsf"
|
2003-10-06 13:12:02 -04:00
|
|
|
|
2004-12-10 15:33:58 -05:00
|
|
|
VERSION= 1.11.1
|
2003-12-31 01:58:06 -05:00
|
|
|
DISTNAME= libgsf-${VERSION}
|
2006-01-03 13:07:27 -05:00
|
|
|
PKGNAME= ${DISTNAME}p2
|
2006-01-19 12:08:29 -05:00
|
|
|
PKGNAME-gnome= libgsf-gnome-${VERSION}p2
|
2006-01-03 13:07:27 -05:00
|
|
|
SHARED_LIBS= gsf-1 12.1 \
|
|
|
|
gsf-gnome-1 12.1
|
|
|
|
MODGNU_SHARED_LIBS= gsf-1 '' \
|
|
|
|
gsf-gnome-1 ''
|
|
|
|
LIBgsf-1_ALIAS= gsf_1
|
|
|
|
LIBgsf-gnome-1_ALIAS= gsf_gnome_1
|
|
|
|
|
2003-10-06 13:12:02 -04:00
|
|
|
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
|
2004-11-23 16:34:27 -05:00
|
|
|
WANTLIB= m z
|
2003-10-06 13:12:02 -04:00
|
|
|
|
2004-12-10 15:33:58 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgsf/1.11/}
|
2003-10-06 13:12:02 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2004-08-10 08:42:21 -04:00
|
|
|
MODULES= devel/gettext
|
2004-01-03 01:15:22 -05:00
|
|
|
|
2003-10-06 13:12:02 -04:00
|
|
|
BUILD_DEPENDS= :pkgconfig->=0.14.0:devel/pkgconfig
|
|
|
|
|
2006-08-01 18:55:52 -04:00
|
|
|
LIB_DEPENDS= bz2.>=10.2::archivers/bzip2 \
|
|
|
|
xml2.>=8.4::textproc/libxml \
|
|
|
|
glib-2.0.>=0.11,gobject-2.0.>=0.11::devel/glib2
|
2004-01-03 01:15:22 -05:00
|
|
|
|
2003-10-06 13:12:02 -04:00
|
|
|
USE_GMAKE= Yes
|
2006-01-03 13:07:27 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2003-10-06 13:12:02 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk-doc
|
2005-03-14 22:40:21 -05:00
|
|
|
CONFIGURE_ARGS+= --with-bz2
|
2003-10-06 13:12:02 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2003-12-31 01:58:06 -05:00
|
|
|
PSEUDO_FLAVORS= no_gnome
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
MULTI_PACKAGES=
|
|
|
|
.if !${FLAVOR:L:Mno_gnome}
|
|
|
|
MULTI_PACKAGES+= -gnome
|
|
|
|
.endif
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
|
|
|
.if defined(PACKAGING)
|
|
|
|
. if ${SUBPACKAGE} == "-gnome"
|
2005-03-14 22:40:21 -05:00
|
|
|
LIB_DEPENDS= gnomevfs-2::x11/gnome/vfs2 \
|
|
|
|
gsf-1::devel/libgsf
|
2006-09-18 07:50:39 -04:00
|
|
|
WANTLIB+= crypto popt ssl bz2 ORBitCosNaming-2 \
|
|
|
|
ORBit-2 bonobo-2 bonobo-activation gmodule-2.0 \
|
|
|
|
gthread-2.0 gconf-2 glib-2.0 gobject-2.0 xml2
|
2003-12-31 01:58:06 -05:00
|
|
|
. 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
|
|
|
|
|
2003-10-06 13:12:02 -04:00
|
|
|
.include <bsd.port.mk>
|