[76355] trunk/dports/security/zzuf/Portfile

landonf at macports.org landonf at macports.org
Sun Feb 20 10:47:36 PST 2011


Revision: 76355
          http://trac.macports.org/changeset/76355
Author:   landonf at macports.org
Date:     2011-02-20 10:47:36 -0800 (Sun, 20 Feb 2011)
Log Message:
-----------
The installed zzcat binary conflicts with libzzip; zzuff upstream has renamed it to 'zzat', but a new release is not yet available,
so we'll rename it locally.

See also: http://caca.zoy.org/ticket/86

Modified Paths:
--------------
    trunk/dports/security/zzuf/Portfile

Modified: trunk/dports/security/zzuf/Portfile
===================================================================
--- trunk/dports/security/zzuf/Portfile	2011-02-20 18:41:51 UTC (rev 76354)
+++ trunk/dports/security/zzuf/Portfile	2011-02-20 18:47:36 UTC (rev 76355)
@@ -4,6 +4,7 @@
 
 name		  zzuf
 version		  0.13
+revision	  1
 categories	  security
 platforms	  darwin
 maintainers	  pmq
@@ -22,3 +23,16 @@
 
 checksums	  sha1 19f904d63d045194885639c381a607ca86a319b5 \
               rmd160 ef9988a6d97f213090227a0b6d87e4d942ed8c15
+
+# zzcat conflicts with libzzip; zzuff upstream has renamed it
+# to 'zzat', but a new release is not yet available.
+# See also: http://caca.zoy.org/ticket/86
+#
+post-patch {
+        reinplace "s|zzcat|zzat|g" "${worksrcpath}/doc/zzcat.1.in"
+}
+
+post-destroot {
+        file rename "${destroot}/${prefix}/bin/zzcat" "${destroot}/${prefix}/bin/zzat"
+        file rename "${destroot}/${prefix}/share/man/man1/zzcat.1" "${destroot}/${prefix}/share/man/man1/zzat.1"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110220/6d4e078f/attachment.html>


More information about the macports-changes mailing list