| 1 | # $Id: Portfile 15393 2006-12-18 15:23:46Z lefevre $ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | name zsh-devel |
|---|
| 5 | version 4.3.2 |
|---|
| 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 a6dd50c7578812bdb30f4cb65c8ac280c86dbfc3 |
|---|
| 32 | depends_lib port:libiconv port:ncurses |
|---|
| 33 | configure.env CPPFLAGS="-I${prefix}/include/ncurses -I${prefix}/include" \ |
|---|
| 34 | LDFLAGS="-L${prefix}/lib" |
|---|
| 35 | configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info \ |
|---|
| 36 | --enable-libs=-liconv --with-curses-terminfo |
|---|
| 37 | patchfiles patch-configure |
|---|
| 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 } |
|---|