source: trunk/dports/shells/fish/Portfile @ 22169

Last change on this file since 22169 was 22169, checked in by pipping@…, 14 years ago
  • apply patch submitted by zoarre.37258548@…
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1
2# $Id: Portfile 22169 2007-02-20 20:58:34Z pipping@macports.org $
3
4PortSystem 1.0
5
6name                    fish
7version                 1.22.3
8categories              shells
9platforms               darwin
10maintainers             nomaintainer@macports.org
11description             user friendly command line shell for UNIX-like operating systems
12long_description        fish is a user friendly command line shell for UNIX-like \
13                        operating systems like Darwin.
14
15homepage                http://www.fishshell.org/
16master_sites            http://www.fishshell.org/files/${version}/
17checksums               md5 016a5944861ea48e363521c240834415
18use_bzip2               yes
19
20depends_build   bin:doxygen:doxygen
21depends_lib     lib:libiconv:libiconv lib:libncurses:ncurses lib:libintl:gettext
22
23configure.args  --mandir=${prefix}/share/man
24
25platform darwin 8 {
26    # there's something wonky about the libiconv headers installed by
27    # macports that prevents autoconf from detecting libiconv, so i
28    # have to fake it. See
29    # <http://permalink.gmane.org/gmane.comp.shells.fish.user/1217>
30    # for details.
31    pre-configure {
32        reinplace "s|AC_SEARCH_LIBS( iconv_open|#AC_SEARCH_LIBS( iconv_open|g" "${worksrcpath}/configure.ac"
33    }
34    post-configure {
35        reinplace "s|LDFLAGS= |LDFLAGS= -liconv |g" "${worksrcpath}/Makefile"
36    }
37        configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
38}
39
Note: See TracBrowser for help on using the repository browser.