[33919] trunk/dports/devel/mono/Portfile
nox at macports.org
nox at macports.org
Thu Feb 7 02:10:26 PST 2008
Revision: 33919
http://trac.macosforge.org/projects/macports/changeset/33919
Author: nox at macports.org
Date: 2008-02-07 02:10:25 -0800 (Thu, 07 Feb 2008)
Log Message:
-----------
mono (closes #14071):
* Updated to 1.2.6.
* Added X11 dependency needed by System.Windows.Form.
* Documentation directory is now versioned for consistency with other ports.
* Removed useless mandir configure argument.
* Fixed pthread linking.
* Removed useless configure.env settings and bison dependency (works well with the one provided by Apple).
Modified Paths:
--------------
trunk/dports/devel/mono/Portfile
Modified: trunk/dports/devel/mono/Portfile
===================================================================
--- trunk/dports/devel/mono/Portfile 2008-02-07 09:51:48 UTC (rev 33918)
+++ trunk/dports/devel/mono/Portfile 2008-02-07 10:10:25 UTC (rev 33919)
@@ -3,7 +3,7 @@
PortSystem 1.0
name mono
-version 1.2.5.2
+version 1.2.6
categories devel lang mono
platforms darwin
maintainers mww
@@ -13,46 +13,61 @@
including a C# compiler.
homepage http://www.go-mono.com/
-master_sites http://go-mono.com/sources/mono/
-checksums sha1 006a9e2e6a5abc09a01a9eb65af4b39a1f683701
+master_sites ${homepage}sources/${name}/
use_bzip2 yes
-depends_build port:pkgconfig port:bison port:gawk
+checksums md5 391f85b4f962269e044ceac2b5235310 \
+ sha1 f51f2e14d05313dba4b2d3fd5a47a9a3361ebeae \
+ rmd160 c6536b008cb73845943956c9ab365589a28c013c
+
+depends_build port:pkgconfig port:gawk
depends_lib port:gettext port:glib2 port:icu \
- port:libiconv port:zlib port:libgdiplus
+ port:libiconv port:zlib port:libgdiplus lib:libX11.6:XFree86
patchfiles patch-configure
configure.env-append ACLOCAL_FLAGS="-I ${prefix}/share/aclocal" \
PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${x11prefix}/lib/pkgconfig" \
- AWK="${prefix}/bin/gawk" \
- BISON="${prefix}/bin/bison" \
PKG_CONFIG="${prefix}/bin/pkg-config"
+
configure.args --with-gc=included \
--with-preview=yes \
--without-sigaltstack \
- --with-libgdiplus=${prefix} \
- --mandir=${prefix}/share/man
+ --with-libgdiplus=${prefix}
-#destroot.env DYLD_LIBRARY_PATH=${worksrcpath}/mono/mini/.libs:${worksrcpath}/mono/interpreter/.libs:${prefix}/lib:${x11prefix}/lib
-
test.run yes
test.target check
livecheck.check regex
-livecheck.url http://go-mono.com/sources-stable/
-livecheck.regex mono/mono-(\[0-9\.\]*)\.tar
+livecheck.url ${homepage}sources-stable/
+livecheck.regex mono/mono-(\\d+(?:\\.\\d+)*)
+post-patch {
+ reinplace "s/-pthread/-lpthread/g" ${worksrcpath}/configure
+}
+
post-destroot {
- set doc ${worksrcpath}/docs
- xinstall -m 755 -d ${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}
+ 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 {
@@ -62,4 +77,3 @@
configure.cxxflags-append -D_NONSTD_SOURCE
patchfiles-append patch-interp.h patch-stdio.c patch-sys-mman.c
}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080207/b8902688/attachment.html
More information about the macports-changes
mailing list