# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name gtksourceview-sharp2 set my_name gtksourceview-sharp-2.0 version 0.12 categories gnome devel license LGPL-2 maintainers nomaintainer platforms darwin description C# Bindings for GtkSourceView. long_description \ ${description} homepage http://www.mono-project.com/GtkSharp master_sites http://download.mono-project.com/sources/${name}/ distname ${my_name}-${version} use_bzip2 yes checksums md5 f0c9c6dc24b677d9208b0c8c38e769a4 \ sha1 36e673a67922b35b9b28b91e20464aa2fd9b457d \ rmd160 b9f54d87a4f61e81040f05ff9fddc389b3470510 patchfiles patch-Makefile.in.diff depends_build port:pkgconfig depends_lib port:mono \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:gtk-sharp2 \ port:gnome-sharp2 \ port:gtksourceview configure.args ac_cv_path_MONODOCER=no post-configure { # TODO This shouldn't be needed, we need to fix Mono dllmap library path. fs-traverse {f} ${worksrcpath} { if {[string match *.dll.config ${f}]} { reinplace -E "s|(target=\")|\\1${prefix}/lib/|" ${f} } } } universal_variant no livecheck.type regex livecheck.url ${master_sites} livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)