Ticket #18578: Portfile

File Portfile, 1.3 KB (added by juno@…, 16 years ago)
Line 
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
2# $Id: $
3
4PortSystem 1.0
5
6name                mgzip
7version             1.2c
8revision            1
9categories          archivers
10maintainers         nomaintainer
11description         a multi-processor capable .gz file creator.
12long_description    mgzip is a program that makes use of SMP machines and zlib \
13                    to use as many processors as you have to quickly compress \
14                    files into gzip compatible format.
15homepage            http://lemley.net/mgzip.html
16platforms           darwin
17master_sites        http://lemley.net/
18distname            smp_mgzip_${version}
19
20checksums           md5 24be15374a3c0107311d8476d9f4d03c \
21                    sha1 a261a9abde6648d84b50377c6f18bb0e229a860c \
22                    rmd160 e3a91c4705b2769ce377ce698593d395ac6dec3b
23
24depends_lib         port:zlib
25
26configure.args      --prefix=${prefix} \
27                    --with-zlib=${prefix}
28
29patchfiles          patch-mgzip.c.diff
30
31test.run            yes
32
33destroot {
34    xinstall -m 755 ${worksrcpath}/mgzip ${destroot}${prefix}/bin
35}
36
37livecheck.check     regex
38livecheck.url       ${homepage}
39livecheck.regex     smp_${name}_(\[0-9.a-z\]+)\\.tar.gz