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

larryv at macports.org larryv at macports.org
Sat Jan 5 20:17:11 PST 2013


Revision: 101194
          https://trac.macports.org/changeset/101194
Author:   larryv at macports.org
Date:     2013-01-05 20:17:11 -0800 (Sat, 05 Jan 2013)
Log Message:
-----------
zsh: Whitespace and formatting tweaks

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

Modified: trunk/dports/shells/zsh/Portfile
===================================================================
--- trunk/dports/shells/zsh/Portfile	2013-01-06 03:43:27 UTC (rev 101193)
+++ trunk/dports/shells/zsh/Portfile	2013-01-06 04:17:11 UTC (rev 101194)
@@ -1,14 +1,16 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem      1.0
 
 name            zsh
 version         5.0.0
 revision        0
 categories      shells
+platforms       darwin
 maintainers     larryv
 license         Permissive
+
 description     Zsh is a UNIX command interpreter (shell)
 long_description \
     Zsh is a UNIX command interpreter (shell) which of the standard     \
@@ -20,32 +22,35 @@
     `custom' shell).
 
 homepage        http://www.zsh.org
-platforms       darwin
 use_bzip2       yes
 master_sites    sourceforge:project/zsh/zsh/${version} \
-                  http://www.zsh.org/pub/ \
-                  ftp://ftp.zsh.org/zsh/ \
-                  ftp://ftp.sterling.com/zsh/ \
-                  ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/ \
-                  ftp://ftp.iij.ad.jp/pub/misc/zsh/ \
-                  ftp://ftp.icm.edu.pl/vol/wojsyl/zsh/
+                http://www.zsh.org/pub/ \
+                ftp://ftp.zsh.org/zsh/ \
+                ftp://ftp.sterling.com/zsh/ \
+                ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/ \
+                ftp://ftp.iij.ad.jp/pub/misc/zsh/ \
+                ftp://ftp.icm.edu.pl/vol/wojsyl/zsh/
 
-checksums           ${distname}${extract.suffix} \
-                    rmd160  d2aff295e245dd5e805215c6dcca1e76af8b9725 \
-                    sha256  cd014a8e09a3607c68369d1615db96d0fbb7279a125950b32032fd448c44a888
+checksums       ${distname}${extract.suffix} \
+                rmd160  d2aff295e245dd5e805215c6dcca1e76af8b9725 \
+                sha256  cd014a8e09a3607c68369d1615db96d0fbb7279a125950b32032fd448c44a888
 
-depends_lib     port:libiconv port:ncurses port:gdbm
+depends_lib     port:libiconv \
+                port:ncurses \
+                port:gdbm
+
 configure.args  --enable-libs="-lncurses" \
                 --with-tcsetpgrp
 
 platform darwin 8 {
     post-configure {
+        # poll(2) is broken in Tiger
         reinplace "s|#define HAVE_POLL 1|#undef HAVE_POLL|" ${worksrcpath}/config.h
     }
 }
 
 variant mp_completion description {Include automatic completion of MacPorts commands} {
-    post-destroot   {
+    post-destroot {
         file copy -force ${filespath}/_port \
           ${destroot}${prefix}/share/${name}/${version}/functions
     }
@@ -54,9 +59,9 @@
 variant doc description {Install documentation} {
     distfiles-append ${distname}-doc${extract.suffix}
     checksums-append ${distname}-doc${extract.suffix} \
-                       md5     f81aef500fbaaa6739b6a48e14357dca \
-                       sha1    ea65b463a0b9475ec084ba4f96f390b84b2630a7 \
-                       rmd160  83994a0c5a49db26c9876b27631c2327dda0672b
+                     md5     f81aef500fbaaa6739b6a48e14357dca \
+                     sha1    ea65b463a0b9475ec084ba4f96f390b84b2630a7 \
+                     rmd160  83994a0c5a49db26c9876b27631c2327dda0672b
     post-destroot {
         xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
         eval xinstall -m 644 [glob ${worksrcpath}/Doc/*.html] \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130105/b70fd642/attachment.html>


More information about the macports-changes mailing list