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

larryv at macports.org larryv at macports.org
Sat Dec 14 17:04:34 PST 2013


Revision: 114772
          https://trac.macports.org/changeset/114772
Author:   larryv at macports.org
Date:     2013-12-14 17:04:34 -0800 (Sat, 14 Dec 2013)
Log Message:
-----------
zsh: Reformat and reshuffle some more.

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

Modified: trunk/dports/shells/zsh/Portfile
===================================================================
--- trunk/dports/shells/zsh/Portfile	2013-12-15 00:42:04 UTC (rev 114771)
+++ trunk/dports/shells/zsh/Portfile	2013-12-15 01:04:34 UTC (rev 114772)
@@ -23,6 +23,13 @@
                         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 \
+                        port:pcre
+
 master_sites            sourceforge:project/zsh/zsh/${version}:src \
                         sourceforge:project/zsh/zsh-doc/${version}:doc \
                         http://www.zsh.org/pub/:src \
@@ -33,9 +40,11 @@
                         ftp://ftp.fu-berlin.de/unix/shells/zsh/:doc \
                         ftp://ftp.icm.edu.pl/vol/rzm1/zsh/:src \
                         ftp://ftp.icm.edu.pl/vol/rzm1/zsh/:doc
+
 use_bzip2               yes
 distfiles               ${distname}${extract.suffix}:src \
                         ${distname}-doc${extract.suffix}:doc
+
 checksums               ${distname}${extract.suffix} \
                             rmd160  eea2328a28e9f022ab9f49583622a9c3bd6114a7 \
                             sha256  eb220ae5a8076191ec6b4c6a5a2f18122d074a19f25b45f0320b44b8166c5a03 \
@@ -51,16 +60,9 @@
         ${worksrcpath}/Functions/Misc/run-help
 }
 
-# Perl is only needed in post-destroot.
-depends_build           bin:perl:perl5
-depends_lib             port:libiconv \
-                        port:ncurses \
-                        port:gdbm \
-                        port:pcre
-
-configure.args          --htmldir=${doc}/html \
-                        --enable-libs="-lncurses" \
+configure.args          --enable-libs="-lncurses" \
                         --enable-pcre \
+                        --htmldir=${doc}/html \
                         --with-tcsetpgrp \
                         DL_EXT=bundle
 
@@ -85,8 +87,8 @@
     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
+    eval xinstall -m 0644 \
+        [glob ${worksrcpath}/Doc/*.pdf] ${destroot}${doc}/pdf
 }
 
 notes "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131214/9e07333a/attachment.html>


More information about the macports-changes mailing list