ajacoutot 73177d4bf3 Stop setting CONFIGURE_STYLE in Makefile.inc but explicitely add it to ports
that need it; in the future more and more ports will move to meson build anyway.
I first though I'd set CONFIGURE_STYLE in gnome.port.mk but it's too fragile
(MODULES list must be sorted very carefully).
Less magic is good.

discussed with jasper@
2017-04-13 07:38:44 +00:00

31 lines
650 B
Makefile

# $OpenBSD: Makefile,v 1.80 2017/04/13 07:38:45 ajacoutot Exp $
COMMENT= implementation of the FreeDesktop Desktop Menu Spec
GNOME_PROJECT= gnome-menus
GNOME_VERSION= 3.10.1
REVISION= 3
SHARED_LIBS += gnome-menu-3 0.0 # 0.0
# GPLv2/LGPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 pcre pthread
WANTLIB += z iconv intl
MODULES= x11/gnome
MODGNOME_TOOLS += gobject-introspection
LIB_DEPENDS= devel/glib2
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/gnome-menus
CONFIGURE_STYLE= gnu
pre-configure:
${SUBST_CMD} ${WRKSRC}/layout/gnome-applications.menu
.include <bsd.port.mk>