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

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

Upgrade fish to 1.23.0

Also fix compilation under Leopard

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 34201 2008-02-17 12:19:45Z eridius@macports.org $
2
3PortSystem 1.0
4
5name                    fish
6version                 1.23.0
7categories              shells
8platforms               darwin
9maintainers             eridius@macports.org openmaintainer
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 aa2f09bb54652b16bf4f7708848a7416 \
17                        sha1 8f2c4ca6b760dde5d4c4f8d745c97ce9e283879f
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 {
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.