openbsd-ports/inputmethods/ibus/Makefile
ajacoutot ef5cb32a0f Stupid autohell is stupid...
The situation is this: even when we --disable-gtk-doc, if gtk-doc is
actually installed at configure stage, tools like gtkdoc-rebase will be
picked up and run during the install target. That is bad because the
gtk-doc package may have been removed by then, especially during dpb(1)
bulks (we explicitely disable support for it so why should it stay...).

So for now, let's add the following env to configure whenever we use
--disable-gtk-doc, until a bettersolution is found...
CONFIGURE_ENV +=ac_cv_path_GTKDOC_CHECK="" \
		ac_cv_path_GTKDOC_REBASE="" \
		ac_cv_path_GTKDOC_MKPDF=""
2012-09-21 14:48:05 +00:00

70 lines
1.8 KiB
Makefile

# $OpenBSD: Makefile,v 1.28 2012/09/21 14:48:05 ajacoutot Exp $
SHARED_ONLY = Yes
COMMENT = intelligent input bus framework
DISTNAME = ibus-1.4.1
REVISION = 0
SHARED_LIBS = ibus-1.0 1.0
CATEGORIES = inputmethods chinese japanese korean
HOMEPAGE = http://code.google.com/p/ibus/
# LGPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo \
cairo-gobject dbus-1 dbus-glib-1 drm expat ffi fontconfig \
freetype gdk-3 gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 \
gmodule-2.0 gobject-2.0 gthread-2.0 gtk-3 gtk-x11-2.0 \
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 \
png pthread pthread-stubs stdc++ xcb xcb-render xcb-shm z
MASTER_SITES = http://ibus.googlecode.com/files/
MODULES = devel/gconf2 \
devel/gettext \
lang/python \
textproc/intltool
BUILD_DEPENDS = devel/gobject-introspection \
devel/iso-codes \
x11/dbus-python \
lang/vala
RUN_DEPENDS = devel/iso-codes \
devel/desktop-file-utils \
devel/py-notify \
x11/dbus-python \
x11/gnome/librsvg \
x11/gtk+2,-guic
LIB_DEPENDS = x11/gtk+2 \
x11/gtk+3
MODGCONF2_SCHEMAS_DIR = ibus
USE_GMAKE = Yes
USE_LIBTOOL = Yes
LIBTOOL_FLAGS = --tag=disable-static
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --enable-introspection \
--enable-gtk-doc-html=no
CONFIGURE_ENV = CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# If one of these tools is found at configure stage, it might be used,
# no matter whether we use --disable-gtk-doc or not.
CONFIGURE_ENV +=ac_cv_path_GTKDOC_CHECK="" \
ac_cv_path_GTKDOC_REBASE="" \
ac_cv_path_GTKDOC_MKPDF=""
.include <bsd.port.mk>