[28486] trunk/dports/archivers/zoo/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Sep 1 15:39:23 PDT 2007
Revision: 28486
http://trac.macosforge.org/projects/macports/changeset/28486
Author: nox at macports.org
Date: 2007-09-01 15:39:23 -0700 (Sat, 01 Sep 2007)
Log Message:
-----------
zoo:
* Added universal support.
* Added sha1 and rmd160 checksums.
* Added doc installation.
Modified Paths:
--------------
trunk/dports/archivers/zoo/Portfile
Modified: trunk/dports/archivers/zoo/Portfile
===================================================================
--- trunk/dports/archivers/zoo/Portfile 2007-09-01 21:58:43 UTC (rev 28485)
+++ trunk/dports/archivers/zoo/Portfile 2007-09-01 22:39:23 UTC (rev 28486)
@@ -1,14 +1,16 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
name zoo
version 2.10pl1
categories archivers
platforms darwin
-maintainers nomaintainer at macports.org
+maintainers nomaintainer
description Manipulate archives of files in compressed form
-long_description Zoo is used to create and maintain collections of files in \
+
+long_description \
+ Zoo is used to create and maintain collections of files in \
compressed form. It uses a Lempel-Ziv compression algorithm that \
gives space savings in the range of 20% to 80% depending on the \
type of file data. Zoo can store and selectively extract multiple \
@@ -18,18 +20,35 @@
homepage http://zoo.sourceforge.net/
master_sites ftp://ftp.kiarchive.ru/pub/unix/arcers/
-checksums md5 70a0a785ecc8f7f747be1421e495d837
-pre-extract { file mkdir ${worksrcpath} }
-extract.dir ${worksrcpath}
+checksums md5 70a0a785ecc8f7f747be1421e495d837 \
+ sha1 c02d96148ee57df01596d0c8d07a3e327b821600 \
+ rmd160 971d388b8cb29def1e4e31011463563e91c3d700
-use_configure no
+extract.dir ${worksrcpath}
+pre-extract {
+ file mkdir ${worksrcpath}
+}
+
+configure {
+ reinplace -E "/BSD4_3/s|(CFLAGS=\")|LDFLAGS=\"[join ${configure.ldflags} " "]\" \
+ \\1[join ${configure.cflags} " "] |" \
+ ${worksrcpath}/makefile
+}
+
build.target bsd
-destroot {
- xinstall -m 755 -W ${worksrcpath} zoo fiz ${destroot}${prefix}/bin
- xinstall -m 644 -W ${worksrcpath} zoo.1 fiz.1 \
- ${destroot}${prefix}/share/man/man1
+destroot.target inst_prod
+destroot.args DESTDIR=${destroot}${prefix}/bin
+
+post-destroot {
+ cd ${worksrcpath}
+
+ eval xinstall -m 0444 [glob *.1] ${destroot}${prefix}/share/man/man1
+
+ set docdir ${prefix}/share/doc/${name}-${version}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 0644 Copyright ${destroot}${docdir}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070901/fa93e0b7/attachment.html
More information about the macports-changes
mailing list