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

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

For all nomaintainer and openmaintainer ports, remove configure.compiler gcc-4.0
from all platform darwin 8 sections. MacPorts 1.6 already ensures that GCC 4.0
is used by default on Tiger. See #14046.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 33301 2008-01-23 10:58:09Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    fish
6version                 1.22.3
7revision                1
8categories              shells
9platforms               darwin
10maintainers             eridius@macports.org openmaintainer
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
20livecheck.check         regex
21livecheck.regex         fish-(.*?).tar.bz2
22
23depends_build   bin:doxygen:doxygen
24depends_lib     lib:libiconv:libiconv lib:libncurses:ncurses lib:libintl:gettext
25
26configure.args  --mandir=${prefix}/share/man --without-xsel
27
28platform darwin 8 {
29    # there's something wonky about the libiconv headers installed by
30    # macports that prevents autoconf from detecting libiconv, so i
31    # have to fake it. See
32    # <http://permalink.gmane.org/gmane.comp.shells.fish.user/1217>
33    # for details.
34    pre-configure {
35        reinplace "s|AC_SEARCH_LIBS( iconv_open|#AC_SEARCH_LIBS( iconv_open|g" "${worksrcpath}/configure.ac"
36    }
37    post-configure {
38        reinplace "s|LDFLAGS= |LDFLAGS= -liconv |g" "${worksrcpath}/Makefile"
39    }
40}
41
42variant xsel description "enable xsel support, only appropriate for use within X11" {
43    configure.args-delete --without-xsel
44}
Note: See TracBrowser for help on using the repository browser.