[135607] trunk/dports/multimedia/libmatroska/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Apr 27 17:30:28 PDT 2015


Revision: 135607
          https://trac.macports.org/changeset/135607
Author:   ryandesign at macports.org
Date:     2015-04-27 17:30:28 -0700 (Mon, 27 Apr 2015)
Log Message:
-----------
libmatroska: update to 1.4.1; take over as maintainer; add modeline; use get_canonical_archflags instead of doing it manually; use copy procedure instead of using system

Modified Paths:
--------------
    trunk/dports/multimedia/libmatroska/Portfile

Modified: trunk/dports/multimedia/libmatroska/Portfile
===================================================================
--- trunk/dports/multimedia/libmatroska/Portfile	2015-04-28 00:22:56 UTC (rev 135606)
+++ trunk/dports/multimedia/libmatroska/Portfile	2015-04-28 00:30:28 UTC (rev 135607)
@@ -1,3 +1,4 @@
+# -*- 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
@@ -3,9 +4,8 @@
 
 name                libmatroska
-version             1.4.0
-revision            1
+version             1.4.1
 categories          multimedia
 license             LGPL-2+
-maintainers         nomaintainer
+maintainers         ryandesign openmaintainer
 description         Matroska is an extensible open standard audio/video container format.
 long_description    \
@@ -19,24 +19,18 @@
 master_sites        http://dl.matroska.org/downloads/${name}/
 use_bzip2           yes
 
-checksums           md5     5b83155019589b04a49f9db923b5bf74 \
-                    sha1    e2cd74cef7eb6d0223251e755a7af8d283d650e5 \
-                    rmd160  b64136b2ffc1913dda3f3418ab4de3241556f3e1
+checksums           rmd160  5074e5b3005ab6c12261bd0cfa2ce51bd271de78 \
+                    sha256  086f21873e925679babdabf793c3bb85c353d0cd79423543a3355e08e8a4efb7
 
 depends_build       port:libebml
 
 post-extract {
-    system "cd ${worksrcpath}/make && cp -R linux darwin"
+    copy ${worksrcpath}/make/linux ${worksrcpath}/make/darwin
 }
 
 use_configure       no
 
 variant universal {}
-if {[variant_isset universal]} {
-    set archflags ${configure.universal_cxxflags}
-} else {
-    set archflags ${configure.cxx_archflags}
-}
 
 set cxx_stdlibflags {}
 if {[string match *clang* ${configure.cxx}]} {
@@ -46,7 +40,7 @@
 build.dir           ${worksrcpath}/make/darwin
 build.args          prefix=${prefix} \
                     CXX=${configure.cxx} \
-                    CXXFLAGS="${archflags} ${cxx_stdlibflags}" \
+                    CXXFLAGS="[get_canonical_archflags cxx] ${cxx_stdlibflags}" \
                     LIBEBML_INCLUDE_DIR=${prefix}/include \
                     LIBEBML_LIB_DIR=${prefix}/lib
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150427/e1d9465d/attachment.html>


More information about the macports-changes mailing list