1 | # $Id: Portfile 24206 2007-04-19 05:54:58Z pipping@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name zsh-devel |
---|
5 | version 4.3.4 |
---|
6 | revision 1 |
---|
7 | categories shells |
---|
8 | maintainers nomaintainer@macports.org |
---|
9 | description Zsh is a UNIX command interpreter (shell) |
---|
10 | long_description Zsh is a UNIX command interpreter (shell) which of \ |
---|
11 | the standard shells most resembles the Korn shell \ |
---|
12 | (ksh), although it is not completely compatible. \ |
---|
13 | It includes enhancements of many types, notably in \ |
---|
14 | the command-line editor, options for customising its \ |
---|
15 | behaviour, filename globbing, features to make \ |
---|
16 | C-shell (csh) users feel more at home and extra \ |
---|
17 | features drawn from tcsh (another `custom' shell). |
---|
18 | homepage http://www.zsh.org |
---|
19 | platforms darwin |
---|
20 | use_bzip2 yes |
---|
21 | master_sites http://www.zsh.org/pub/ ftp://ftp.zsh.org/zsh/ \ |
---|
22 | ftp://ftp.sterling.com/zsh/ \ |
---|
23 | ftp://ftp.rge.com/pub/shells/zsh/ \ |
---|
24 | ftp://ftp.fu-berlin.de/pub/unix/shells/zsh \ |
---|
25 | ftp://ftp.ips.oz.au/pub/packages/zsh/ \ |
---|
26 | ftp://ftp.uit.no/pub/unix/shells/zsh/ \ |
---|
27 | ftp://ftp.iij.ad.jp/pub/misc/zsh/ \ |
---|
28 | ftp://ftp.icm.edu.pl/vol/wojsyl/zsh/\ |
---|
29 | ftp://ftp.sunsite.auc.dk/disk1/zsh/ |
---|
30 | distname zsh-${version} |
---|
31 | checksums sha1 6bd905c4bf61bf3df5e5bb78f64be68366ad7517 |
---|
32 | livecheck.check regex |
---|
33 | livecheck.url http://www.zsh.org/pub/ |
---|
34 | livecheck.regex zsh-(4.3.\[0-9\]+)\.tar\.gz |
---|
35 | depends_lib port:libiconv port:ncurses |
---|
36 | configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info \ |
---|
37 | --enable-libs=-liconv --with-curses-terminfo |
---|
38 | |
---|
39 | platform darwin 8 { |
---|
40 | configure.env-append \ |
---|
41 | CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 |
---|
42 | post-configure { |
---|
43 | reinplace "s|#define HAVE_POLL 1|#undef HAVE_POLL|" \ |
---|
44 | ${worksrcpath}/config.h |
---|
45 | } |
---|
46 | } |
---|
47 | |
---|
48 | variant dp_completion { |
---|
49 | post-destroot { |
---|
50 | file copy -force ${filespath}/_port \ |
---|
51 | ${destroot}${prefix}/share/zsh/${version}/functions |
---|
52 | } |
---|
53 | } |
---|
54 | |
---|
55 | variant utf8 { configure.args-append --enable-multibyte } |
---|