Ticket #14071: mono-1.2.6.diff
File mono-1.2.6.diff, 3.3 KB (added by nox@…, 17 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name mono 6 version 1.2. 5.26 version 1.2.6 7 7 categories devel lang mono 8 8 platforms darwin 9 9 maintainers mww … … 13 13 including a C# compiler. 14 14 15 15 homepage http://www.go-mono.com/ 16 master_sites http://go-mono.com/sources/mono/ 17 checksums sha1 006a9e2e6a5abc09a01a9eb65af4b39a1f683701 16 master_sites ${homepage}sources/${name}/ 18 17 use_bzip2 yes 19 18 20 depends_build port:pkgconfig port:bison port:gawk 19 checksums md5 391f85b4f962269e044ceac2b5235310 \ 20 sha1 f51f2e14d05313dba4b2d3fd5a47a9a3361ebeae \ 21 rmd160 c6536b008cb73845943956c9ab365589a28c013c 22 23 depends_build port:pkgconfig port:gawk 21 24 depends_lib port:gettext port:glib2 port:icu \ 22 port:libiconv port:zlib port:libgdiplus 25 port:libiconv port:zlib port:libgdiplus lib:libX11.6:XFree86 23 26 24 27 patchfiles patch-configure 25 28 26 29 configure.env-append ACLOCAL_FLAGS="-I ${prefix}/share/aclocal" \ 27 30 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${x11prefix}/lib/pkgconfig" \ 28 AWK="${prefix}/bin/gawk" \29 BISON="${prefix}/bin/bison" \30 31 PKG_CONFIG="${prefix}/bin/pkg-config" 32 31 33 configure.args --with-gc=included \ 32 34 --with-preview=yes \ 33 35 --without-sigaltstack \ 34 --with-libgdiplus=${prefix} \ 35 --mandir=${prefix}/share/man 36 --with-libgdiplus=${prefix} 36 37 37 #destroot.env DYLD_LIBRARY_PATH=${worksrcpath}/mono/mini/.libs:${worksrcpath}/mono/interpreter/.libs:${prefix}/lib:${x11prefix}/lib38 39 38 test.run yes 40 39 test.target check 41 40 42 41 livecheck.check regex 43 livecheck.url http://go-mono.com/sources-stable/44 livecheck.regex mono/mono-(\[0-9\.\]*)\.tar42 livecheck.url ${homepage}sources-stable/ 43 livecheck.regex mono/mono-(\\d+(?:\\.\\d+)*) 45 44 45 post-patch { 46 reinplace "s/-pthread/-lpthread/g" ${worksrcpath}/configure 47 } 48 46 49 post-destroot { 47 set doc ${worksrcpath}/docs 48 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 49 file copy ${doc}/assembly-bundle ${doc}/embedded-api ${doc}/exceptions \ 50 ${doc}/gc-issues ${doc}/jit-thoughts ${doc}/jit-trampolines \ 51 ${doc}/object-layout ${doc}/stack-alignment \ 52 ${doc}/unmanaged-calls ${worksrcpath}/AUTHORS \ 53 ${worksrcpath}/COPYING.LIB ${worksrcpath}/ChangeLog \ 54 ${worksrcpath}/NEWS ${worksrcpath}/README \ 55 ${destroot}${prefix}/share/doc/${name} 50 set docdir ${prefix}/share/doc/${name}-${version} 51 52 xinstall -d ${destroot}${docdir} 53 xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING.LIB ChangeLog NEWS README \ 54 ${destroot}${docdir} 55 56 xinstall -m 0644 -W ${worksrcpath}/docs assembly-bundle embedded-api exceptions \ 57 gc-issues jit-thoughts jit-trampolines object-layout stack-alignment unmanaged-calls \ 58 ${destroot}${docdir} 59 60 move ${destroot}${prefix}/share/jay ${destroot}${docdir} 61 62 set libgc_docdir ${prefix}/share/doc/ligbc-mono-6.6 63 64 eval move ${destroot}${prefix}/share/libgc-mono \ 65 ${destroot}${libgc_docdir} 66 67 xinstall -d ${destroot}${libgc_docdir}/html 68 69 eval move [glob ${destroot}${libgc_docdir}/*.html] \ 70 ${destroot}${libgc_docdir}/html 56 71 } 57 72 58 73 platform darwin 8 { … … 66 81 configure.cxxflags-append -D_NONSTD_SOURCE 67 82 patchfiles-append patch-interp.h patch-stdio.c patch-sys-mman.c 68 83 } 69