Changeset 134558


Ignore:
Timestamp:
Mar 30, 2015, 6:04:24 AM (4 years ago)
Author:
ryandesign@…
Message:

AtomicParsley: license GPL-2+; rewrite master_sites to avoid redirects; use -arch flags; add a universal variant; use the right compiler (#35682); patch in the patch phase not the build phase; use the correct locale in the reinplace; remove unnecessary directory creation in destroot (#40830)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/multimedia/AtomicParsley/Portfile

    r120774 r134558  
    77platforms          darwin
    88maintainers        nomaintainer
     9license            GPL-2+
     10
    911description        MPEG-4 command line tool
    1012long_description   AtomicParsley is a lightweight command line program \
     
    1214
    1315homepage           http://atomicparsley.sourceforge.net
    14 master_sites       sourceforge:atomicparsley
     16master_sites       sourceforge:project/atomicparsley/atomicparsley/AtomicParsley%20v${version}
    1517distname           ${name}-source-${version}
    1618use_zip            yes
     
    2426build.cmd          ./build
    2527
    26 pre-build {
     28variant universal {}
     29
     30post-patch {
     31    reinplace "s|g++ |${configure.cxx} [get_canonical_archflags cxx] |g" ${worksrcpath}/build
     32    reinplace "s|-O2 |${configure.optflags} |g" ${worksrcpath}/build
    2733    # fix usage of private type, b0rked in Leopard
    2834    # -eridius
    29     reinplace -locale C "s|_NSBitmapImageFileType|NSBitmapImageFileType|g" ${worksrcpath}/AP_NSImage.mm
     35    reinplace -locale en_US.ISO8859-1 "s|_NSBitmapImageFileType|NSBitmapImageFileType|g" ${worksrcpath}/AP_NSImage.mm
    3036}
    3137
    3238destroot {
    33     xinstall -m 755 -d ${destroot}${prefix}/bin
    3439    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
    3540}
Note: See TracChangeset for help on using the changeset viewer.