2010-11-26 02:18:59 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.56 2010/11/26 07:19:00 espie Exp $
|
2003-10-06 13:12:02 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT-main= GNOME Structured File library
|
|
|
|
COMMENT-gnome= GNOME specific extensions to libgsf
|
2003-10-06 13:12:02 -04:00
|
|
|
|
2008-06-03 12:34:43 -04:00
|
|
|
GNOME_PROJECT= libgsf
|
2010-09-26 01:50:59 -04:00
|
|
|
GNOME_VERSION= 1.14.19
|
2009-04-26 09:24:15 -04:00
|
|
|
|
2010-08-30 18:09:45 -04:00
|
|
|
PKGNAME-main= ${DISTNAME}
|
|
|
|
PKGNAME-gnome= libgsf-gnome-${VERSION}
|
2010-09-30 03:43:21 -04:00
|
|
|
REVISION-gnome= 0
|
2009-04-26 09:24:15 -04:00
|
|
|
|
2003-10-06 13:12:02 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2010-04-08 02:43:18 -04:00
|
|
|
SHARED_LIBS+= gsf-1 114.12
|
2009-01-07 13:06:19 -05:00
|
|
|
SHARED_LIBS+= gsf-gnome-1 114.11
|
2008-09-07 18:21:10 -04:00
|
|
|
|
2003-10-06 13:12:02 -04:00
|
|
|
HOMEPAGE= http://www.gnome.org/
|
|
|
|
|
2009-04-26 09:24:15 -04:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
|
|
Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2008-05-12 12:43:57 -04:00
|
|
|
# LGPL 2.1
|
2003-10-06 13:12:02 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-13 09:06:21 -05:00
|
|
|
|
2008-11-18 08:25:43 -05:00
|
|
|
MULTI_PACKAGES= -main -gnome
|
|
|
|
|
2010-11-15 14:45:56 -05:00
|
|
|
WANTLIB += c m z pcre pthread bz2>=10.2 gio-2.0 glib-2.0 gmodule-2.0
|
|
|
|
WANTLIB += gobject-2.0 gthread-2.0 xml2>=8.4
|
2003-10-06 13:12:02 -04:00
|
|
|
|
2007-05-06 07:32:34 -04:00
|
|
|
MODULES= devel/gettext \
|
2008-06-03 12:34:43 -04:00
|
|
|
lang/python \
|
2009-06-07 01:31:10 -04:00
|
|
|
x11/gnome \
|
|
|
|
devel/gconf2
|
2004-01-03 01:15:22 -05:00
|
|
|
|
2010-11-26 02:18:59 -05:00
|
|
|
BUILD_DEPENDS= x11/py-gtk2>=2.10 \
|
2010-11-15 14:45:56 -05:00
|
|
|
devel/popt
|
|
|
|
LIB_DEPENDS= archivers/bzip2 \
|
|
|
|
devel/glib2 \
|
|
|
|
textproc/libxml
|
2004-01-03 01:15:22 -05:00
|
|
|
|
2009-06-11 14:26:44 -04:00
|
|
|
RUN_DEPENDS-main= ${MODPY_RUN_DEPENDS} \
|
|
|
|
${MODGETTEXT_RUN_DEPENDS}
|
|
|
|
|
2009-06-07 01:31:10 -04:00
|
|
|
MODGCONF2_LIBDEP= No
|
|
|
|
MODGCONF2_SCHEMAS_DIR= libgsf
|
|
|
|
|
2008-09-07 18:21:10 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2008-06-03 12:34:43 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--with-bz2 \
|
2010-03-21 05:59:45 -04:00
|
|
|
--with-gio \
|
2009-06-07 01:31:10 -04:00
|
|
|
--with-python
|
2003-10-06 13:12:02 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2009-04-26 07:01:04 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2009-06-07 01:31:10 -04:00
|
|
|
MAKE_ENV+= GCONF2_SCHEMAS_DIR="${LOCALBASE}/${SCHEMAS_INSTDIR}"
|
2003-10-06 13:12:02 -04:00
|
|
|
|
2010-11-26 02:18:59 -05:00
|
|
|
USE_GROFF = Yes
|
2010-10-18 09:28:51 -04:00
|
|
|
|
2009-06-11 14:26:44 -04:00
|
|
|
RUN_DEPENDS-gnome= ${RUN_DEPENDS} \
|
|
|
|
${MODGCONF2_RUN_DEPENDS}
|
2007-05-06 07:32:34 -04:00
|
|
|
LIB_DEPENDS-gnome= ${LIB_DEPENDS} \
|
2010-11-15 14:45:56 -05:00
|
|
|
${BUILD_PKGPATH} \
|
|
|
|
x11/gnome/libbonobo
|
2010-11-08 04:57:39 -05:00
|
|
|
WANTLIB-gnome += ${WANTLIB} gsf-1 bonobo-2 bonobo-activation
|
2010-03-21 05:59:45 -04:00
|
|
|
WANTLIB-gnome += ORBit-2 ORBitCosNaming-2 gdk_pixbuf-2.0 gthread-2.0
|
2003-12-31 01:58:06 -05:00
|
|
|
|
2003-10-06 13:12:02 -04:00
|
|
|
.include <bsd.port.mk>
|