# $Id: Portfile,v 1.1 2003/12/17 21:28:06 mww Exp $ PortSystem 1.0 name mono version 0.29 categories devel platforms darwin maintainers mww@opendarwin.org 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}/archive/ checksums md5 3f79461475bacc2ec4c3f85de213d8a0 depends_lib bin:pkg-config:pkgconfig \ lib:libglib.2:glib2 variant darwin { patchfiles patch-sockets.h.diff configure.args --disable-shared \ --with-gc=none } configure.env CPPFLAGS="-I${prefix}/include" \ LDFLAGS="-L${prefix}/lib" destroot.destdir DESTDIR=${destroot} post-destroot { set doc ${worksrcpath}/docs file mkdir ${destroot}${prefix}/share/doc/${name} file copy ${doc}/assembly-bundle ${doc}/embedded-api ${doc}/exceptions \ ${doc}/gc-issues ${doc}/jit-thoughts ${doc}/jit-trampolines \ ${doc}/object-layout ${doc}/stack-alignment \ ${doc}/unmanaged-calls ${worksrcpath}/AUTHORS \ ${worksrcpath}/COPYING.LIB ${worksrcpath}/ChangeLog \ ${worksrcpath}/NEWS ${worksrcpath}/README \ ${destroot}${prefix}/share/doc/${name} }