openbsd-ports/devel/dconf/dconf.port.mk
2011-05-28 08:15:33 +00:00

19 lines
657 B
Makefile

# $OpenBSD: dconf.port.mk,v 1.3 2011/05/28 08:15:33 ajacoutot Exp $
# This module is used by ports installing gsettings schemas under
# PREFIX/share/glib-2.0/schemas/
# It requires the following goo in PLIST:
# @exec %D/bin/glib-compile-schemas %D/share/glib-2.0/schemas >/dev/null
# @unexec-delete %D/bin/glib-compile-schemas %D/share/glib-2.0/schemas >/dev/null
# use the "no_editor" FLAVOR to prevent a cyclic dependency
MODDCONF_BUILD_DEPENDS= devel/glib2
MODDCONF_RUN_DEPENDS= devel/glib2 \
devel/dconf,no_editor
BUILD_DEPENDS += ${MODDCONF_BUILD_DEPENDS}
RUN_DEPENDS += ${MODDCONF_RUN_DEPENDS}
CONFIGURE_ARGS += --disable-schemas-compile