| 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 | |
|---|
| 4 | PortSystem 1.0 |
|---|
| 5 | |
|---|
| 6 | name mgzip |
|---|
| 7 | version 1.2c |
|---|
| 8 | revision 1 |
|---|
| 9 | categories archivers |
|---|
| 10 | maintainers nomaintainer |
|---|
| 11 | description a multi-processor capable .gz file creator. |
|---|
| 12 | long_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. |
|---|
| 15 | homepage http://lemley.net/mgzip.html |
|---|
| 16 | platforms darwin |
|---|
| 17 | master_sites http://lemley.net/ |
|---|
| 18 | distname smp_mgzip_${version} |
|---|
| 19 | |
|---|
| 20 | checksums md5 24be15374a3c0107311d8476d9f4d03c \ |
|---|
| 21 | sha1 a261a9abde6648d84b50377c6f18bb0e229a860c \ |
|---|
| 22 | rmd160 e3a91c4705b2769ce377ce698593d395ac6dec3b |
|---|
| 23 | |
|---|
| 24 | depends_lib port:zlib |
|---|
| 25 | |
|---|
| 26 | configure.args --prefix=${prefix} \ |
|---|
| 27 | --with-zlib=${prefix} |
|---|
| 28 | |
|---|
| 29 | patchfiles patch-mgzip.c.diff |
|---|
| 30 | |
|---|
| 31 | test.run yes |
|---|
| 32 | |
|---|
| 33 | destroot { |
|---|
| 34 | xinstall -m 755 ${worksrcpath}/mgzip ${destroot}${prefix}/bin |
|---|
| 35 | } |
|---|
| 36 | |
|---|
| 37 | livecheck.check regex |
|---|
| 38 | livecheck.url ${homepage} |
|---|
| 39 | livecheck.regex smp_${name}_(\[0-9.a-z\]+)\\.tar.gz |
|---|