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

mcalhoun at macports.org mcalhoun at macports.org
Sat Apr 12 20:17:35 PDT 2008


Revision: 35981
          http://trac.macosforge.org/projects/macports/changeset/35981
Author:   mcalhoun at macports.org
Date:     2008-04-12 20:17:32 -0700 (Sat, 12 Apr 2008)

Log Message:
-----------
zsh:
Minor version update.
Added sourceforge to master_sites.
Added documentation variant.
Added livecheck.
Reduced lint errors.

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

Modified: trunk/dports/shells/zsh/Portfile
===================================================================
--- trunk/dports/shells/zsh/Portfile	2008-04-12 23:50:53 UTC (rev 35980)
+++ trunk/dports/shells/zsh/Portfile	2008-04-13 03:17:32 UTC (rev 35981)
@@ -1,8 +1,9 @@
 # $Id$
 
 PortSystem 1.0
+
 name            zsh
-version         4.2.6
+version         4.2.7
 categories      shells
 maintainers     nox openmaintainer
 description     Zsh is a UNIX command interpreter (shell)
@@ -18,17 +19,19 @@
 homepage        http://www.zsh.org
 platforms       darwin
 use_bzip2       yes
-master_sites    http://www.zsh.org/pub/ \
+master_sites    sourceforge \
+                  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       md5 2cefebf742c190cbc611baded825db64
+checksums       ${distname}${extract.suffix} \
+                  md5 a9d8678c5acf20d78e8c300f107b708b \
+                  sha1 64c598cd48b78dff9d29341ea0cd904e7aa49541 \
+                  rmd160 454339205c78393cbb9460aa10f37fa341a40b59
 depends_lib     port:libiconv port:ncurses
-configure.args  --mandir=${prefix}/share/man \
-                --infodir=${prefix}/share/info \
-                --enable-libs="-liconv -lncurses"
+configure.args  --enable-libs="-lncurses"
 
 platform darwin 8 {
     post-configure {
@@ -36,10 +39,26 @@
     }
 }
 
-variant dp_completion {
+variant dp_completion description {Include automatic completion MacPorts commands} {
     post-destroot   {
         file copy -force ${filespath}/_port \
           ${destroot}${prefix}/share/${name}/${version}/functions
-    }   
+    }
 }
 
+variant doc description {Install documentation} {
+    distfiles-append ${distname}-doc${extract.suffix}
+    checksums-append ${distname}-doc${extract.suffix} \
+                       md5 31e12a3e23f464a3ce3f51b45928bc44 \
+                       sha1 2aef0d011abc9586f7bb9e0f2379fa48bc0dc17b \
+                       rmd160 a049d7369ed3389e805a9f6b884597c2219334a0
+    post-destroot {
+        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
+        eval xinstall -m 644 [glob ${worksrcpath}/Doc/*.html] \
+          ${destroot}${prefix}/share/doc/${name}
+        eval xinstall -m 644 [glob ${worksrcpath}/Doc/*.pdf] \
+          ${destroot}${prefix}/share/doc/${name}
+    }
+}
+
+livecheck.check sourceforge

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080412/0984b391/attachment-0001.html


More information about the macports-changes mailing list