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

51 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.43 2017/04/13 07:38:44 ajacoutot Exp $
COMMENT= input assistive technology
GNOME_PROJECT= caribou
GNOME_VERSION= 0.4.21
REVISION= 0
SHARED_LIBS += caribou 0.0 # 0.0
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += EGL ICE SM X11 X11-xcb Xcomposite Xcursor Xdamage Xext
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender Xtst atk-1.0 atk-bridge-2.0
WANTLIB += atspi c cairo cairo-gobject clutter-1.0 cogl cogl-pango
WANTLIB += cogl-path dbus-1 drm epoxy expat ffi fontconfig freetype
WANTLIB += gbm gdk-3 gdk-x11-2.0 gdk_pixbuf-2.0 gee-0.8 gio-2.0
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 graphite2 gthread-2.0
WANTLIB += gtk-3 gtk-x11-2.0 harfbuzz iconv intl json-glib-1.0
WANTLIB += lzma m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
WANTLIB += png pthread pthread-stubs xcb xcb-dri2 xcb-render xcb-shape
WANTLIB += xcb-shm xcb-xfixes xkbfile xklavier xml2 z
MODULES= devel/dconf \
lang/python \
x11/gnome
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
BUILD_DEPENDS= devel/py-gobject3,${MODPY_FLAVOR} \
lang/vala \
textproc/libxslt
RUN_DEPENDS= devel/py-gobject3,${MODPY_FLAVOR}
LIB_DEPENDS= devel/libgee \
graphics/clutter/core \
x11/gnome/libxklavier \
x11/gtk+2 \
x11/gtk+3
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/caribou
CONFIGURE_STYLE= gnu
post-install:
rm ${PREFIX}/lib/gtk-{2,3}.0/modules/*.{a,la}
.include <bsd.port.mk>