|
Revision 44133, 1.3 KB
(checked in by ram@…, 3 weeks ago)
|
|
archivers/pbzip2: update to 1.0.4
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | |
|---|
| 5 | name pbzip2 |
|---|
| 6 | version 1.0.4 |
|---|
| 7 | categories archivers |
|---|
| 8 | platforms darwin |
|---|
| 9 | maintainers ram openmaintainer |
|---|
| 10 | |
|---|
| 11 | description parallel bzip2 |
|---|
| 12 | long_description PBZIP2 is a parallel implementation of the bzip2 \ |
|---|
| 13 | block-sorting file compressor that uses pthreads and achieves \ |
|---|
| 14 | near-linear speedup on SMP machines. |
|---|
| 15 | |
|---|
| 16 | homepage http://compression.ca/pbzip2/ |
|---|
| 17 | master_sites ${homepage} |
|---|
| 18 | |
|---|
| 19 | depends_lib port:bzip2 |
|---|
| 20 | |
|---|
| 21 | checksums md5 762506168fc441a454e4cebdd02c080a \ |
|---|
| 22 | sha1 fc92043a9632f8234a0340360d6ef9232f1fb845 \ |
|---|
| 23 | rmd160 bf76826afd22788bc6d06568d0120fa532539d41 |
|---|
| 24 | |
|---|
| 25 | set CFLAGS "${configure.ldflags} ${configure.cppflags}" |
|---|
| 26 | |
|---|
| 27 | configure { |
|---|
| 28 | reinplace "s|-pthread -lpthread|${CFLAGS}|" ${worksrcpath}/Makefile |
|---|
| 29 | reinplace "s|man|share/man|" ${worksrcpath}/Makefile |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | destroot.destdir PREFIX=${destroot}${prefix} |
|---|
| 33 | |
|---|
| 34 | post-destroot { |
|---|
| 35 | set docdir ${prefix}/share/doc/${name}-${version} |
|---|
| 36 | xinstall -d ${destroot}${docdir} |
|---|
| 37 | xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \ |
|---|
| 38 | ${destroot}${docdir} |
|---|
| 39 | } |
|---|
| 40 | |
|---|
| 41 | variant universal { |
|---|
| 42 | set CFLAGS "${CFLAGS} ${configure.universal_cflags}" |
|---|
| 43 | } |
|---|
| 44 | |
|---|
| 45 | livecheck.check regex |
|---|
| 46 | livecheck.url ${homepage} |
|---|
| 47 | livecheck.regex {pbzip2-(\d+(?:\.\d+)*).tar.gz} |
|---|