[102025] trunk/dports/shells/zsh-devel/Portfile
larryv at macports.org
larryv at macports.org
Thu Jan 24 14:03:52 PST 2013
Revision: 102025
https://trac.macports.org/changeset/102025
Author: larryv at macports.org
Date: 2013-01-24 14:03:52 -0800 (Thu, 24 Jan 2013)
Log Message:
-----------
zsh-devel: Obsolete in favor of zsh.
Modified Paths:
--------------
trunk/dports/shells/zsh-devel/Portfile
Modified: trunk/dports/shells/zsh-devel/Portfile
===================================================================
--- trunk/dports/shells/zsh-devel/Portfile 2013-01-24 21:55:02 UTC (rev 102024)
+++ trunk/dports/shells/zsh-devel/Portfile 2013-01-24 22:03:52 UTC (rev 102025)
@@ -1,158 +1,15 @@
-# -*- 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
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
+PortGroup obsolete 1.0
name zsh-devel
-set real_name zsh
-
+replaced_by zsh
version 5.0.0
+revision 1
+
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).
-
-homepage http://www.zsh.org/
-
-use_bzip2 yes
-dist_subdir ${real_name}
-distname ${real_name}-${version}
-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/ \
- http://deb.grml.org/pool/main/z/zsh-lovers/:love
-
-# Some love for zsh: http://grml.org/zsh/zsh-lovers.html
-set love_distname zsh-lovers_0.8.3
-set love_distfile ${love_distname}.tar.gz
-set worklovedir zsh-lovers
-set worklovepath ${workpath}/${worklovedir}
-
-checksums zsh-${version}.tar.bz2 \
- rmd160 d2aff295e245dd5e805215c6dcca1e76af8b9725 \
- sha256 cd014a8e09a3607c68369d1615db96d0fbb7279a125950b32032fd448c44a888 \
- zsh-${version}-doc.tar.bz2 \
- rmd160 83994a0c5a49db26c9876b27631c2327dda0672b \
- sha256 d2219eb3003c108af9d297ff055aa6df3cdb756ccf6b1b2ee3db8a72dbb2ef30 \
- ${love_distfile} \
- rmd160 f8482d61d700cc79530b4839de5a86aed6783e99 \
- sha256 c786724ac9526e2504142c6d607bc6f3703a35b3db804123f0ffe4214b399ea9
-
-depends_lib port:libiconv \
- port:ncurses \
- port:gdbm
-
-configure.args --mandir=${prefix}/share/man \
- --infodir=${prefix}/share/info \
- --enable-multibyte \
- --enable-etcdir=${prefix}/etc \
- --with-tcsetpgrp
-
-configure.env DL_EXT=bundle
-
-test.run yes
-test.target check
-
-set docdir ${prefix}/share/doc/${real_name}-${version}
-
-post-patch {
- reinplace "s|/usr/share/zsh|${prefix}/share/zsh|" ${worksrcpath}/Functions/Misc/run-help
-}
-
-post-destroot {
- # This manpage only includes every zsh manpage; as manpages are gzipped in MacPorts,
- # .so groff directives will fail.
- system "cd ${destroot}${prefix}/share/man/man1 && \
- soelim -I.. zshall.1 > zshall.1.soelim"
- move -force \
- ${destroot}${prefix}/share/man/man1/zshall.1.soelim \
- ${destroot}${prefix}/share/man/man1/zshall.1
-
- # Install helpfiles for shell builtins (for use by run-help) by
- # extracting them from the zshbuiltins manpage
- set helpdir ${prefix}/share/${real_name}/${version}/help
- xinstall -d ${destroot}${helpdir}
- system "cd ${destroot}${helpdir} && nroff -mandoc -Tascii -c ${destroot}${prefix}/share/man/man1/zshbuiltins.1 | colcrt - | perl ${worksrcpath}/Util/helpfiles"
-
- xinstall -d ${destroot}${docdir}
- xinstall -m 0644 -W ${worksrcpath} ChangeLog FEATURES LICENCE NEWS README ${destroot}${docdir}
-
- if {[variant_isset doc] || [variant_isset examples]} {
- xinstall -d ${destroot}${docdir}/pdf
- }
-}
-
-notes "
-If you want MacPorts' ${real_name} as login shell, you should run:
-% sudo sh -c \"echo '${prefix}/bin/${real_name}' >> /etc/shells\"
-% chsh -s ${prefix}/bin/${real_name}
-"
-
-platform darwin 8 {
- post-configure {
- # poll(2) is broken on Darwin 8.
- reinplace "s|#define HAVE_POLL 1|#undef HAVE_POLL|" \
- ${worksrcpath}/config.h
- }
-}
-
-variant mp_completion description {Install port(1) completion file} {
- post-destroot {
- set sitedir ${prefix}/share/${real_name}/site-functions
- xinstall -m 0644 ${filespath}/_port \
- ${destroot}${sitedir}
- }
-}
-
-variant pcre description {Add regular expressions support in builtin functions through PCRE} {
- configure.args-append --enable-pcre
- depends_lib-append port:pcre
-}
-
-variant doc description {Install extra documentation} {
- distfiles-append [suffix ${distname}-doc]
-
- post-build {
- system "${build.cmd} -C ${worksrcpath}/Doc html info"
- }
-
- destroot.target-append install.html \
- install.info
-}
-
-variant examples description {Install configuration examples} {
- distfiles-append ${love_distfile}:love
- extract.only-delete ${love_distfile}
-
- post-extract {
- system "tar xzf ${distpath}/${love_distfile} -C ${workpath}"
- }
-
- post-destroot {
- proc xinstall_dir {dir destdir} {
- xinstall -d ${destdir}
-
- foreach {file} [glob ${dir}/*] {
- if {[file isdirectory ${file}]} {
- xinstall_dir ${file} [file join ${destdir} [file tail ${file}]]
- } else {
- xinstall -m 0644 ${file} ${destdir}
- }
- }
- }
-
- xinstall -m 0644 ${worklovepath}/refcard.pdf ${destroot}${docdir}/pdf
- xinstall_dir ${worklovepath}/zsh_people ${destroot}${docdir}/examples
- }
-}
-
-livecheck.distname ${real_name}-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130124/710ec738/attachment.html>
More information about the macports-changes
mailing list