openbsd-ports/x11/dbus-glib/Makefile
2007-02-01 07:56:24 +00:00

36 lines
790 B
Makefile

# $OpenBSD: Makefile,v 1.2 2007/02/01 07:56:24 todd Exp $
COMMENT= "glib bindings for dbus message system"
DISTNAME= dbus-glib-0.72
SHARED_LIBS += dbus-glib-1 2.0 # .2.0
CATEGORIES= x11
HOMEPAGE= http://dbus.freedesktop.org/
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= expat c pthread
MASTER_SITES= ${HOMEPAGE}releases/dbus-glib/
MODULES= devel/gettext
LIB_DEPENDS= dbus-1.>=5::x11/dbus \
glib-2.0,gobject-2.0::devel/glib2
SEPARATE_BUILD= simple
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include -pthread"
pre-build:
cp ${FILESDIR}/dbus-bus-introspect.xml ${WRKBUILD}/tools/
.include <bsd.port.mk>