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

lzma: update to 4.65; use the right -arch flags and add a universal variant; use unversioned documentation directory; rewrite master_sites to avoid redirects; become maintainer; add modeline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/archivers/lzma/Portfile

    r125089 r133710  
     1# -*- 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
    12# $Id$
    23
     
    45
    56name            lzma
    6 version         4.63
     7version         4.65
    78categories      archivers
    89license         public-domain
    910platforms       darwin
    10 maintainers     nomaintainer
     11maintainers     ryandesign openmaintainer
     12
    1113description     high compression ratio archiver
    1214
     
    1719
    1820homepage        http://www.7-zip.org/sdk.html
    19 master_sites    sourceforge:sevenzip
     21master_sites    sourceforge:project/sevenzip/LZMA%20SDK/${version}/
    2022distname        lzma[strsed ${version} {/\.//}]
    2123use_bzip2       yes
    2224
    23 checksums       md5 ad7d7eb5120b500271dcf83af00e2fc1 \
    24                 sha1 36b5fe39014c9f1f114ab4dfbe5768cb20529d3e \
    25                 rmd160 d3506df1996d72be7d4e914c56b5b2e43c5a0b8a
     25checksums       rmd160  70953d4ee8542addf566953e0ed62e9c75a016b5 \
     26                sha256  c935fd04dd8e0e8c688a3078f3675d699679a90be81c12686837e0880aa0fa1e
    2627
    2728extract.mkdir   yes
     
    3435                patch-makefile.gcc
    3536post-patch {
    36     reinplace "s|@CC@|${configure.cc}|g" ${worksrcpath}/CPP/7zip/Compress/LZMA_Alone/makefile.gcc
    37     reinplace "s|@CXX@|${configure.cxx}|g" ${worksrcpath}/CPP/7zip/Compress/LZMA_Alone/makefile.gcc
     37    reinplace "s|@CC@|${configure.cc} [get_canonical_archflags cc]|g" ${worksrcpath}/CPP/7zip/Compress/LZMA_Alone/makefile.gcc
     38    reinplace "s|@CXX@|${configure.cxx} [get_canonical_archflags cxx]|g" ${worksrcpath}/CPP/7zip/Compress/LZMA_Alone/makefile.gcc
    3839}
    3940
    4041use_configure   no
     42
     43variant universal {}
    4144
    4245build.dir       ${worksrcpath}/CPP/7zip/Compress/LZMA_Alone
     
    5053    xinstall ${worksrcpath}/lzma.1 ${destroot}${prefix}/share/man/man1/lzma_alone.1
    5154
    52     set docdir ${prefix}/share/doc/${name}-${version}
     55    set docdir ${prefix}/share/doc/${name}/
    5356    xinstall -d ${destroot}${docdir}
    5457    xinstall -m 0644 -W ${worksrcpath} history.txt lzma.txt \
Note: See TracChangeset for help on using the changeset viewer.