[101691] trunk/dports/shells/zsh/Portfile
larryv at macports.org
larryv at macports.org
Thu Jan 17 02:14:55 PST 2013
Revision: 101691
https://trac.macports.org/changeset/101691
Author: larryv at macports.org
Date: 2013-01-17 02:14:55 -0800 (Thu, 17 Jan 2013)
Log Message:
-----------
zsh: Adjust whitespace; move notes to end.
Modified Paths:
--------------
trunk/dports/shells/zsh/Portfile
Modified: trunk/dports/shells/zsh/Portfile
===================================================================
--- trunk/dports/shells/zsh/Portfile 2013-01-17 10:07:19 UTC (rev 101690)
+++ trunk/dports/shells/zsh/Portfile 2013-01-17 10:14:55 UTC (rev 101691)
@@ -1,71 +1,59 @@
# -*- 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.2
-revision 2
-categories shells
-platforms darwin
-maintainers larryv
-license Permissive
+name zsh
+version 5.0.2
+revision 2
+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 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).
+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
+homepage http://www.zsh.org/
-use_bzip2 yes
-master_sites sourceforge:project/zsh/zsh/${version} \
- http://www.zsh.org/pub/ \
- ftp://ftp.zsh.org/pub/ \
- ftp://ftp.fu-berlin.de/unix/shells/zsh/ \
- ftp://ftp.icm.edu.pl/vol/rzm1/zsh/
-distfiles-append ${distname}-doc${extract.suffix}
-checksums ${distname}${extract.suffix} \
- rmd160 eea2328a28e9f022ab9f49583622a9c3bd6114a7 \
- sha256 eb220ae5a8076191ec6b4c6a5a2f18122d074a19f25b45f0320b44b8166c5a03 \
- ${distname}-doc${extract.suffix} \
- rmd160 a42bd1b85cae98158391d6aa120c6f9d4735ef7b \
- sha256 99ee08cfc91935af8714bd98db652f016d6c7a8a71ba7c6d6223910cd0b7fbf1
+use_bzip2 yes
+master_sites sourceforge:project/zsh/zsh/${version} \
+ http://www.zsh.org/pub/ \
+ ftp://ftp.zsh.org/pub/ \
+ ftp://ftp.fu-berlin.de/unix/shells/zsh/ \
+ ftp://ftp.icm.edu.pl/vol/rzm1/zsh/
+distfiles-append ${distname}-doc${extract.suffix}
+checksums ${distname}${extract.suffix} \
+ rmd160 eea2328a28e9f022ab9f49583622a9c3bd6114a7 \
+ sha256 eb220ae5a8076191ec6b4c6a5a2f18122d074a19f25b45f0320b44b8166c5a03 \
+ ${distname}-doc${extract.suffix} \
+ rmd160 a42bd1b85cae98158391d6aa120c6f9d4735ef7b \
+ sha256 99ee08cfc91935af8714bd98db652f016d6c7a8a71ba7c6d6223910cd0b7fbf1
-depends_lib port:libiconv \
- port:ncurses \
- port:gdbm \
- port:pcre
+depends_lib port:libiconv \
+ port:ncurses \
+ port:gdbm \
+ port:pcre
set doc ${prefix}/share/doc/${name}
-configure.args --htmldir=${doc}/html \
- --enable-libs="-lncurses" \
- --enable-pcre \
- --with-tcsetpgrp \
- DL_EXT=bundle
+configure.args --htmldir=${doc}/html \
+ --enable-libs="-lncurses" \
+ --enable-pcre \
+ --with-tcsetpgrp \
+ DL_EXT=bundle
-test.run yes
-test.target check
+test.run yes
+test.target check
-destroot.target-append install.html \
- install.info
+destroot.target-append install.html install.info
-notes "
-To set MacPorts' ${name} as default login shell, run:
-
- sudo chpass -s ${prefix}/bin/${name} \${USER}
-
-To be able to switch default shells to or from ${name} without superuser\
-privileges, add it to /etc/shells:
-
- sudo sh -c 'echo ${prefix}/bin/${name} >> /etc/shells'
-"
-
post-destroot {
# zshall(1) just includes every other zsh manpage, but its .so groff
# directives fail because MacPorts gzips manpages.
@@ -81,3 +69,14 @@
xinstall -d ${destroot}${prefix}/share/doc/${name}/pdf
eval xinstall -m 0644 [glob ${worksrcpath}/Doc/*.pdf] ${destroot}${doc}/pdf
}
+
+notes "
+To set MacPorts' ${name} as default login shell, run:
+
+ sudo chpass -s ${prefix}/bin/${name} \${USER}
+
+To be able to switch default shells to or from ${name} without superuser\
+privileges, add it to /etc/shells:
+
+ sudo sh -c 'echo ${prefix}/bin/${name} >> /etc/shells'
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130117/d51460ad/attachment-0001.html>
More information about the macports-changes
mailing list