freebsd-ports/x11-toolkits/gtk-sharp10/Makefile

37 lines
1.1 KiB
Makefile
Raw Normal View History

2013-09-03 14:13:23 +02:00
# Created by: Juli Mallett
# $FreeBSD$
PORTNAME= gtk-sharp
PORTVERSION= 1.0.10
2012-06-01 07:26:28 +02:00
PORTREVISION= 21
CATEGORIES= x11-toolkits
2008-06-18 22:09:57 +02:00
MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/
2013-11-16 18:58:03 +01:00
PKGNAMESUFFIX= 10
MAINTAINER= mono@FreeBSD.org
COMMENT= GTK+ and GNOME interfaces for the .NET runtime
BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
LATEST_LINK= gtk-sharp10
GNU_CONFIGURE= yes
2007-02-04 23:31:15 +01:00
USE_LDCONFIG= yes
2014-05-26 15:29:39 +02:00
USES= gmake mono pathfix perl5 pkgconfig
USE_PERL5= run
2013-11-16 18:58:03 +01:00
USE_GNOME= gtkhtml3 vte librsvg2 libgnomecanvas \
libgnomeprintui libglade2 libgnomeui
2013-11-16 18:58:03 +01:00
MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP}
2010-12-04 08:34:27 +01:00
USE_AUTOTOOLS= libtool
2007-06-23 22:48:38 +02:00
post-patch:
2013-11-16 18:58:03 +01:00
@${FIND} ${WRKSRC} -name '*.pl' -o -name 'gapi-parser' | ${XARGS} \
${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|'
@${REINPLACE_CMD} -e 's|enable_gda=yes|enable_gda=no|g ; \
s|enable_gnomedb=yes|enable_gnomedb=no|g ; \
s|libgtkhtml-3.8|libgtkhtml-3.14|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
${WRKSRC}/glib/glue/slist.c ${WRKSRC}/glib/glue/list.c
.include <bsd.port.mk>