# Created by: Tom McLaughlin <tmclaugh@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_1_0/x11-toolkits/gnome-sharp20/Makefile 366474 2014-08-29 09:18:02Z amdmi3 $

PORTNAME=	gnome-sharp
PORTVERSION=	2.24.2
PORTREVISION=	3
CATEGORIES=	x11-toolkits
MASTER_SITES=	GNOME

MAINTAINER=	mono@FreeBSD.org
COMMENT=	GNOME interfaces for the .NET runtime

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
USES=		gmake libtool mono pathfix perl5 pkgconfig tar:bzip2
USE_PERL5=	run
USE_GNOME=	gnomepanel gtksharp20 librsvg2 vte libgnomeprintui libgnomeui
MAKE_JOBS_UNSAFE=	yes
INSTALL_TARGET=	install-strip

post-patch:
	@${FIND} ${WRKSRC} -name '*.pl' | ${XARGS} ${REINPLACE_CMD} -e \
		's|^#!/usr/bin/perl|#!${PERL}|'

.include <bsd.port.mk>
