a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22169 2007-02-20 20:58:34Z pipping@macports.org $
PortSystem 1.0
name fish
version 1.22.3
categories shells
platforms darwin
maintainers nomaintainer@macports.org
description user friendly command line shell for UNIX-like operating systems
long_description fish is a user friendly command line shell for UNIX-like \
operating systems like Darwin.
homepage http://www.fishshell.org/
master_sites http://www.fishshell.org/files/${version}/
checksums md5 016a5944861ea48e363521c240834415
use_bzip2 yes
depends_build bin:doxygen:doxygen
depends_lib lib:libiconv:libiconv lib:libncurses:ncurses lib:libintl:gettext
configure.args --mandir=${prefix}/share/man
platform darwin 8 {
# there's something wonky about the libiconv headers installed by
# macports that prevents autoconf from detecting libiconv, so i
# have to fake it. See
#
# for details.
pre-configure {
reinplace "s|AC_SEARCH_LIBS( iconv_open|#AC_SEARCH_LIBS( iconv_open|g" "${worksrcpath}/configure.ac"
}
post-configure {
reinplace "s|LDFLAGS= |LDFLAGS= -liconv |g" "${worksrcpath}/Makefile"
}
configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}