Ignore:
Timestamp:
Nov 28, 2014, 3:08:03 AM (4 years ago)
Author:
larryv@…
Message:

flac: Rearrange and reformat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/audio/flac/Portfile

    r113161 r128841  
    22# $Id$
    33
    4 PortSystem      1.0
     4PortSystem          1.0
    55
    6 name            flac
    7 version         1.3.0
    8 categories      audio
    9 platforms       darwin
    10 license         GPL-2+ BSD
    11 maintainers     nomaintainer
    12 description     Free Lossless Audio Codec
     6name                flac
     7version             1.3.0
     8categories          audio
     9platforms           darwin
     10license             GPL-2+ BSD
     11maintainers         nomaintainer
    1312
    14 long_description \
    15     FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is similar to MP3, but lossless, \
    16     meaning that audio is compressed in FLAC without throwing away any information. This is similar to how Zip \
    17     works, except with FLAC you will get much better compression because it is designed specifically for \
    18     audio, and you can play back compressed FLAC files in your favorite player (or your car or home stereo) \
    19     just like you would an MP3 file.
     13description         Free Lossless Audio Codec
     14long_description    FLAC stands for Free Lossless Audio Codec. Grossly \
     15                    oversimplified, FLAC is similar to MP3, but \
     16                    lossless, meaning that audio is compressed in FLAC \
     17                    without throwing away any information. This is \
     18                    similar to how Zip works, except with FLAC you \
     19                    will get much better compression because it is \
     20                    designed specifically for audio, and you can play \
     21                    back compressed FLAC files in your favorite player \
     22                    (or your car or home stereo) just like you would \
     23                    an MP3 file.
     24homepage            https://xiph.org/flac/
    2025
    21 homepage        https://xiph.org/flac/
    22 master_sites    http://downloads.xiph.org/releases/flac/
    23 use_xz          yes
     26depends_lib         port:libogg port:libiconv
    2427
    25 checksums       rmd160  6ced4a7ab2f1b0e583830b0ddc37a842703ee4c9 \
    26                 sha256  fa2d64aac1f77e31dfbb270aeb08f5b32e27036a52ad15e69a77e309528010dc
     28master_sites        http://downloads.xiph.org/releases/flac/
     29use_xz              yes
     30checksums           rmd160  6ced4a7ab2f1b0e583830b0ddc37a842703ee4c9 \
     31                    sha256  fa2d64aac1f77e31dfbb270aeb08f5b32e27036a52ad15e69a77e309528010dc
    2732
    28 depends_lib     port:libogg port:libiconv
     33patchfiles          patch-nasm.h.diff \
     34                    patch-build_lib.mk.diff \
     35                    autoconf-no-xmms.patch
    2936
    30 patchfiles      patch-nasm.h.diff \
    31                 patch-build_lib.mk.diff \
    32                 autoconf-no-xmms.patch
    33 
    34 configure.args  --disable-silent-rules \
    35                 --disable-xmms-plugin
     37use_autoreconf      yes
     38autoreconf.args     -fvi
    3639
    3740# <rdar://problem/15203338>
    3841configure.cflags-append -std=gnu89
     42
     43configure.args      --disable-silent-rules \
     44                    --disable-xmms-plugin
     45
     46platform darwin i386 {
     47    configure.args-append   --disable-asm-optimizations
     48}
    3949
    4050post-configure {
     
    4454}
    4555
    46 build.args      OBJ_FORMAT=macho
     56build.args          OBJ_FORMAT=macho
    4757
    48 test.run        yes
    49 test.target     check
     58test.run            yes
     59test.target         check
    5060
    5161variant xmms_plugin description "Build xmms plugin" {
     62    depends_lib-append      port:xmms
    5263    configure.args-delete   --disable-xmms-plugin
    53     depends_lib-append      port:xmms
    5464}
    5565
    56 use_autoreconf  yes
    57 autoreconf.args -fvi
    58 
    59 platform darwin i386 {
    60     configure.args-append   --disable-asm-optimizations
    61 }
    62 
    63 livecheck.url   [lindex ${master_sites} 0]
    64 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"
     66livecheck.url       [lindex ${master_sites} 0]
     67livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)"
Note: See TracChangeset for help on using the changeset viewer.