most recent changes, diff for libarchive

Index: archivers/libarchive/Portfile
--- archivers/libarchive/Portfile (revision 29061)
+++ archivers/libarchive/Portfile (revision 29062)
@@ -1,23 +1,35 @@
# $Id$

-PortSystem 1.0
+PortSystem 1.0
+
name libarchive
-version 2.0.20
+version 2.2.6
categories archivers
maintainers toby@macports.org
description functions for reading and writing streaming archives
+
long_description \
Libarchive is a programming library that can create and \
read several different streaming archive formats, including \
most popular tar variants and several cpio formats. It can \
also write shar archives.
+
homepage http://people.freebsd.org/~kientzle/libarchive/
platforms darwin

master_sites ${homepage}src/
-checksums sha1 d33e399547cebf075057091c16d51834eed01571

+checksums md5 a8d23b9c37153093b2e6c03385fb3ad9 \
+ sha1 3e8b69479c1f9beaf01d3b1672573ac33a74b120 \
+ rmd160 2b0e6216512d22fda7d91091cbd9e2275719a975
+
depends_lib port:bzip2 port:zlib

-configure.args --mandir=${prefix}/share/man \
- --disable-static --enable-shared
+configure.args --disable-static
+
+post-destroot {
+ set docdir ${prefix}/share/doc/${name}-${version}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 0644 -W ${worksrcpath} COPYING NEWS README ${destroot}${docdir}
+}
+