[135648] trunk/dports/devel/mono/Portfile

cal at macports.org cal at macports.org
Tue Apr 28 15:18:27 PDT 2015


Revision: 135648
          https://trac.macports.org/changeset/135648
Author:   cal at macports.org
Date:     2015-04-28 15:18:27 -0700 (Tue, 28 Apr 2015)
Log Message:
-----------
mono: add modeline, unify whitespace, fix homepage and livecheck

Modified Paths:
--------------
    trunk/dports/devel/mono/Portfile

Modified: trunk/dports/devel/mono/Portfile
===================================================================
--- trunk/dports/devel/mono/Portfile	2015-04-28 21:35:36 UTC (rev 135647)
+++ trunk/dports/devel/mono/Portfile	2015-04-28 22:18:27 UTC (rev 135648)
@@ -1,22 +1,23 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
 
-name             mono
+name                mono
 version             3.2.5
-categories       devel lang mono
-platforms        darwin
-license          {GPL-2 LGPL-2 MIT}
-maintainers      nomaintainer
-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.
+categories          devel lang mono
+platforms           darwin
+license             {GPL-2 LGPL-2 MIT}
+maintainers         nomaintainer
+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     http://download.mono-project.com/sources/mono/
-use_bzip2        yes
-universal_variant no
+homepage            http://www.mono-project.com/
+master_sites        http://download.mono-project.com/sources/mono/
+use_bzip2           yes
+universal_variant   no
 
 checksums           rmd160  5288fd23126c2e1057ffd6440146e74f6aa7bf45 \
                     sha256  10ba475db458c96091d8bbf29485cce8f4c6c6532a89834f089c483f4ffa5fd3
@@ -25,27 +26,33 @@
                     port:gawk \
                     port:pkgconfig
 
-depends_lib      port:gettext path:lib/pkgconfig/glib-2.0.pc:glib2 \
-                 port:libiconv port:zlib port:libgdiplus port:xorg-libX11
+depends_lib         port:gettext \
+                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
+                    port:libiconv \
+                    port:zlib \
+                    port:libgdiplus \
+                    port:xorg-libX11
 
 # Do NOT pick up external boehmgc (prefixing CPPFLAGS or CFLAGS does not suffice -- ugly++)
-configure.cc-append	"-I${worksrcpath}/libgc/include"
+configure.cc-append "-I${worksrcpath}/libgc/include"
 
-configure.args   --with-gc=included \
-                 --with-preview=yes \
-                 --without-sigaltstack \
-                 --with-libgdiplus=${prefix} \
-                 --disable-dtrace
-configure.ldflags-append -lintl -lcharset
+configure.args      --with-gc=included \
+                    --with-preview=yes \
+                    --without-sigaltstack \
+                    --with-libgdiplus=${prefix} \
+                    --disable-dtrace
 
-use_parallel_build no
+configure.ldflags-append \
+                    -lintl -lcharset
 
-test.run         yes
-test.target      check
+use_parallel_build  no
 
-patchfiles snowleopard-mutex.patch
-patchfiles-append   patch-3.2.5.diff.bz2
+test.run            yes
+test.target         check
 
+patchfiles          snowleopard-mutex.patch \
+                    patch-3.2.5.diff.bz2
+
 post-patch {
     if {${os.major} < 9} {
         reinplace "s:MAC_OS_X_VERSION_10_5:1050:g" \
@@ -87,6 +94,6 @@
 # beta_version is actually the latest stable
 # stable_version is the EOL previous stable version
 # go figure...
-livecheck.type  regex
-livecheck.url   ${homepage}mono-downloads/release_data.js
-livecheck.regex {beta_version = "(.+)"}
+livecheck.type      regex
+livecheck.url       [lindex ${master_sites} 0]
+livecheck.regex     [quotemeta ${name}]-(\\d+(?:\\.\\d+)*)[quotemeta ${extract.suffix}]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150428/cb9de7f3/attachment.html>


More information about the macports-changes mailing list