source: trunk/dports/archivers/lzo2/Portfile @ 42432

Last change on this file since 42432 was 42432, checked in by jmr@…, 11 years ago

lzo2: update to 2.0.3 (#17053, maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 42432 2008-11-21 13:08:32Z jmr@macports.org $
2
3PortSystem      1.0
4
5name                    lzo2
6set my_name     lzo
7version                 2.03
8categories              archivers
9platforms               darwin
10maintainers             yunzheng.hu@gmail.com
11description             Real-time data compression library
12
13long_description \
14        LZO is a portable lossless data compression library written in ANSI C. \
15        It offers pretty fast compression and very fast decompression. \
16        Decompression requires no memory. \
17        In addition there are slower compression levels achieving a quite \
18        competitive compression ratio while still decompressing at \
19        this very high speed. \
20        LZO is distributed under the GNU General Public License.
21
22homepage                http://www.oberhumer.com/opensource/lzo/
23master_sites    ${homepage}download/ \
24                                ftp://ftp.uni-koeln.de/util/arc/
25distname        ${my_name}-${version}
26
27checksums           md5     0c3d078c2e8ea5a88971089a2f02a726 \
28                    sha1    135a50699296e853362a3d11b9f872c74c8b8c5a \
29                    rmd160  1c2eb11ba2babd81236128b7fef3676c9db7da51
30
31configure.args  --enable-shared --disable-static
32
33test.run                yes
34test.target             check
35
36platform darwin 9 {
37        # workaround until the assembler versions work:
38        configure.args-append --disable-asm
39}
40
41post-destroot {
42    set docdir ${prefix}/share/doc/${my_name}-${version}
43
44    xinstall -d ${destroot}${docdir}
45    xinstall -m 0644 -W ${worksrcpath} AUTHORS BUGS COPYING ChangeLog NEWS README THANKS \
46        ${destroot}${docdir}
47    eval xinstall -m 0644 [glob ${worksrcpath}/doc/*] ${destroot}${docdir}
48}
49
50livecheck.check regex
51livecheck.url   ${homepage}
52livecheck.regex "Version (\\d+(?:\\.\\d+)*)"
53
Note: See TracBrowser for help on using the repository browser.