[50132] trunk/dports/multimedia/mkvtoolnix/Portfile

pguyot at kallisys.net pguyot at kallisys.net
Sun Apr 26 01:41:56 PDT 2009


Revision: 50132
          http://trac.macports.org/changeset/50132
Author:   pguyot at kallisys.net
Date:     2009-04-26 01:41:56 -0700 (Sun, 26 Apr 2009)
Log Message:
-----------
Rewrite of port (ticket #19364)

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

Modified: trunk/dports/multimedia/mkvtoolnix/Portfile
===================================================================
--- trunk/dports/multimedia/mkvtoolnix/Portfile	2009-04-26 08:27:49 UTC (rev 50131)
+++ trunk/dports/multimedia/mkvtoolnix/Portfile	2009-04-26 08:41:56 UTC (rev 50132)
@@ -1,51 +1,61 @@
+# -*- 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				mkvtoolnix
-version				2.4.0
-categories			multimedia
-maintainers			pguyot at kallisys.net openmaintainer
-description			Matroska media files manipulation tools.
-long_description	mkvtoolnix will evolve to a set of tools to create, \
-					alter and inspect Matroska files under Linux and other \
-					Unices, just what the OGMtools do for the OGM format.
-homepage			http://www.bunkus.org/videotools/mkvtoolnix/
-platforms			darwin
-use_bzip2			yes
-master_sites		${homepage}sources/
-checksums			md5     125a6305de16236754d7554fa5b597cf \
-                    sha1    1220475a7e9753aee8f17fb0dcc121fed6b98284 \
-                    rmd160  3101e05f763a00807da593ac6ea6441f010ad97c
-depends_lib     	port:libmatroska \
-					port:libogg \
-					port:libvorbis \
-					port:expat \
-					port:lzo \
-					port:pcre \
-					port:boost
-configure.args		--mandir=${prefix}/share/man \
-					--with-extra-libs=${prefix}/lib \
-					--with-extra-includes=${prefix}/include \
-					--disable-wxwidgets \
-					--without-flac \
-					--with-boost-regex=boost_regex-mt
+name                mkvtoolnix
+version             2.7.0
+categories          multimedia
+maintainers         il.fontys.nl:ruud
+description         Matroska media files manipulation tools.
+long_description    mkvtoolnix will evolve to a set of tools to create, \
+                    alter and inspect Matroska files under Linux and other \
+                    Unices, just what the OGMtools do for the OGM format.
+homepage            http://www.bunkus.org/videotools/mkvtoolnix/
+platforms           darwin
+master_sites        ${homepage}sources/
+use_bzip2           yes
+checksums           md5 68448f25eeb1e65384de4979cfdc8ac9 \
+                    sha1 d444986d68f1bc243cc6443b3e37f8c0d6d3a670 \
+                    rmd160 b068108ef81fd6d0ea9143a9c460dff281dd2ef1
+depends_lib         port:boost \
+                    port:expat \
+                    port:libogg \
+                    port:libmatroska \
+                    port:libvorbis \
+                    port:pcre \
+                    port:zlib
+configure.args      --mandir=${prefix}/share/man \
+                    --with-boost-regex=boost_regex-mt \
+                    --with-extra-libs=${prefix}/lib \
+                    --with-extra-includes=${prefix}/include \
+                    --without-flac \
+                    --disable-gui \
+                    --disable-wxwidgets
+default_variants    +flac
 
-variant wxwidgets description "build with the GUI with wxWidgets" {
-	depends_lib-append		port:wxWidgets
-	configure.args-delete	--disable-wxwidgets
-	configure.args-append	--enable-wxwidgets
+variant wxwidgets description {Build with the wxWidgets GUI} {
+    depends_lib-append port:wxWidgets
+    configure.args-delete \
+        --diable-gui \
+        --disable-wxwidgets
+    configure.args-append \
+        --enable-gui \
+        --enable-wxwidgets
 }
 
-variant flac description "flac support" {
-	depends_lib-append		port:flac
-	configure.args-delete	--without-flac
-	configure.args-append	--with-flac
+variant flac description {FLAC support} {
+    depends_lib-append port:flac
+    configure.args-delete --without-flac
+    configure.args-append --with-flac
 }
 
-default_variants	+flac
+variant bzip2 description {bzip2 compression support, zlib is more common} {
+    depends_lib-append port:bzip2
+    configure.args-append --enable-bzip2
+}
 
-# livecheck.
-livecheck.check		regex
-livecheck.url		http://www.archlinux.org/packages/3992/
-livecheck.regex		mkvtoolnix (\[0-9.\]+)-\[0-9\]
+variant lzo description {lzo compression support, zlib is more common} {
+    depends_lib-append port:lzo
+    configure.args-append --enable-lzo
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090426/013de3e7/attachment-0001.html>


More information about the macports-changes mailing list