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

source_changes at macosforge.org source_changes at macosforge.org
Mon Feb 26 21:49:29 PST 2007


Revision: 22352
          http://trac.macosforge.org/projects/macports/changeset/22352
Author:   pipping at macports.org
Date:     2007-02-26 21:49:29 -0800 (Mon, 26 Feb 2007)

Log Message:
-----------
 * remove dead mirrors
 * prepare for future (working) universal variant
 * cleanup

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

Modified: trunk/dports/shells/zsh/Portfile
===================================================================
--- trunk/dports/shells/zsh/Portfile	2007-02-27 05:39:49 UTC (rev 22351)
+++ trunk/dports/shells/zsh/Portfile	2007-02-27 05:49:29 UTC (rev 22352)
@@ -1,38 +1,41 @@
 # $Id$
 
 PortSystem 1.0
-name        zsh
-version     4.2.6
-categories  shells
-maintainers yeled at macports.org
-description Zsh is a UNIX command interpreter (shell)
-long_description    Zsh is a UNIX command interpreter (shell) which of \
-            the standard shells most resembles the Korn shell \
-            (ksh), although it is not completely compatible. \
-            It includes enhancements of many types, notably in \
-            the command-line editor, options for customising its \
-            behaviour, filename globbing, features to make \
-            C-shell (csh) users feel more at home and extra \
-            features drawn from tcsh (another `custom' shell).
-homepage    http://www.zsh.org
-platforms   darwin
-use_bzip2   yes
-master_sites    http://www.zsh.org/pub/ ftp://ftp.zsh.org/zsh/ \
-        ftp://ftp.sterling.com/zsh/ \
-        ftp://ftp.rge.com/pub/shells/zsh/ \
-        ftp://ftp.fu-berlin.de/pub/unix/shells/zsh \
-        ftp://ftp.ips.oz.au/pub/packages/zsh/ \
-        ftp://ftp.uit.no/pub/unix/shells/zsh/ \
-        ftp://ftp.iij.ad.jp/pub/misc/zsh/ \
-        ftp://ftp.icm.edu.pl/vol/wojsyl/zsh/\
-        ftp://ftp.sunsite.auc.dk/disk1/zsh/
-checksums   md5 2cefebf742c190cbc611baded825db64
-depends_lib lib:libiconv.2:libiconv
-configure.args  --mandir=${prefix}/share/man --infodir=${prefix}/share/info \
-        --enable-libs=-liconv
+name            zsh
+version         4.2.6
+categories      shells
+maintainers     yeled at macports.org
+description     Zsh is a UNIX command interpreter (shell)
+long_description \
+    Zsh is a UNIX command interpreter (shell) which of the standard     \
+    shells most resembles the Korn shell (ksh), although it is not      \
+    completely compatible. It includes enhancements of many types,      \
+    notably in the command-line editor, options for customising its     \
+    behaviour, filename globbing, features to make C-shell (csh) users  \
+    feel more at home and extra features drawn from tcsh (another       \
+    `custom' shell).
 
+homepage        http://www.zsh.org
+platforms       darwin
+use_bzip2       yes
+master_sites    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
+depends_lib     port:libiconv port:ncurses
+configure.args  --mandir=${prefix}/share/man \
+                --infodir=${prefix}/share/info \
+                --enable-libs=-liconv
+configure.env   CPPFLAGS="-I${prefix}/include" \
+                LDFLAGS="-L${prefix}/lib"
+
 platform darwin 8 {
-    configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+    configure.env-append    CC=/usr/bin/gcc-4.0 \
+                            CPP=/usr/bin/cpp-4.0 \
+                            CXX=/usr/bin/g++-4.0
     post-configure {
         reinplace "s|#define HAVE_POLL 1|#undef HAVE_POLL|" ${worksrcpath}/config.h
     }
@@ -40,8 +43,7 @@
 
 variant dp_completion {
     post-destroot   {
-            file copy -force ${filespath}/_port \
-            ${destroot}${prefix}/share/${name}/${version}/functions
+        file copy -force ${filespath}/_port \
+          ${destroot}${prefix}/share/${name}/${version}/functions
     }   
 }
-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070226/4b326910/attachment.html


More information about the macports-changes mailing list