1 # Created by: Juli Mallett
7 CATEGORIES= x11-toolkits
8 MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/
11 MAINTAINER= mono@FreeBSD.org
12 COMMENT= GTK+ and GNOME interfaces for the .NET runtime
14 BUILD_DEPENDS= mono:lang/mono
15 RUN_DEPENDS= mono:lang/mono
18 INSTALL_TARGET= install-strip
19 USES= gmake libtool mono pathfix perl5 pkgconfig
22 USE_GNOME= gtkhtml3 vte librsvg2 libgnomecanvas \
23 libgnomeprintui libglade2 libgnomeui
26 @${FIND} ${WRKSRC} -name '*.pl' -o -name 'gapi-parser' | ${XARGS} \
27 ${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|'
28 @${REINPLACE_CMD} -e 's|enable_gda=yes|enable_gda=no|g ; \
29 s|enable_gnomedb=yes|enable_gnomedb=no|g ; \
30 s|libgtkhtml-3.8|libgtkhtml-3.14|g' ${WRKSRC}/configure
31 @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
32 ${WRKSRC}/glib/glue/slist.c ${WRKSRC}/glib/glue/list.c
34 .include <bsd.port.mk>