source: trunk/dports/devel/lzo/Portfile @ 57375

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

Change deprecated livecheck.check to livecheck.type
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
2
3PortSystem          1.0
4name                lzo
5version             1.08
6categories          devel compression
7maintainers         blb
8description         Real-time data compression library
9long_description \
10   LZO is a portable lossless data compression library written in ANSI C. \
11   It offers pretty fast compression and very fast decompression. \
12   Decompression requires no memory. \
13   In addition there are slower compression levels achieving a quite \
14   competitive compression ratio while still decompressing at \
15   this very high speed. \
16   LZO is distributed under the GNU General Public License.
17
18platforms           darwin
19
20homepage            http://www.oberhumer.com/opensource/lzo/
21master_sites        http://www.oberhumer.com/opensource/lzo/download/LZO-v1/
22
23checksums           md5 ab94d3da364c7cbd5b78d76f1875b0f6
24
25depends_build \
26        port:autoconf \
27        port:automake \
28        port:libtool
29
30use_autoreconf      yes
31autoreconf.args     -fvi
32
33configure.ccache    no
34configure.args      --enable-shared --disable-static
35
36post-configure {
37    if {[variant_isset universal]} {
38        system "cd ${worksrcpath} && ed - config.h < ${filespath}/config.h.ed && touch stamp-h1"
39    }
40}
41
42post-destroot {
43   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
44   xinstall -m 644 -W ${worksrcpath}/doc LTEST.TXT LZO.FAQ LZO.TXT \
45      LZOAPI.TXT ${destroot}${prefix}/share/doc/${name}
46}
47
48livecheck.type      regex
49livecheck.url       ${master_sites}
50livecheck.regex     "${name}-(1.\[0-9\]+)${extract.suffix}"
51
Note: See TracBrowser for help on using the repository browser.