openbsd-ports/devel/libgsf/Makefile

66 lines
1.5 KiB
Makefile
Raw Normal View History

2006-12-16 07:22:32 -05:00
# $OpenBSD: Makefile,v 1.16 2006/12/16 12:22:33 espie Exp $
2006-11-25 19:22:16 -05:00
COMMENT-main= "GNOME Structured File library"
COMMENT-gnome= "GNOME specific extensions to libgsf"
VERSION= 1.11.1
DISTNAME= libgsf-${VERSION}
2006-11-25 19:22:16 -05:00
PKGNAME-main= ${DISTNAME}p3
PKGNAME-gnome= libgsf-gnome-${VERSION}p3
2006-10-28 07:19:20 -04:00
SHARED_LIBS += gsf-1 12.1 # .12.1
SHARED_LIBS += gsf-gnome-1 12.1 # .12.1
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
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgsf/1.11/}
EXTRACT_SUFX= .tar.bz2
2004-08-10 08:42:21 -04:00
MODULES= devel/gettext
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
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ARGS+= --with-bz2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
PSEUDO_FLAVORS= no_gnome
FLAVOR?=
2006-11-25 19:22:16 -05:00
MULTI_PACKAGES= -main
.if !${FLAVOR:L:Mno_gnome}
MULTI_PACKAGES+= -gnome
.endif
2006-11-25 19:22:16 -05:00
LIB_DEPENDS-gnome=${LIB_DEPENDS} \
gnomevfs-2::x11/gnome/vfs2 \
gsf-1::${BUILD_PKGPATH}
WANTLIB-gnome= crypto popt ssl ORBitCosNaming-2 \
2006-09-18 07:50:39 -04:00
ORBit-2 bonobo-2 bonobo-activation gmodule-2.0 \
2006-11-25 19:22:16 -05:00
gthread-2.0 gconf-2 m z
.if ${MULTI_PACKAGES:M-gnome}
CONFIGURE_ARGS+= --with-gnome
.else
CONFIGURE_ARGS+= --without-gnome
.endif
.include <bsd.port.mk>