[114773] trunk/dports/shells/zsh/Portfile

larryv at macports.org larryv at macports.org
Sat Dec 14 17:16:11 PST 2013


Revision: 114773
          https://trac.macports.org/changeset/114773
Author:   larryv at macports.org
Date:     2013-12-14 17:16:11 -0800 (Sat, 14 Dec 2013)
Log Message:
-----------
zsh: Update to 5.0.3.

Also:
- Don't generate run-help files anymore, since they're provided in the
  5.0.3 distribution.
- Don't bother specifying "-lncurses" explicitly, since ncurses is
  automatically picked up by configure.
- Enable "cap" library for manipulating POSIX.1e capability sets.

Modified Paths:
--------------
    trunk/dports/shells/zsh/Portfile

Modified: trunk/dports/shells/zsh/Portfile
===================================================================
--- trunk/dports/shells/zsh/Portfile	2013-12-15 01:04:34 UTC (rev 114772)
+++ trunk/dports/shells/zsh/Portfile	2013-12-15 01:16:11 UTC (rev 114773)
@@ -4,8 +4,7 @@
 PortSystem              1.0
 
 name                    zsh
-version                 5.0.2
-revision                3
+version                 5.0.3
 categories              shells
 platforms               darwin
 license                 Permissive
@@ -23,8 +22,6 @@
                         tcsh (another 'custom' shell).
 homepage                http://www.zsh.org/
 
-# Perl is only needed in post-destroot.
-depends_build           bin:perl:perl5
 depends_lib             port:libiconv \
                         port:ncurses \
                         port:gdbm \
@@ -46,21 +43,15 @@
                         ${distname}-doc${extract.suffix}:doc
 
 checksums               ${distname}${extract.suffix} \
-                            rmd160  eea2328a28e9f022ab9f49583622a9c3bd6114a7 \
-                            sha256  eb220ae5a8076191ec6b4c6a5a2f18122d074a19f25b45f0320b44b8166c5a03 \
+                            rmd160  b83ad0006d9a7881d947d6f708cf6101673d74c1 \
+                            sha256  14c7685d5e5acbfe9436f2fe9578c17e0dbb00dfbd7d88c72b49930af91136cf \
                         ${distname}-doc${extract.suffix} \
-                            rmd160  a42bd1b85cae98158391d6aa120c6f9d4735ef7b \
-                            sha256  99ee08cfc91935af8714bd98db652f016d6c7a8a71ba7c6d6223910cd0b7fbf1
+                            rmd160  cdbc496a558e09166446b4e50f8d06ef445f324d \
+                            sha256  5c41f6ba83207c086849c319e2711d62ba9a11d545113b8b79323f88d15cafab
 
-set help ${prefix}/share/${name}/${version}/help
 set doc ${prefix}/share/doc/${name}
 
-post-patch {
-    reinplace -E "s|{HELPDIR:-.+}|{HELPDIR:-${help}}|" \
-        ${worksrcpath}/Functions/Misc/run-help
-}
-
-configure.args          --enable-libs="-lncurses" \
+configure.args          --enable-cap \
                         --enable-pcre \
                         --htmldir=${doc}/html \
                         --with-tcsetpgrp \
@@ -78,17 +69,12 @@
     system -W ${man} "soelim man1/zshall.1 > zshall.1.soelim"
     move -force ${man}/zshall.1.soelim ${man}/man1/zshall.1
 
-    # Generate run-help help files; see zshcontrib(1).
-    xinstall -d ${destroot}${help}
-    system -W ${destroot}${help} "man ${man}/man1/zshbuiltins.1 | \
-        colcrt - | \ perl ${worksrcpath}/Util/helpfiles"
-
     # Install any straggling documentation.
     xinstall -m 0644 -W ${worksrcpath} \
         ChangeLog FEATURES LICENCE META-FAQ NEWS README ${destroot}${doc}
     xinstall -d ${destroot}${doc}/pdf
-    eval xinstall -m 0644 \
-        [glob ${worksrcpath}/Doc/*.pdf] ${destroot}${doc}/pdf
+    xinstall -m 0644 -W ${worksrcpath}/Doc \
+        intro.a4.pdf intro.us.pdf zsh.pdf ${destroot}${doc}/pdf
 }
 
 notes "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131214/fba10b51/attachment.html>


More information about the macports-changes mailing list