[133710] trunk/dports/archivers/lzma/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Mar 9 01:04:30 PDT 2015
Revision: 133710
https://trac.macports.org/changeset/133710
Author: ryandesign at macports.org
Date: 2015-03-09 01:04:30 -0700 (Mon, 09 Mar 2015)
Log Message:
-----------
lzma: update to 4.65; use the right -arch flags and add a universal variant; use unversioned documentation directory; rewrite master_sites to avoid redirects; become maintainer; add modeline
Modified Paths:
--------------
trunk/dports/archivers/lzma/Portfile
Modified: trunk/dports/archivers/lzma/Portfile
===================================================================
--- trunk/dports/archivers/lzma/Portfile 2015-03-09 07:52:17 UTC (rev 133709)
+++ trunk/dports/archivers/lzma/Portfile 2015-03-09 08:04:30 UTC (rev 133710)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -3,9 +4,10 @@
name lzma
-version 4.63
+version 4.65
categories archivers
license public-domain
platforms darwin
-maintainers nomaintainer
+maintainers ryandesign openmaintainer
+
description high compression ratio archiver
@@ -16,13 +18,12 @@
ratio and very fast decompression.
homepage http://www.7-zip.org/sdk.html
-master_sites sourceforge:sevenzip
+master_sites sourceforge:project/sevenzip/LZMA%20SDK/${version}/
distname lzma[strsed ${version} {/\.//}]
use_bzip2 yes
-checksums md5 ad7d7eb5120b500271dcf83af00e2fc1 \
- sha1 36b5fe39014c9f1f114ab4dfbe5768cb20529d3e \
- rmd160 d3506df1996d72be7d4e914c56b5b2e43c5a0b8a
+checksums rmd160 70953d4ee8542addf566953e0ed62e9c75a016b5 \
+ sha256 c935fd04dd8e0e8c688a3078f3675d699679a90be81c12686837e0880aa0fa1e
extract.mkdir yes
post-extract {
@@ -33,12 +34,14 @@
patchfiles patch-lzma.1 \
patch-makefile.gcc
post-patch {
- reinplace "s|@CC@|${configure.cc}|g" ${worksrcpath}/CPP/7zip/Compress/LZMA_Alone/makefile.gcc
- reinplace "s|@CXX@|${configure.cxx}|g" ${worksrcpath}/CPP/7zip/Compress/LZMA_Alone/makefile.gcc
+ reinplace "s|@CC@|${configure.cc} [get_canonical_archflags cc]|g" ${worksrcpath}/CPP/7zip/Compress/LZMA_Alone/makefile.gcc
+ reinplace "s|@CXX@|${configure.cxx} [get_canonical_archflags cxx]|g" ${worksrcpath}/CPP/7zip/Compress/LZMA_Alone/makefile.gcc
}
use_configure no
+variant universal {}
+
build.dir ${worksrcpath}/CPP/7zip/Compress/LZMA_Alone
build.type gnu
build.args -f makefile.gcc
@@ -49,7 +52,7 @@
xinstall -s ${worksrcpath}/CPP/7zip/Compress/LZMA_Alone/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}
+ set docdir ${prefix}/share/doc/${name}/
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} history.txt lzma.txt \
${destroot}${docdir}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150309/706b2007/attachment.html>
More information about the macports-changes
mailing list