openbsd-ports/devel/dconf/Makefile

85 lines
2.1 KiB
Makefile
Raw Normal View History

2011-09-20 16:51:51 -04:00
# $OpenBSD: Makefile,v 1.28 2011/09/20 20:51:51 jasper Exp $
SHARED_ONLY= Yes
COMMENT-main= configuration backend system
COMMENT-editor= editor for the dconf configuration storage system
GNOME_PROJECT= dconf
2011-07-26 11:13:45 -04:00
GNOME_VERSION= 0.8.0
PKGNAME-main= ${DISTNAME}
PKGNAME-editor= dconf-editor-${GNOME_VERSION}
2011-09-16 05:24:48 -04:00
REVISION-main = 0
REVISION-editor = 1
SHARED_LIBS+= dconf 0.0 # 0.0.0
SHARED_LIBS+= dconf-dbus-1 0.0 # 0.0.0
CATEGORIES= devel
HOMEPAGE= http://live.gnome.org/dconf
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += pthread
WANTLIB-main += ${WANTLIB} dbus-1
WANTLIB-editor += ${WANTLIB} ${MODGETTEXT_WANTLIB}
2011-07-26 11:13:45 -04:00
WANTLIB-editor += GL X11 Xcomposite Xcursor Xdamage Xext Xfixes
WANTLIB-editor += Xi Xinerama Xrandr Xrender atk-1.0 cairo cairo-gobject
WANTLIB-editor += expat fontconfig freetype gdk-3 gdk_pixbuf-2.0
WANTLIB-editor += gtk-3 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1
WANTLIB-editor += png pthread-stubs xcb xcb-render xcb-shm xml2 z dconf
MULTI_PACKAGES= -main
PSEUDO_FLAVORS= no_editor
FLAVOR?=
MODULES= devel/gettext \
x11/gnome \
devel/dconf
BUILD_DEPENDS= lang/vala>=0.12.0
RUN_DEPENDS-main= # empty
LIB_DEPENDS-main= devel/glib2 \
x11/dbus
RUN_DEPENDS-editor= ${MODGETTEXT_RUN_DEPENDS} \
${MODDCONF_RUN_DEPENDS} \
devel/desktop-file-utils
LIB_DEPENDS-editor= x11/gtk+3
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -pthread"
2011-05-06 10:22:27 -04:00
FAKE_FLAGS= completiondir=${PREFIX}/share/examples/dconf/bash_completion.d
.if ${FLAVOR:L:Mno_editor}
CONFIGURE_ARGS += --disable-editor
.else
MULTI_PACKAGES += -editor
CONFIGURE_ARGS += --enable-editor
.endif
pre-configure:
2011-03-25 03:37:15 -04:00
${SUBST_CMD} ${WRKSRC}/{bin,client,editor}/Makefile.in \
${WRKSRC}/dbus-1/Makefile.in
2011-06-03 09:26:57 -04:00
perl -pi -e 's,/etc/dconf,${SYSCONFDIR}/dconf,g' \
${WRKSRC}/{engine/dconf-engine,bin/dconf-update}.c
.include <bsd.port.mk>