2013-03-30 14:15:22 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.50 2013/03/30 18:15:22 ajacoutot Exp $
|
2010-10-27 06:50:04 -04:00
|
|
|
|
2013-03-29 03:31:00 -04:00
|
|
|
SHARED_ONLY= Yes
|
2010-10-27 06:50:04 -04:00
|
|
|
|
2013-03-29 03:31:00 -04:00
|
|
|
COMMENT-main= configuration backend system
|
|
|
|
COMMENT-editor= graphical dconf(1) editor
|
2010-10-27 06:50:04 -04:00
|
|
|
|
2013-03-29 03:31:00 -04:00
|
|
|
GNOME_PROJECT= dconf
|
|
|
|
GNOME_VERSION= 0.16.0
|
2010-10-27 06:50:04 -04:00
|
|
|
|
2013-03-29 03:31:00 -04:00
|
|
|
PKGNAME-main= ${DISTNAME}
|
|
|
|
PKGNAME-editor= dconf-editor-${GNOME_VERSION}
|
2011-03-25 04:30:56 -04:00
|
|
|
|
2013-03-30 14:15:22 -04:00
|
|
|
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-01-11 05:09:20 -05:00
|
|
|
|
2013-03-29 03:31:00 -04:00
|
|
|
CATEGORIES= devel
|
2010-10-27 06:50:04 -04:00
|
|
|
|
2013-03-29 03:31:00 -04:00
|
|
|
HOMEPAGE= http://live.gnome.org/dconf
|
2010-10-27 06:50:04 -04:00
|
|
|
|
2013-03-29 03:31:00 -04:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
|
|
Antoine Jacoutot <ajacoutot@openbsd.org>
|
2010-10-27 06:50:04 -04:00
|
|
|
|
|
|
|
# LGPLv2.1
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2012-03-29 02:26:38 -04:00
|
|
|
WANTLIB += c gio-2.0 glib-2.0 gobject-2.0 pthread
|
2011-03-25 04:30:56 -04:00
|
|
|
|
2011-04-05 14:45:05 -04:00
|
|
|
WANTLIB-main += ${WANTLIB} dbus-1
|
|
|
|
|
2011-03-25 04:30:56 -04:00
|
|
|
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
|
2011-03-25 04:30:56 -04:00
|
|
|
|
2013-03-29 03:31:00 -04:00
|
|
|
MULTI_PACKAGES= -main -editor
|
2011-03-25 04:30:56 -04:00
|
|
|
|
2013-03-29 03:31:00 -04:00
|
|
|
PSEUDO_FLAVORS= no_editor bootstrap
|
2011-03-25 04:30:56 -04:00
|
|
|
FLAVOR?=
|
2010-10-27 06:50:04 -04:00
|
|
|
|
2013-03-29 03:31:00 -04:00
|
|
|
MODULES= devel/dconf \
|
|
|
|
devel/gettext \
|
|
|
|
x11/gnome
|
2010-10-27 06:50:04 -04:00
|
|
|
|
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
|
2011-03-25 04:30:56 -04:00
|
|
|
|
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
|
|
|
|
2011-03-25 04:30:56 -04:00
|
|
|
RUN_DEPENDS-main= # empty
|
2011-04-05 14:45:05 -04:00
|
|
|
LIB_DEPENDS-main= devel/glib2 \
|
|
|
|
x11/dbus
|
2011-03-25 04:30:56 -04:00
|
|
|
|
2011-09-27 02:25:10 -04:00
|
|
|
RUN_DEPENDS-editor= ${RUN_DEPENDS} \
|
2011-04-05 14:45:05 -04:00
|
|
|
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
|
2010-10-27 06:50:04 -04:00
|
|
|
|
2013-03-29 03:31:00 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2010-10-27 06:50:04 -04:00
|
|
|
|
2011-11-11 06:39:13 -05:00
|
|
|
.include <bsd.port.arch.mk>
|
|
|
|
|
|
|
|
.if ${BUILD_PACKAGES:M-editor}
|
2011-03-25 04:30:56 -04:00
|
|
|
CONFIGURE_ARGS += --enable-editor
|
2011-11-11 06:39:13 -05:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS += --disable-editor
|
2011-03-25 04:30:56 -04:00
|
|
|
.endif
|
|
|
|
|
2010-10-27 06:50:04 -04:00
|
|
|
pre-configure:
|
2011-03-25 03:37:15 -04:00
|
|
|
${SUBST_CMD} ${WRKSRC}/{bin,client,editor}/Makefile.in \
|
2011-04-05 14:45:05 -04:00
|
|
|
${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
|
2010-10-27 06:50:04 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|