[31543] trunk/dports/multimedia/MPlayer/Portfile

milosh at macports.org milosh at macports.org
Tue Nov 27 07:41:56 PST 2007


Revision: 31543
          http://trac.macosforge.org/projects/macports/changeset/31543
Author:   milosh at macports.org
Date:     2007-11-27 07:41:56 -0800 (Tue, 27 Nov 2007)

Log Message:
-----------
whitespace change (+antispam maintainer address, +modeline)
patch from maintainer (#13290)

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

Modified: trunk/dports/multimedia/MPlayer/Portfile
===================================================================
--- trunk/dports/multimedia/MPlayer/Portfile	2007-11-27 15:35:26 UTC (rev 31542)
+++ trunk/dports/multimedia/MPlayer/Portfile	2007-11-27 15:41:56 UTC (rev 31543)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
@@ -6,7 +7,7 @@
 version             1.0rc1try3
 regsub -all "try." ${version} "" distversion
 categories          multimedia
-maintainers         ecronin at gizmolabs.org \
+maintainers         gizmolabs.org:ecronin \
                     openmaintainer
 description         The Unix movie player
 long_description \
@@ -17,50 +18,53 @@
     displaying subtitles. MPlayer also has a GUI with skin support and \
     several unofficial alternative graphical frontends are available.
 
-platforms           darwin
+platforms       darwin
 
-homepage            http://www.mplayerhq.hu/
-master_sites        ftp://ftp1.mplayerhq.hu/MPlayer/releases/ \
-                    http://www2.mplayerhq.hu/MPlayer/releases/ \
-                    ftp://ftp2.mplayerhq.hu/MPlayer/releases/ \
-                    ftp://ftp5.mplayerhq.hu/MPlayer/releases/ \
-                    ftp://ftp.fu-berlin.de/unix/X11/multimedia/MPlayer/releases/ \
-                    http://www1.mplayerhq.hu/MPlayer/releases/ \
-                    http://www.people.virginia.edu/~drf8f/MPlayer/releases/ \
-                    http://www1.mplayerhq.hu/MPlayer/releases/codecs/:codecs \
-                    http://www2.mplayerhq.hu/MPlayer/releases/codecs/:codecs
-patch_sites         http://www.mplayerhq.hu/MPlayer/patches/
-patchfiles          asmrules_fix_20061231.diff \
-                    cddb_fix_20070605.diff
-distname            ${name}-${distversion}
-use_bzip2           yes
+homepage        http://www.mplayerhq.hu/
+master_sites    ftp://ftp1.mplayerhq.hu/MPlayer/releases/ \
+                http://www2.mplayerhq.hu/MPlayer/releases/ \
+                ftp://ftp2.mplayerhq.hu/MPlayer/releases/ \
+                ftp://ftp5.mplayerhq.hu/MPlayer/releases/ \
+                ftp://ftp.fu-berlin.de/unix/X11/multimedia/MPlayer/releases/ \
+                http://www1.mplayerhq.hu/MPlayer/releases/ \
+                http://www.people.virginia.edu/~drf8f/MPlayer/releases/ \
+                http://www1.mplayerhq.hu/MPlayer/releases/codecs/:codecs \
+                http://www2.mplayerhq.hu/MPlayer/releases/codecs/:codecs
+patch_sites     http://www.mplayerhq.hu/MPlayer/patches/
+patchfiles      asmrules_fix_20061231.diff \
+                cddb_fix_20070605.diff
+distname        ${name}-${distversion}
+use_bzip2       yes
+checksums       ${distname}${extract.suffix} \
+                    md5 18c05d88e22c3b815a43ca8d7152ccdc \
+                    sha1 a450c0b0749c343a8496ba7810363c9d46dfa73c \
+                    rmd160 8cea02e832aec5d9e090829d61d0f131dcc177a2 \
+                asmrules_fix_20061231.diff \
+                    md5 f0b71c38b1207c1d604be091876ac051 \
+                    sha1 84412f4bd85d64a92586ca4db7e8585d16cd1acd \
+                    rmd160 370877b45b314c9deb2d89739f8067a4a77c0844 \
+                cddb_fix_20070605.diff \
+                    md5 bd8a233ea31c6686a956387ad28c5c5c \
+                    sha1 4ed701ae65ede2f3510668be85d1efb093dc1f3c \
+                    rmd160 0bf83ef398927ef28b5bf4287f1a1e9bb3bd4454
 
-checksums           ${distname}${extract.suffix} \
-                        md5 18c05d88e22c3b815a43ca8d7152ccdc \
-                        sha1 a450c0b0749c343a8496ba7810363c9d46dfa73c \
-                        rmd160 8cea02e832aec5d9e090829d61d0f131dcc177a2 \
-                    asmrules_fix_20061231.diff \
-                        md5 f0b71c38b1207c1d604be091876ac051 \
-                        sha1 84412f4bd85d64a92586ca4db7e8585d16cd1acd \
-                        rmd160 370877b45b314c9deb2d89739f8067a4a77c0844 \
-                    cddb_fix_20070605.diff \
-                        md5 bd8a233ea31c6686a956387ad28c5c5c \
-                        sha1 4ed701ae65ede2f3510668be85d1efb093dc1f3c \
-                        rmd160 0bf83ef398927ef28b5bf4287f1a1e9bb3bd4454
 
 livecheck.check     regex
 livecheck.url       http://www1.mplayerhq.hu/MPlayer/releases/
 livecheck.regex     MPlayer-(1.0rc\[0-9\]+)\.tar\.bz2
 
-depends_lib         port:jpeg port:lame port:libiconv port:libmad \
-                    port:libogg port:libpng port:libungif \
-                    port:libvorbis port:lzo2 port:ncurses port:zlib
-depends_build       port:pkgconfig
 
+depends_lib     port:jpeg port:lame port:libiconv port:libmad \
+                port:libogg port:libpng port:libungif \
+                port:libvorbis port:lzo2 port:ncurses port:zlib
+depends_build   port:pkgconfig
+
+
 post-patch {
-  reinplace "s|-llzo|-llzo2|g" ${worksrcpath}/configure
-  reinplace "s|#include <lzo1x.h>|#include <lzoutil.h>\\\n#include <lzo1x.h>|g"\
-  ${worksrcpath}/libmpcodecs/vd_lzo.c
+    reinplace "s|-llzo|-llzo2|g" ${worksrcpath}/configure
+    reinplace \
+        "s|#include <lzo1x.h>|#include <lzoutil.h>\\\n#include <lzo1x.h>|g"\
+        ${worksrcpath}/libmpcodecs/vd_lzo.c
 }
 
 # MPlayer's ./configure REALLY does not want you to use ENV for this
@@ -70,33 +74,30 @@
 configure.ldflags   {}
 
 configure.args \
-                    --with-extraincdir=${prefix}/include/lzo:${prefix}/include \
-                    --with-extralibdir=${prefix}/lib:${prefix}/lib/samba3 \
-                    --datadir=${prefix}/share/${name} \
-                    --confdir=${prefix}/etc/${name} \
-                    --mandir=${prefix}/share/man \
-                    --enable-png --enable-jpeg \
-                    --enable-liblzo --enable-libvorbis \
-                    --enable-mad --enable-mpdvdkit \
-                    --disable-faad-external --enable-largefiles
+        --with-extraincdir=${prefix}/include/lzo:${prefix}/include \
+        --with-extralibdir=${prefix}/lib:${prefix}/lib/samba3 \
+        --datadir=${prefix}/share/${name} \
+        --confdir=${prefix}/etc/${name} \
+        --mandir=${prefix}/share/man \
+        --enable-png --enable-jpeg --enable-liblzo --enable-libvorbis \
+        --enable-mad --enable-mpdvdkit --disable-faad-external \
+        --enable-largefiles
 
 # MPlayer autodetects many support libs.  To prevent undeclared
 # dependencies, explicitly disable everything optional first.
 # Later, let autodetect do its magic not explicit --enable
 configure.args-append \
-                    --disable-smb --disable-live --disable-dvdnav \
-                    --disable-dvdread \
-                    --disable-cdparanoia --disable-freetype \
-                    --disable-fontconfig --disable-unrarlib \
-                    --disable-fribidi --disable-enca \
-                    --disable-libcdio --disable-xvid \
-                    --disable-x264 --disable-nut --disable-libfame \
-                    --disable-speex --disable-theora --disable-faac \
-                    --disable-ladspa --disable-libdv --disable-toolame \
-                    --disable-twolame --disable-xmms --disable-libdts \
-                    --disable-musepack --disable-sdl --disable-aa \
-                    --disable-caca --disable-x11 --disable-arts \
-                    --disable-esd --disable-lirc
+        --disable-smb --disable-live --disable-dvdnav \
+        --disable-dvdread --disable-cdparanoia --disable-freetype \
+        --disable-fontconfig --disable-unrarlib --disable-fribidi \
+        --disable-enca --disable-libcdio --disable-xvid \
+        --disable-x264 --disable-nut --disable-libfame \
+        --disable-speex --disable-theora --disable-faac \
+        --disable-ladspa --disable-libdv --disable-toolame \
+        --disable-twolame --disable-xmms --disable-libdts \
+        --disable-musepack --disable-sdl --disable-aa \
+        --disable-caca --disable-x11 --disable-arts \
+        --disable-esd --disable-lirc
 
 post-destroot {
     xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
@@ -188,7 +189,8 @@
     configure.args-append   --enable-x264
     # upstream ./configure broken, fixed in mplayer-svn.
     post-patch {
-        reinplace "s|if test \"\$_x264\" = yes ; then|if test \"\$_x264\" = yes ; then\\\n  _ld_x264=-lx264|g" \
+        reinplace \
+            "s|if test \"\$_x264\" = yes ; then|if test \"\$_x264\" = yes ; then\\\n  _ld_x264=-lx264|g" \
             ${worksrcpath}/configure
     }
 }
@@ -201,17 +203,17 @@
     description {Enable platform-specific binary codecs} {
     if {[variant_isset darwin_powerpc]} {
         global mplayercodecs mplayercodecsfile
-        set mplayercodecs           rp9codecs-macosx-20041107.pkg
-        set mplayercodecsfile       ${mplayercodecs}.zip
-        distfiles-append            ${mplayercodecsfile}:codecs
-        checksums-append            ${mplayercodecsfile} \
-                                        md5 788cf4940280fd787c0a2141d88ce3c7 \
-                                        sha1 18abd6d0424c4682815a13b34695d37d2fda2a73 \
-                                        rmd160 c6f49012633bbb84ffa405b8881dc90605d26fc6
+        set mplayercodecs       rp9codecs-macosx-20041107.pkg
+        set mplayercodecsfile   ${mplayercodecs}.zip
+        distfiles-append        ${mplayercodecsfile}:codecs
+        checksums-append        ${mplayercodecsfile} \
+                                    md5 788cf4940280fd787c0a2141d88ce3c7 \
+                                    sha1 18abd6d0424c4682815a13b34695d37d2fda2a73 \
+                                    rmd160 c6f49012633bbb84ffa405b8881dc90605d26fc6
 
-        extract.only                ${distname}${extract.suffix}
+        extract.only            ${distname}${extract.suffix}
 
-        depends_build-append        bin:unzip:unzip
+        depends_build-append    bin:unzip:unzip
 
         post-extract {
             system "unzip -q -d ${worksrcpath} ${distpath}/${mplayercodecsfile}"
@@ -227,17 +229,17 @@
     }
     if {[variant_isset darwin_i386]} {
         global mplayercodecs mplayercodecsfile
-        set mplayercodecs           "Essential Codecs Package (Intel).pkg"
-        set mplayercodecsfile       essential-macosx-x86-20060611.zip
-        distfiles-append            ${mplayercodecsfile}:codecs
-        checksums-append            ${mplayercodecsfile} \
-                                        md5 1e409d500336a8318cbe2a67bbf9d9ca \
-                                        sha1 4f8fee483b6c227d8cb774d2d30e1ef36a43e04a \
-                                        rmd160 87beaa40263deb0d0b9166f24d6f9dd686f594fd
+        set mplayercodecs       "Essential Codecs Package (Intel).pkg"
+        set mplayercodecsfile   essential-macosx-x86-20060611.zip
+        distfiles-append        ${mplayercodecsfile}:codecs
+        checksums-append        ${mplayercodecsfile} \
+                                    md5 1e409d500336a8318cbe2a67bbf9d9ca \
+                                    sha1 4f8fee483b6c227d8cb774d2d30e1ef36a43e04a \
+                                    rmd160 87beaa40263deb0d0b9166f24d6f9dd686f594fd
 
-        extract.only                ${distname}${extract.suffix}
+        extract.only            ${distname}${extract.suffix}
 
-        depends_lib-append          bin:unzip:unzip
+        depends_build-append    bin:unzip:unzip
 
         post-extract {
             system "unzip -q -d ${worksrcpath} ${distpath}/${mplayercodecsfile}"
@@ -284,12 +286,6 @@
     configure.args-delete   --disable-libdts
 }
 
-variant live \
-    description {Enable live555 streaming media input} {
-    depends_lib-append      port:live555
-    configure.args-delete   --disable-live
-}
-
 ##### Outputs
 
 variant sdl \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071127/4cc202f8/attachment.html


More information about the macports-changes mailing list