Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 27821

Show
Ignore:
Timestamp:
2007-08-14 12:21:23 (15 months ago)
Author:
nox@…
Message:

a52decX:

  • Ported to xcode portgroup.
  • Added livecheck and sha1 and rmd160 checksums.
  • Disabled universal variant.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/a52decX/Portfile

    r21857 r27821  
    11# $Id$ 
    22 
    3 PortSystem 1.0 
     3PortSystem              1.0 
     4PortGroup               xcode 1.0 
    45 
    56name                    a52decX 
    67version                 0.25 
    78categories              aqua multimedia 
    8 platforms               darwin 
    9 maintainers             nomaintainer@macports.org 
     9maintainers             nomaintainer 
    1010homepage                http://homepage1.nifty.com/~toku/software_en.html#a52decX 
    1111description             Converts AC-3 file to an AIFF file 
     
    1313long_description        a52decX converts an AC-3 file being used for the sound of \ 
    1414                        DVD-Video into an AIFF file. 
    15                          
    16                          
     15 
    1716master_sites            http://homepage1.nifty.com/~toku/software/ 
    18 checksums               md5 7760780873de9b9c4d13e7d396f31b54 
    1917 
    20 use_configure           no 
     18checksums                       md5 7760780873de9b9c4d13e7d396f31b54 \ 
     19                                        sha1 329aa192645ddf81214c191a35c680cce7a61dc3 \ 
     20                                        rmd160 3e8f1b8a958b444aa0f9a8d298ddf0091c926bdc 
    2121 
    22 pre-build {             system "cd ${worksrcpath}/a52dec/ ; make \ 
    23                                 && cd ${worksrcpath}/lame/ ; make" 
    24                         } 
     22post-patch { 
     23        reinplace -E "/#define uint/d" ${worksrcpath}/lame/config.h 
     24} 
    2525 
    26 build.type              pbx 
    27 build.target 
     26pre-build { 
     27        foreach {subdir} {a52dec lame} { 
     28                cd ${worksrcpath}/${subdir} 
     29                system "make" 
     30        } 
     31} 
    2832 
    29 destroot {              xinstall -d -m 755 ${destroot}/Applications/MacPorts 
    30                         file copy ${worksrcpath}/build/${name}.app \ 
    31                                 ${destroot}/Applications/MacPorts/${name}.app 
    32                         } 
     33universal_variant no 
    3334 
     35livecheck.check regex 
     36livecheck.url   [strsed ${homepage} {/#.*//}] 
     37livecheck.regex "${name} (\\d+(?:\\.\\d+)*)" 
     38