# -*- 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 name zsh version 5.0.0 revision 0 categories shells maintainers nomaintainer 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 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/ checksums ${distname}${extract.suffix} \ rmd160 d2aff295e245dd5e805215c6dcca1e76af8b9725 \ sha256 cd014a8e09a3607c68369d1615db96d0fbb7279a125950b32032fd448c44a888 depends_lib port:libiconv port:ncurses port:gdbm configure.args --enable-libs="-lncurses" \ --with-tcsetpgrp platform darwin 8 { post-configure { reinplace "s|#define HAVE_POLL 1|#undef HAVE_POLL|" ${worksrcpath}/config.h } } variant mp_completion description {Include automatic completion of 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 f81aef500fbaaa6739b6a48e14357dca \ sha1 ea65b463a0b9475ec084ba4f96f390b84b2630a7 \ rmd160 83994a0c5a49db26c9876b27631c2327dda0672b 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} } }