# $Id: Portfile 33113 2008-01-18 14:26:53Z nox@macports.org $ PortSystem 1.0 name gtk-sharp2 set my_name gtk-sharp version 2.10.2 revision 2 set branch [join [lrange [split ${version} .] 0 1] ""] categories x11 devel platforms darwin maintainers nox openmaintainer description Gtk bindings for the Mono .NET Development Framework long_description \ This is the Gtk# toolkit for Mono, an implementation \ of the .NET Development Framework. homepage http://gtk-sharp.sourceforge.net/ master_sites http://go-mono.com/sources/${my_name}${branch}/ distname ${my_name}-${version} use_bzip2 yes checksums md5 7d509a677c58b2e6a8c85db51d0b1451 \ sha1 7e78d94a4cfe7b1fb3696893f2622d2c7f3c47dc \ rmd160 78394b4ebfbf59b29d80d012227adf65f465991a patchfiles patch-gdk-sharp.dll.config.in.diff \ patch-glade-sharp.dll.config.in.diff \ patch-glib-sharp.dll.config.in.diff \ patch-gtk-sharp.dll.config.in.diff \ patch-pango-sharp.dll.config.in.diff depends_build port:monodoc depends_lib port:mono \ port:glib2 \ port:atk \ port:pango \ port:gtk2 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} } } } variant debug { configure.args-append --enable-debug } livecheck.check regex livecheck.url http://go-mono.com/sources-stable/ livecheck.regex ${my_name}-(2\\.10(?:\\.\\d+)*)