[30170] trunk/dports/archivers/lzma
source_changes at macosforge.org
source_changes at macosforge.org
Mon Oct 22 06:30:26 PDT 2007
Revision: 30170
http://trac.macosforge.org/projects/macports/changeset/30170
Author: afb at macports.org
Date: 2007-10-22 06:30:26 -0700 (Mon, 22 Oct 2007)
Log Message:
-----------
add manpage from debian
Modified Paths:
--------------
trunk/dports/archivers/lzma/Portfile
Added Paths:
-----------
trunk/dports/archivers/lzma/files/
trunk/dports/archivers/lzma/files/patch-lzma.1
Modified: trunk/dports/archivers/lzma/Portfile
===================================================================
--- trunk/dports/archivers/lzma/Portfile 2007-10-22 10:40:46 UTC (rev 30169)
+++ trunk/dports/archivers/lzma/Portfile 2007-10-22 13:30:26 UTC (rev 30170)
@@ -4,7 +4,7 @@
name lzma
version 4.43
-revision 1
+revision 2
categories archivers
platforms darwin
maintainers nomaintainer
@@ -24,6 +24,8 @@
sha1 1667abfb40da82d53fa2690f3cd58a0e7e751e55 \
rmd160 f4f19c9f9bd8ded26318208e75ac14c8869c4ef8
+patchfiles patch-lzma.1
+
worksrcdir ${distname}/C/7zip/Compress/LZMA_Alone
extract.dir ${workpath}/${distname}
@@ -41,6 +43,7 @@
destroot {
xinstall -s ${worksrcpath}/lzma ${destroot}${prefix}/bin/lzma_alone
+ xinstall ${worksrcpath}/lzma.1 ${destroot}${prefix}/share/man/man1/lzma_alone.1
set docdir ${prefix}/share/doc/${name}-${version}
xinstall -d ${destroot}${docdir}
Added: trunk/dports/archivers/lzma/files/patch-lzma.1
===================================================================
--- trunk/dports/archivers/lzma/files/patch-lzma.1 (rev 0)
+++ trunk/dports/archivers/lzma/files/patch-lzma.1 2007-10-22 13:30:26 UTC (rev 30170)
@@ -0,0 +1,89 @@
++----------------------------------------------------------------------------
++
++debian/patches/* and lzma.1 are released under the terms of the GNU
++General Public License.
++
++ This program is free software; you can redistribute it and/or modify
++ it under the terms of the GNU General Public License as published by
++ the Free Software Foundation; either version 2 of the License.
++
++ This program is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ GNU General Public License for more details.
++
++ You should have received a copy of the GNU General Public License with
++ the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
++ if not, write to the Free Software Foundation, Inc., 51 Franklin St,
++ Fifth Floor, Boston, MA 02110-1301, USA.
++
++ On Debian systems, the complete text of the GNU General Public
++ License, version 2, can be found in /usr/share/common-licenses/GPL-2.
++
++----------------------------------------------------------------------------
+--- /dev/null
++++ lzma.1
+@@ -0,0 +1,63 @@
++.TH LZMA 1 "May 5 2006" "Mohammed Adnene Trojette"
++.SH NAME
++LZMA - a compression algorithm, based on Lempel Ziv's compression method.
++.SH SYNOPSIS
++.B lzma
++.BR <e|d>
++.BR inputFile
++.BR outputFile
++.BR [switches...]
++.SH DESCRIPTION
++LZMA provides high compression ratio and very fast decompression, so it is very suitable for embedded applications. For example, it can be used for ROM (firmware) compression.
++.TP
++lzma is the default and general compression method of 7z format in 7-Zip program.
++.PP
++.SH FUNCTION LETTERS
++.TP
++.B e
++Encode file
++.TP
++.B d
++Decode file
++.TP
++.B b
++Benchmark
++.SH SWITCHES
++.TP
++.B -a{N}
++Set compression mode - [0, 1], default: 1 (max)
++.TP
++.B -d{N}
++Set dictionary - [0,30], default: 23 (8MB)
++.TP
++.B -fb{N}
++Set number of fast bytes - [5, 273], default: 128
++.TP
++.B -mc{N}
++Set number of cycles for match finder
++.TP
++.B -lc{N}
++Set number of literal context bits - [0, 8], default: 3
++.TP
++.B -lp{N}
++Set number of literal pos bits - [0, 4], default: 0
++.TP
++.B -pb{N}
++Set number of pos bits - [0, 4], default: 2
++.TP
++.B -mf{MF_ID}
++Set Match Finder: [bt2, bt3, bt4, hc4], default: bt4
++.TP
++.B -eos
++Write End Of Stream marker
++.TP
++.B -si
++Read data from stdin
++.TP
++.B -so
++Write data to stdout
++.SH "SEE ALSO"
++.BR 7z(1), 7za(1)
++.SH AUTHOR
++.TP
++Written for Debian by Mohammed Adnene Trojette.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071022/4affd84e/attachment.html
More information about the macports-changes
mailing list