Portfile

# $Id: Portfile 23053 2007-03-23 20:35:47Z pipping@macports.org $

PortSystem 1.0
name pbzip2
version 0.9.4
categories archivers
maintainers nomaintainer@macports.org
description parallel bzip2
long_description \
PBZIP2 is a parallel implementation of the bzip2 \
block-sorting file compressor that uses pthreads \
and achieves near-linear speedup on SMP machines.
homepage http://compression.ca/pbzip2/
platforms darwin
master_sites ${homepage}
checksums sha1 66b5daf7483e989f1e8e5485980e96b7067d8916

patchfiles patch-Makefile
post-patch {
reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/Makefile
}

depends_lib port:bzip2

use_configure no

destroot.destdir PREFIX=${destroot}${prefix}

files