source: trunk/dports/archivers/lzip/Portfile @ 109418

Last change on this file since 109418 was 109418, checked in by ryandesign@…, 7 years ago

lzip: quote values passed to configure.args so that values that contain spaces are handled properly (like LDFLAGS), and add arch flags

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[54726]1# $Id: Portfile 109418 2013-08-15 08:07:06Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                lzip
[109418]6epoch               20091025
[109338]7version             1.14
[109418]8revision            1
[54726]9categories          archivers
10platforms           darwin
[88158]11maintainers         nomaintainer
[54726]12description         Compression program based on LZMA similar to gzip or bzip2
13long_description    Lzip is a lossless data compressor based on the LZMA    \
14                    algorithm, with very safe integrity checking and a      \
15                    user interface similar to the one of gzip or bzip2.     \
16                    Lzip decompresses almost as fast as gzip and compresses \
17                    better than bzip2, which makes it well suited for       \
18                    software distribution and data archiving.
19homepage            http://www.nongnu.org/lzip/lzip.html
20master_sites        http://download.savannah.gnu.org/releases/lzip/
21
[109338]22checksums           rmd160  cab15b04900c9355e4b2f6eec3c07c756046195d \
23                    sha256  7ff5cc521560edb2a0a6cdf258cf3afdaeb1dbcc354d96d011d0dd7ec584cbe7
24
[109418]25variant universal {}
[109338]26
[109418]27configure.args      CXX="${configure.cxx}" \
28                    CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
29                    CPPFLAGS="${configure.cppflags}" \
30                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
31
[54726]32post-destroot {
33    set docdir ${destroot}${prefix}/share/doc/${name}
34    file mkdir ${docdir}
35    xinstall -m 644 -v -W ${worksrcpath} \
36      AUTHORS ChangeLog COPYING NEWS ${docdir}
37}
38
[57375]39livecheck.type      regex
[54726]40livecheck.url       ${master_sites}/?C=M&O=D
[66364]41livecheck.regex     ${name}-(\[-0-9.\]+)\\.tar\\.gz
Note: See TracBrowser for help on using the repository browser.