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

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

Disable xsel by default.
Add new xsel variant to re-enable xsel.
Thanks Corey Jewett

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 27921 2007-08-16 04:17:09Z eridius@macports.org $
2
3PortSystem 1.0
4
5name                    fish
6version                 1.22.3
7revision                1
8categories              shells
9platforms               darwin
10maintainers             eridius@macports.org openmaintainer@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
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    configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
41}
42
43variant xsel description "enable xsel support, only appropriate for use within X11" {
44    configure.args-delete --without-xsel
45}
Note: See TracBrowser for help on using the repository browser.