openbsd-ports/devel/gconf2/Makefile

107 lines
2.8 KiB
Makefile
Raw Normal View History

2011-09-18 18:04:01 -04:00
# $OpenBSD: Makefile,v 1.63 2011/09/18 22:04:01 ajacoutot Exp $
COMMENT-main= configuration database system for GNOME
COMMENT-polkit= PolicyKit integration for GConf2
COMMENT-gtk= GConf2 configuration checker
GNOME_PROJECT= GConf
2011-06-16 11:30:14 -04:00
GNOME_VERSION= 2.32.4
2011-09-18 18:04:01 -04:00
PKGNAME= gconf2-${GNOME_VERSION}
2010-08-02 03:25:50 -04:00
PKGNAME-main= gconf2-${GNOME_VERSION}
PKGNAME-polkit= gconf2-polkit-${GNOME_VERSION}
PKGNAME-gtk= gconf2-sanity-check-${GNOME_VERSION}
2009-10-16 06:10:16 -04:00
2011-09-18 18:04:01 -04:00
REVISION-main= 2
REVISION-gtk= 3
REVISION-polkit=2
2010-09-30 03:32:49 -04:00
SHARED_LIBS += gconf-2 6.2 # 5.5
2009-10-16 06:10:16 -04:00
CATEGORIES= devel
CATEGORIES-polkit= devel sysutils
CATEGORIES-gtk= devel x11
HOMEPAGE= http://www.gnome.org/projects/gconf/
2009-10-16 06:10:16 -04:00
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPLv2
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
EXTRACT_SUFX= .tar.bz2
WANTLIB += c gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gthread-2.0 pcre pthread z
WANTLIB-main += ${WANTLIB} ORBit-2 m xml2 dbus-1 dbus-glib-1
2010-09-30 03:32:49 -04:00
WANTLIB-polkit += ${WANTLIB} gconf-2 polkit-gobject-1
WANTLIB-polkit += ORBit-2 c dbus-1 dbus-glib-1 gio-2.0 glib-2.0
WANTLIB-polkit += gmodule-2.0 gobject-2.0 gthread-2.0 pcre pthread z
WANTLIB-polkit += dbus-1 dbus-glib-1
WANTLIB-gtk += ${WANTLIB}
WANTLIB-gtk += GL ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB-gtk += Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0
WANTLIB-gtk += cairo drm expat fontconfig freetype gconf-2
WANTLIB-gtk += gdk_pixbuf-2.0 m pango-1.0 pangocairo-1.0
WANTLIB-gtk += pangoft2-1.0 pixman-1 png pthread-stubs xcb xcb-render
2011-09-12 04:21:08 -04:00
WANTLIB-gtk += xcb-shm xml2 cairo-gobject gdk-3 gtk-3
MODULES= devel/gettext \
x11/gnome
2011-09-18 18:04:01 -04:00
# needed for gsettings-schema-convert(1)
MODULES+= lang/python
MODPY_BUILDDEP= No
MODPY_RUNDEP= No
MODPY_ADJ_FILES=gsettings/gsettings-schema-convert
MULTI_PACKAGES= -main -polkit -gtk
BUILD_DEPENDS= devel/gobject-introspection
RUN_DEPENDS-main= ${MODGETTEXT_RUN_DEPENDS}
LIB_DEPENDS-main= ${LIB_DEPENDS} \
2010-11-15 14:45:56 -05:00
devel/ORBit2 \
textproc/libxml \
x11/dbus-glib
RUN_DEPENDS-polkit= # empty
LIB_DEPENDS-polkit= ${LIB_DEPENDS} \
2010-11-15 14:45:56 -05:00
devel/gconf2 \
sysutils/polkit
RUN_DEPENDS-gtk= # empty
LIB_DEPENDS-gtk= ${LIB_DEPENDS} \
2011-09-12 04:21:08 -04:00
devel/gconf2 \
x11/gtk+3
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
2010-09-30 03:32:49 -04:00
--disable-gtk-doc \
--without-openldap \
--enable-introspection \
2011-09-12 04:43:00 -04:00
--enable-defaults-service \
--with-gtk=3.0
USE_GROFF= Yes
FAKE_FLAGS= sysgconfdir=${PREFIX}/share/examples/gconf2 \
sysconfdir=${PREFIX}/share/examples/gconf2
2011-04-10 04:33:13 -04:00
pre-configure:
${SUBST_CMD} ${WRKSRC}/gsettings/gsettings-data-convert.1
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/schemas/
.include <bsd.port.mk>