openbsd-ports/devel/libgsf/Makefile

72 lines
1.8 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.44 2009/10/13 09:13:25 phessler Exp $
COMMENT-main= GNOME Structured File library
COMMENT-gnome= GNOME specific extensions to libgsf
GNOME_PROJECT= libgsf
2009-10-12 06:19:32 -04:00
GNOME_VERSION= 1.14.16
2009-10-12 06:33:55 -04:00
PKGNAME-main= ${DISTNAME}p0
PKGNAME-gnome= libgsf-gnome-${VERSION}p1
CATEGORIES= devel
SHARED_LIBS+= gsf-1 114.11
SHARED_LIBS+= gsf-gnome-1 114.11
HOMEPAGE= http://www.gnome.org/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
Antoine Jacoutot <ajacoutot@openbsd.org>
2008-05-12 12:43:57 -04:00
# LGPL 2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2007-11-13 09:06:21 -05:00
MULTI_PACKAGES= -main -gnome
2007-11-13 09:06:21 -05:00
WANTLIB= c m z pcre
MODULES= devel/gettext \
lang/python \
x11/gnome \
devel/gconf2
BUILD_DEPENDS= :py-gtk2->=2.10:x11/py-gtk2 \
:popt-*:devel/popt
2006-08-01 18:55:52 -04:00
LIB_DEPENDS= bz2.>=10.2::archivers/bzip2 \
gio-2.0,glib-2.0,gmodule-2.0,gobject-2.0::devel/glib2 \
xml2.>=8.4::textproc/libxml
RUN_DEPENDS-main= ${MODPY_RUN_DEPENDS} \
${MODGETTEXT_RUN_DEPENDS}
MODGCONF2_LIBDEP= No
MODGCONF2_SCHEMAS_DIR= libgsf
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-bz2 \
--with-python
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ENV+= GCONF2_SCHEMAS_DIR="${LOCALBASE}/${SCHEMAS_INSTDIR}"
RUN_DEPENDS-gnome= ${RUN_DEPENDS} \
${MODGCONF2_RUN_DEPENDS}
LIB_DEPENDS-gnome= ${LIB_DEPENDS} \
${MODGCONF2_LIB_DEPENDS} \
gsf-1::${BUILD_PKGPATH} \
gnomevfs-2.>=1800:gnome-vfs2->=2.18:x11/gnome/vfs2 \
bonobo-2,bonobo-activation::x11/gnome/libbonobo
WANTLIB-gnome= ${WANTLIB} crypto ssl ORBit-2 ORBitCosNaming-2 \
avahi-client avahi-common avahi-glib \
bonobo-activation gobject-2.0 gthread-2.0 util xml2 \
bz2 dbus-1 dbus-glib-1 glib-2.0 gmodule-2.0 \
gdk_pixbuf-2.0
.include <bsd.port.mk>