Portfile

# $Id: Portfile 23051 2007-03-23 17:50:27Z pipping@macports.org $

PortSystem 1.0
name bash
version 3.2.15
revision 0
distname ${name}-3.2
categories shells
maintainers yeled@macports.org
description Bash (bourne-again shell) is a UNIX command interpreter
long_description \
Bash is an sh-compatible shell that incorporates useful \
features from the Korn shell (ksh) and C shell (csh). It is \
intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell \
and Tools standard. It offers functional improvements over sh \
for both programming and interactive use. In addition, most \
sh scripts can be run by Bash without modification.
homepage http://www.gnu.org/software/bash/bash.html
platforms darwin freebsd

master_sites gnu ftp://ftp.cwru.edu/pub/bash/
patch_sites gnu:${name}/${distname}-patches
checksums ${distname}${extract.suffix} md5 \
00bfa16d58e034e3c2aa27f390390d30
patchfiles

depends_lib port:gettext port:libiconv port:ncurses port:readline

configure.env LDFLAGS="-Wl,-search_paths_first -lncurses"
configure.args --mandir=${prefix}/share/man --with-installed-readline \
--infodir=${prefix}/share/info

include checksums_patch

files