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