[142531] trunk/dports/devel/libical/Portfile

mk at macports.org mk at macports.org
Sat Dec 12 06:09:08 PST 2015


Revision: 142531
          https://trac.macports.org/changeset/142531
Author:   mk at macports.org
Date:     2015-11-14 06:46:50 -0800 (Sat, 14 Nov 2015)
Log Message:
-----------
libical build improvement (see #44469)

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

Modified: trunk/dports/devel/libical/Portfile
===================================================================
--- trunk/dports/devel/libical/Portfile	2015-11-14 14:13:40 UTC (rev 142530)
+++ trunk/dports/devel/libical/Portfile	2015-11-14 14:46:50 UTC (rev 142531)
@@ -2,9 +2,10 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           cmake 1.0
+cmake.out_of_source yes
 
 name                libical
-version             1.0
 categories          devel
 license             {LGPL-2.1 MPL-1}
 maintainers         nomaintainer
@@ -14,11 +15,42 @@
 homepage            http://sourceforge.net/projects/freeassociation/
 master_sites        sourceforge:freeassociation
 
-checksums           rmd160  1c78b07c37c80e8fe068fb3164bbf8614f02e67f \
+subport libical-devel {
+    description-append \
+                    . Follows the development version.
+    long_description \
+                    ${description}
+}
+
+if {${subport} eq "${name}"} {
+    version         1.0
+    revision        1
+    checksums       rmd160  1c78b07c37c80e8fe068fb3164bbf8614f02e67f \
                     sha256  7c39b3448e4927a2de2775d853f52b3aaeb42400970a3db0b01a78987e6ec0b7
+    patchfiles-append \
+                    fix_timezone_crash.patch \
+                    make_recursive_mutex.patch
+} else {
+    # v1.0.1-351-g25bc500
+    maintainers     gmail.com:rjvbertin openmaintainer
+    if {[file exists ${filespath}/libical-git/.git]} {
+        fetch.type  git
+        git.url     ${filespath}/libical-git
+        git.branch  25bc500e15bafcef7324ec9b6472982b56dcdc6d
+    } else {
+        PortGroup   github 1.0
+        git.url     http://github.com/libical/libical
+        github.setup \
+                    libical libical 25bc500e15bafcef7324ec9b6472982b56dcdc6d
+    }
+    version         1.0.1.351
+    distname        ${name}-git
+}
 
-use_autoreconf      yes
-autoreconf.args     -fvi
+# use_autoreconf      yes
+# autoreconf.args     -fvi
 
+patch.pre_args      -p1
+
 livecheck.url       http://sourceforge.net/projects/freeassociation/files/
 livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/b66c0668/attachment.html>


More information about the macports-changes mailing list