[128841] trunk/dports/audio/flac/Portfile

larryv at macports.org larryv at macports.org
Thu Nov 27 19:08:03 PST 2014


Revision: 128841
          https://trac.macports.org/changeset/128841
Author:   larryv at macports.org
Date:     2014-11-27 19:08:03 -0800 (Thu, 27 Nov 2014)
Log Message:
-----------
flac: Rearrange and reformat

Modified Paths:
--------------
    trunk/dports/audio/flac/Portfile

Modified: trunk/dports/audio/flac/Portfile
===================================================================
--- trunk/dports/audio/flac/Portfile	2014-11-28 02:58:25 UTC (rev 128840)
+++ trunk/dports/audio/flac/Portfile	2014-11-28 03:08:03 UTC (rev 128841)
@@ -1,64 +1,67 @@
 # -*- 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            flac
-version         1.3.0
-categories      audio
-platforms       darwin
-license         GPL-2+ BSD
-maintainers     nomaintainer
-description     Free Lossless Audio Codec
+name                flac
+version             1.3.0
+categories          audio
+platforms           darwin
+license             GPL-2+ BSD
+maintainers         nomaintainer
 
-long_description \
-    FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is similar to MP3, but lossless, \
-    meaning that audio is compressed in FLAC without throwing away any information. This is similar to how Zip \
-    works, except with FLAC you will get much better compression because it is designed specifically for \
-    audio, and you can play back compressed FLAC files in your favorite player (or your car or home stereo) \
-    just like you would an MP3 file.
+description         Free Lossless Audio Codec
+long_description    FLAC stands for Free Lossless Audio Codec. Grossly \
+                    oversimplified, FLAC is similar to MP3, but \
+                    lossless, meaning that audio is compressed in FLAC \
+                    without throwing away any information. This is \
+                    similar to how Zip works, except with FLAC you \
+                    will get much better compression because it is \
+                    designed specifically for audio, and you can play \
+                    back compressed FLAC files in your favorite player \
+                    (or your car or home stereo) just like you would \
+                    an MP3 file.
+homepage            https://xiph.org/flac/
 
-homepage        https://xiph.org/flac/
-master_sites    http://downloads.xiph.org/releases/flac/
-use_xz          yes
+depends_lib         port:libogg port:libiconv
 
-checksums       rmd160  6ced4a7ab2f1b0e583830b0ddc37a842703ee4c9 \
-                sha256  fa2d64aac1f77e31dfbb270aeb08f5b32e27036a52ad15e69a77e309528010dc
+master_sites        http://downloads.xiph.org/releases/flac/
+use_xz              yes
+checksums           rmd160  6ced4a7ab2f1b0e583830b0ddc37a842703ee4c9 \
+                    sha256  fa2d64aac1f77e31dfbb270aeb08f5b32e27036a52ad15e69a77e309528010dc
 
-depends_lib     port:libogg port:libiconv
+patchfiles          patch-nasm.h.diff \
+                    patch-build_lib.mk.diff \
+                    autoconf-no-xmms.patch
 
-patchfiles      patch-nasm.h.diff \
-                patch-build_lib.mk.diff \
-                autoconf-no-xmms.patch
+use_autoreconf      yes
+autoreconf.args     -fvi
 
-configure.args  --disable-silent-rules \
-                --disable-xmms-plugin
-
 # <rdar://problem/15203338>
 configure.cflags-append -std=gnu89
 
+configure.args      --disable-silent-rules \
+                    --disable-xmms-plugin
+
+platform darwin i386 {
+    configure.args-append   --disable-asm-optimizations
+}
+
 post-configure {
     if {[variant_isset universal]} {
         system -W ${worksrcpath} "ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed && touch stamp-h1"
     }
 }
 
-build.args      OBJ_FORMAT=macho
+build.args          OBJ_FORMAT=macho
 
-test.run        yes
-test.target     check
+test.run            yes
+test.target         check
 
 variant xmms_plugin description "Build xmms plugin" {
+    depends_lib-append      port:xmms
     configure.args-delete   --disable-xmms-plugin
-    depends_lib-append      port:xmms
 }
 
-use_autoreconf  yes
-autoreconf.args -fvi
-
-platform darwin i386 {
-    configure.args-append   --disable-asm-optimizations
-}
-
-livecheck.url   [lindex ${master_sites} 0]
-livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"
+livecheck.url       [lindex ${master_sites} 0]
+livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141127/aab5c53a/attachment.html>


More information about the macports-changes mailing list