# -*- 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
name gtksourceview-sharp2
set my_name gtksourceview-sharp-2.0
description C# Bindings for GtkSourceView.
homepage http://www.mono-project.com/GtkSharp
master_sites http://download.mono-project.com/sources/${name}/
distname ${my_name}-${version}
checksums md5 f0c9c6dc24b677d9208b0c8c38e769a4 \
sha1 36e673a67922b35b9b28b91e20464aa2fd9b457d \
rmd160 b9f54d87a4f61e81040f05ff9fddc389b3470510
patchfiles patch-Makefile.in.diff
depends_build port:pkgconfig
path:lib/pkgconfig/glib-2.0.pc:glib2 \
configure.args ac_cv_path_MONODOCER=no
# 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}
livecheck.url ${master_sites}
livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)