GARNAME = ndesk-dbus
GARVERSION = 0.6.0
CATEGORIES = mono
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
MASTER_SITES = http://www.ndesk.org/archive/dbus-sharp/

LIBDEPS =  freedesktop/dbus mono/mono

DESCRIPTION = ndesl-dbus-glib
MAINTAINER = Joseph Sacco <jsacco@gnome.org>
define BLURB
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS)

include ../category.mk

pre-configure:
	@cd $(WORKSRC)/src; \
	if [ ! -f Address.cs- ]; then mv Address.cs Address.cs-; fi; \
	$(SED) -e 's?/var/?$(localstatedir)/?' Address.cs- > Address.cs
	$(MAKECOOKIE)

