[29063] trunk/dports/archivers/afio/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Fri Sep 14 05:45:46 PDT 2007
Revision: 29063
http://trac.macosforge.org/projects/macports/changeset/29063
Author: nox at macports.org
Date: 2007-09-14 05:45:46 -0700 (Fri, 14 Sep 2007)
Log Message:
-----------
afio (closes #12675):
* Added universal support.
* Added standard doc installation.
* Now uses standard destroot procedure.
* Added sha1 and rmd160 checksums.
* Appended another mirror to master_sites.
Modified Paths:
--------------
trunk/dports/archivers/afio/Portfile
Modified: trunk/dports/archivers/afio/Portfile
===================================================================
--- trunk/dports/archivers/afio/Portfile 2007-09-14 12:44:36 UTC (rev 29062)
+++ trunk/dports/archivers/afio/Portfile 2007-09-14 12:45:46 UTC (rev 29063)
@@ -1,13 +1,15 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
name afio
version 2.5
+revision 1
categories archivers
platforms darwin
maintainers michael.klein at puffin.lb.shuttle.de
description Archiver & backup program with builtin compression
+
long_description Afio makes cpio-format archives. It deals somewhat \
gracefully with input data corruption, supports \
multi-volume archives during interactive operation, and \
@@ -15,21 +17,30 @@
compressed tar or cpio archives. Afio is best used as \
an `archive engine' in a backup script.
-homepage http://freshmeat.net/projects/afio/
-master_sites http://members.brabant.chello.nl/~k.holtman
-checksums md5 8c6665e0f875dcd8e1bdb18644b59688
+homepage http://freshmeat.net/projects/afio/
+master_sites http://members.brabant.chello.nl/~k.holtman \
+ http://www.ibiblio.org/pub/Linux/system/backup/
extract.suffix .tgz
-use_configure no
+checksums md5 8c6665e0f875dcd8e1bdb18644b59688 \
+ sha1 051765f209fded60f94944da8a76ae37c3423a23 \
+ rmd160 991bdb794ee8b4b7e6a737afa85009aae925699d
-build.target afio
+post-patch {
+ reinplace -E "s|/usr(/local)?|\$(DESTDIR)${prefix}|" ${worksrcpath}/Makefile
+}
-destroot {
- xinstall ${worksrcpath}/afio ${destroot}${prefix}/bin/
- xinstall ${worksrcpath}/afio.1 ${destroot}${prefix}/share/man/man1/
- }
+configure {
+ reinplace -E "/^CFLAGS/s|\$| [join ${configure.cflags} " "]|" ${worksrcpath}/Makefile
+ reinplace -E "/^LDFLAGS/s|\$| [join ${configure.ldflags} " "]|" ${worksrcpath}/Makefile
+}
-destroot.destdir prefix=${destroot}${prefix}
+post-destroot {
+ set docdir ${prefix}/share/doc/${name}-${version}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 0644 -W ${worksrcpath} ANNOUNCE-2.5 HISTORY README SCRIPTS \
+ ${destroot}${docdir}
+}
-universal_variant no
+build.target afio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070914/ba3edd70/attachment.html
More information about the macports-changes
mailing list