openbsd-ports/x11/dbus-glib/Makefile

48 lines
1004 B
Makefile

# $OpenBSD: Makefile,v 1.21 2010/08/25 20:27:16 sthen Exp $
COMMENT= glib bindings for dbus message system
DISTNAME= dbus-glib-0.86
EPOCH= 0
REVISION= 2
SHARED_LIBS+= dbus-glib-1 4.2 # .3.0
CATEGORIES= x11
HOMEPAGE= http://dbus.freedesktop.org/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2+
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= expat c pthread pcre dbus-1 glib-2.0 gobject-2.0 gthread-2.0
MASTER_SITES= ${HOMEPAGE}releases/dbus-glib/
MODULES= devel/gettext
LIB_DEPENDS= ::x11/dbus \
::devel/glib2
SEPARATE_BUILD= simple
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-bash-completion \
--enable-gtk-doc=no \
--disable-silent-rules \
--with-test-socket-dir=${WRKDIR}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FAKE_FLAGS+= completiondir="${PREFIX}/share/examples/dbus-glib"
.include <bsd.port.mk>