diff options
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/pbzip2/Makefile | 30 | ||||
-rw-r--r-- | archivers/pbzip2/distinfo | 2 | ||||
-rw-r--r-- | archivers/pbzip2/pkg-descr | 6 |
4 files changed, 39 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index 34c6e6ff01db..2aecd139723a 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -50,6 +50,7 @@ SUBDIR += p7zip SUBDIR += par2cmdline SUBDIR += parchive + SUBDIR += pbzip2 SUBDIR += pear-Archive_Tar SUBDIR += pecl-zip SUBDIR += php4-bz2 diff --git a/archivers/pbzip2/Makefile b/archivers/pbzip2/Makefile new file mode 100644 index 000000000000..9dbf051648be --- /dev/null +++ b/archivers/pbzip2/Makefile @@ -0,0 +1,30 @@ +# ex:ts=8 +# Ports collection makefile for: pbzip2 +# Date created: Dec 7, 2004 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= pbzip2 +PORTVERSION= 0.8.2 +CATEGORIES= archivers +MASTER_SITES= http://compression.ca/pbzip2/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= Parallel BZIP2 + +USE_REINPLACE= yes + +PLIST_FILES= bin/pbzip2 + +post-patch: + @${REINPLACE_CMD} -e "s,-pthread -lpthread,${PTHREAD_LIBS},g" \ + -e "s,-O3,${CXXFLAGS}," \ + -e "s,^CC,#CC," \ + -e "s,CC,CXX," ${WRKSRC}/Makefile + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/archivers/pbzip2/distinfo b/archivers/pbzip2/distinfo new file mode 100644 index 000000000000..cb55e2aa723d --- /dev/null +++ b/archivers/pbzip2/distinfo @@ -0,0 +1,2 @@ +MD5 (pbzip2-0.8.2.tar.gz) = 9fdbebd43e8bcd16a766e359d1c08aa5 +SIZE (pbzip2-0.8.2.tar.gz) = 11911 diff --git a/archivers/pbzip2/pkg-descr b/archivers/pbzip2/pkg-descr new file mode 100644 index 000000000000..12c2e9ae0e60 --- /dev/null +++ b/archivers/pbzip2/pkg-descr @@ -0,0 +1,6 @@ +PBZIP2 is a parallel implementation of the bzip2 block-sorting file compressor +that uses pthreads and achieves near-linear speedup on SMP machines. The output +of this version is fully compatible with bzip2 v1.0.2 (ie: anything compressed +with pbzip2 can be decompressed with bzip2). + +WWW: http://compression.ca/pbzip2/ |