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

Last change on this file since 24142 was 24142, checked in by ryandesign@…, 13 years ago

Make all portfiles start with '# $Id$' and then a blank line.

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