openbsd-ports/devel/dconf/Makefile

81 lines
1.8 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.50 2013/03/30 18:15:22 ajacoutot Exp $
2013-03-29 03:31:00 -04:00
SHARED_ONLY= Yes
2013-03-29 03:31:00 -04:00
COMMENT-main= configuration backend system
COMMENT-editor= graphical dconf(1) editor
2013-03-29 03:31:00 -04:00
GNOME_PROJECT= dconf
GNOME_VERSION= 0.16.0
2013-03-29 03:31:00 -04:00
PKGNAME-main= ${DISTNAME}
PKGNAME-editor= dconf-editor-${GNOME_VERSION}
REVISION-main= 0
2013-03-29 03:31:00 -04:00
SHARED_LIBS += dconf 1.0 # 1.0.0
SHARED_LIBS += dconf-dbus-1 1.0 # 1.0.0
2013-03-29 03:31:00 -04:00
CATEGORIES= devel
2013-03-29 03:31:00 -04:00
HOMEPAGE= http://live.gnome.org/dconf
2013-03-29 03:31:00 -04:00
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c gio-2.0 glib-2.0 gobject-2.0 pthread
WANTLIB-main += ${WANTLIB} dbus-1
WANTLIB-editor += ${WANTLIB} ${MODGETTEXT_WANTLIB}
2013-03-29 03:31:00 -04:00
WANTLIB-editor += atk-1.0 cairo cairo-gobject dconf fontconfig freetype
WANTLIB-editor += gdk-3 gdk_pixbuf-2.0 gmodule-2.0 gtk-3 m pango-1.0
WANTLIB-editor += pangocairo-1.0 pangoft2-1.0 xml2 z
2013-03-29 03:31:00 -04:00
MULTI_PACKAGES= -main -editor
2013-03-29 03:31:00 -04:00
PSEUDO_FLAVORS= no_editor bootstrap
FLAVOR?=
2013-03-29 03:31:00 -04:00
MODULES= devel/dconf \
devel/gettext \
x11/gnome
2013-03-29 03:31:00 -04:00
MODGNOME_DESKTOP_FILE= Yes
2011-09-27 02:25:10 -04:00
2013-03-29 03:31:00 -04:00
BUILD_DEPENDS= lang/vala
2013-03-29 03:31:00 -04:00
# man pages (adds textproc/libxslt)
BUILD_DEPENDS += textproc/docbook-xsl
2012-09-27 04:32:05 -04:00
RUN_DEPENDS-main= # empty
LIB_DEPENDS-main= devel/glib2 \
x11/dbus
2011-09-27 02:25:10 -04:00
RUN_DEPENDS-editor= ${RUN_DEPENDS} \
devel/desktop-file-utils
2011-09-27 02:25:10 -04:00
LIB_DEPENDS-editor= ${MODGETTEXT_LIB_DEPENDS} \
2012-09-27 04:45:52 -04:00
${BASE_PKGPATH},-main=${GNOME_VERSION} \
2011-09-27 02:25:10 -04:00
x11/gtk+3
2013-03-29 03:31:00 -04:00
CONFIGURE_STYLE= gnu
.include <bsd.port.arch.mk>
.if ${BUILD_PACKAGES:M-editor}
CONFIGURE_ARGS += --enable-editor
.else
CONFIGURE_ARGS += --disable-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>