openbsd-ports/x11/dbus-glib/Makefile
jasper 6c7f4c600c - update dbus-glib to 0.78
- enable bash completion (as discussed with ajacoutot@ and brad@)

looks good to ajacoutot@
brad@ had a similar diff
2008-12-09 19:43:16 +00:00

40 lines
897 B
Makefile

# $OpenBSD: Makefile,v 1.11 2008/12/09 19:43:16 jasper Exp $
COMMENT= glib bindings for dbus message system
DISTNAME= dbus-glib-0.78
SHARED_LIBS+= dbus-glib-1 4.1
CATEGORIES= x11
HOMEPAGE= http://dbus.freedesktop.org/
# GPLv2+
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= expat c pthread pcre
MASTER_SITES= ${HOMEPAGE}releases/dbus-glib/
MODULES= devel/gettext
LIB_DEPENDS= dbus-1.>=7::x11/dbus \
glib-2.0,gobject-2.0::devel/glib2
#CFLAGS+= -I${LOCALBASE}/include -pthread
SEPARATE_BUILD= simple
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--enable-bash-completion
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FAKE_FLAGS+= profiledir="${PREFIX}/share/dbus-glib"
pre-build:
@cp ${FILESDIR}/dbus-bus-introspect.xml ${WRKBUILD}/tools
.include <bsd.port.mk>