# $Id: Portfile,v 1.13 2006/08/08 07:08:00 yeled Exp $

PortSystem 1.0
name        bash
version     3.1.17
distname    ${name}-3.1
categories  shells
maintainers yeled@opendarwin.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 \
    ef5304c4b22aaa5088972c792ed45d72
patchfiles

depends_build   bin:msgfmt:gettext
depends_lib     lib:libiconv.2:libiconv

configure.env   LDFLAGS=-Wl,-search_paths_first
configure.args  --mandir=${prefix}/share/man --infodir=${prefix}/share/info

include patch_checksums
