Ticket #7648: Portfile

File Portfile, 1.7 KB (added by ecronin (Eric Cronin), 18 years ago)

Portfile for zsh-devel

Line 
1# $Id: Portfile,v 1.19 2005/12/06 02:00:08 yeled Exp $
2
3PortSystem 1.0
4name            zsh-devel
5version         4.3.2
6categories      shells
7maintainers     darwinports@opendarwin.org
8description     Zsh is a UNIX command interpreter (shell)
9long_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).
17homepage        http://www.zsh.org
18platforms       darwin
19use_bzip2       yes
20master_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/
29distname    zsh-${portversion}
30checksums       ${distfiles} sha1 a6dd50c7578812bdb30f4cb65c8ac280c86dbfc3
31depends_lib     lib:libiconv.2:libiconv
32configure.args  --mandir=${prefix}/share/man --infodir=${prefix}/share/info \
33                --enable-libs=-liconv
34
35platform 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
42variant dp_completion {
43        post-destroot   {
44                        file copy -force ${filespath}/_port \
45                        ${destroot}${prefix}/share/zsh/${version}/functions
46        }       
47}
48
49variant utf8 { configure.args-append --enable-multibyte }
50