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

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

Take over maintainership of fish, for the hell of it.
Fix whitespace to be soft tabs.
Add livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 25921 2007-06-06 08:24:21Z eridius@macports.org $
2
3PortSystem 1.0
4
5name                    fish
6version                 1.22.3
7categories              shells
8platforms               darwin
9maintainers             eridius@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
19livecheck.check         regex
20livecheck.regex         fish-(.*?).tar.bz2
21
22depends_build   bin:doxygen:doxygen
23depends_lib     lib:libiconv:libiconv lib:libncurses:ncurses lib:libintl:gettext
24
25configure.args  --mandir=${prefix}/share/man
26
27platform darwin 8 {
28    # there's something wonky about the libiconv headers installed by
29    # macports that prevents autoconf from detecting libiconv, so i
30    # have to fake it. See
31    # <http://permalink.gmane.org/gmane.comp.shells.fish.user/1217>
32    # for details.
33    pre-configure {
34        reinplace "s|AC_SEARCH_LIBS( iconv_open|#AC_SEARCH_LIBS( iconv_open|g" "${worksrcpath}/configure.ac"
35    }
36    post-configure {
37        reinplace "s|LDFLAGS= |LDFLAGS= -liconv |g" "${worksrcpath}/Makefile"
38    }
39    configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
40}
41
Note: See TracBrowser for help on using the repository browser.