diff options
author | Brendan Fabeny <bf@FreeBSD.org> | 2011-06-22 14:47:56 +0000 |
---|---|---|
committer | Brendan Fabeny <bf@FreeBSD.org> | 2011-06-22 14:47:56 +0000 |
commit | 54faf09e752349e3c329f5e359cde4a5ca149004 (patch) | |
tree | 381c7b202cf4a0c32867b1a0115d556b0e4fb80c /archivers | |
parent | 4fa523cd1aee7c4ed98a084ce1ea662808c511ee (diff) |
Notes
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/lzma/Makefile | 7 | ||||
-rw-r--r-- | archivers/lzma/distinfo | 4 | ||||
-rw-r--r-- | archivers/lzma/pkg-descr | 15 |
3 files changed, 11 insertions, 15 deletions
diff --git a/archivers/lzma/Makefile b/archivers/lzma/Makefile index 2e368e6d0806..8db5e24d03b1 100644 --- a/archivers/lzma/Makefile +++ b/archivers/lzma/Makefile @@ -6,10 +6,9 @@ # PORTNAME= lzma -PORTVERSION= 9.20 +PORTVERSION= 9.22 CATEGORIES= archivers MASTER_SITES= SF/sevenzip/LZMA%20SDK/ - DISTNAME= lzma${PORTVERSION:S/.//g} MAINTAINER= bf@FreeBSD.org @@ -24,7 +23,6 @@ USE_DOS2UNIX= yes BUILD_WRKSRC= ${WRKSRC}/CPP/7zip/Bundles/LzmaCon MAKEFILE= makefile.gcc PLIST_FILES= bin/${PORTNAME} -CFLAGS+= -D_LZMA_SYSTEM_SIZE_T .ifdef(WITH_LZMA_PROB32) #increase the speed of decoding on some 32-bit CPUs, at the expense of doubled #memory usage for CLzmaDec::probs @@ -39,6 +37,9 @@ PORTDOCS= 7zC.txt 7zFormat.txt Methods.txt history.txt lzma.txt post-patch: @${REINPLACE_CMD} -e '/bool Open(LPCTSTR fileName, DWORD creationDisposition)/,/}/d'\ ${WRKSRC}/CPP/7zip/Common/FileStreams.h + @${REINPLACE_CMD} -e 's|malloc\.h|stdlib.h|g' \ + ${WRKSRC}/CPP/7zip/UI/Common/Bench.cpp \ + ${WRKSRC}/CPP/Common/MyWindows.cpp @${REINPLACE_CMD} -e \ '/^CXX/d;s|CXX_C|CC|;s|^CFLAGS =|CFLAGS +=|;s|-o|${CFLAGS} -o|'\ ${BUILD_WRKSRC}/${MAKEFILE} diff --git a/archivers/lzma/distinfo b/archivers/lzma/distinfo index 96f49d166253..f201174af9ce 100644 --- a/archivers/lzma/distinfo +++ b/archivers/lzma/distinfo @@ -1,2 +1,2 @@ -SHA256 (lzma920.tar.bz2) = 8ac221acdca8b6f6dd110120763af42b3707363752fc04e63c7bbff76774a445 -SIZE (lzma920.tar.bz2) = 534077 +SHA256 (lzma922.tar.bz2) = 9aade84f229fb25f7aef39d8866b375fe6d35a9e18098d7cd86a99e294902944 +SIZE (lzma922.tar.bz2) = 546148 diff --git a/archivers/lzma/pkg-descr b/archivers/lzma/pkg-descr index e1b40a381668..991562b341de 100644 --- a/archivers/lzma/pkg-descr +++ b/archivers/lzma/pkg-descr @@ -1,12 +1,7 @@ -Simple command line implementation of LZMA compression algorithm. This tool -uses raw LZMA format as opposed to 7z container format, which uses LZMA as -the default compression algorithm, but has many additional features and a -header incompatible to that of raw LZMA streams. If you need to create -highly-compatible archives, you probably want to use archivers/p7zip port. -Lzma tool is taken from LZMA SDK. - -Compression ratio is about 25-30% better than bzip2 and decompression speed -is about two times faster. The downside is higher CPU and RAM requirements -for compression. +This is a simple command line implementation of the LZMA compression algorithm +from the LZMA SDK. It uses a raw LZMA format instead of the xz or 7z container +formats, and produces compression ratios that are usually about 25-30% better +than bzip2, and decompression speeds that are about twice as fast. The +disadvantages are higher CPU and RAM requirements for compression. WWW: http://www.7-zip.org/sdk.html |