# $Id$ PortSystem 1.0 name mono version 2.0.1 categories devel lang mono platforms darwin maintainers mww description Implementation of the .NET Development Framework long_description Mono is an effort to create an open source \ implementation of the .NET Development Framework \ including a C# compiler. homepage http://www.go-mono.com/ master_sites ${homepage}sources/${name}/ use_bzip2 yes checksums md5 60ab4d1d1990826578891e90cd560fa0 \ sha1 1c06d614b9b83ca0c8cff98d06136fd5a17344e2 \ rmd160 ecada26dc398f0ea4cc4cae62885f4d1438bd540 depends_build port:pkgconfig port:gawk depends_lib port:gettext port:glib2 port:icu \ port:libiconv port:zlib port:libgdiplus lib:libX11.6:XFree86 patchfiles patch-configure.diff configure.env-append ACLOCAL_FLAGS="-I ${prefix}/share/aclocal" \ PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${x11prefix}/lib/pkgconfig" \ PKG_CONFIG="${prefix}/bin/pkg-config" configure.args --with-gc=included \ --with-preview=yes \ --without-sigaltstack \ --with-libgdiplus=${prefix} test.run yes test.target check post-patch { reinplace "s/-pthread/-lpthread/g" ${worksrcpath}/configure } post-destroot { set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING.LIB ChangeLog NEWS README \ ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath}/docs assembly-bundle embedded-api exceptions \ gc-issues jit-thoughts jit-trampolines object-layout stack-alignment unmanaged-calls \ ${destroot}${docdir} move ${destroot}${prefix}/share/jay ${destroot}${docdir} set libgc_docdir ${prefix}/share/doc/ligbc-mono-6.6 eval move ${destroot}${prefix}/share/libgc-mono \ ${destroot}${libgc_docdir} xinstall -d ${destroot}${libgc_docdir}/html eval move [glob ${destroot}${libgc_docdir}/*.html] \ ${destroot}${libgc_docdir}/html } platform darwin 9 { depends_lib-delete port:icu configure.cflags-append -D_NONSTD_SOURCE configure.cxxflags-append -D_NONSTD_SOURCE patchfiles-append patch-interp.h.diff patch-sys-mman.c.diff \ patch-mono-mini-mini-ppc.h.diff \ patch-mono-mini-mini-x86.h.diff \ patch-libgc-darwin_stop_world.c.diff } livecheck.check regex livecheck.url ${homepage}sources-stable/ livecheck.regex mono/mono-(\\d+(?:\\.\\d+)*)