PORTNAME=	gtk-sharp
PORTVERSION=	2.99.3
PORTREVISION=	3
CATEGORIES=	x11-toolkits
MASTER_SITES=	GNOME
PKGNAMESUFFIX=	30

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	GTK+ and GNOME interfaces for the .NET runtime

LICENSE=	lgpl
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libinotify.so:devel/libinotify
RUN_DEPENDS=	p5-XML-LibXML>=0:textproc/p5-XML-LibXML

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
USE_GNOME=	cairo gdkpixbuf2 gtk30
USES=		gettext-runtime gmake gnome libtool mono pathfix perl5 \
		pkgconfig tar:xz
USE_PERL5=	run
MAKE_ENV=	INSTALL_STRIP_FLAG=${STRIP}

post-patch:
	@${REINPLACE_CMD} -e 's|gmcs|mcs|g' \
		${WRKSRC}/configure

.include <bsd.port.mk>
