1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 123588 2014-08-11 07:16:01Z and.damore@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup fish-shell fish-shell 2.1.2 |
---|
8 | # fish was stealth-updated, no changes. Remove this line with the next version update. |
---|
9 | revision 1 |
---|
10 | dist_subdir ${name}/${version}_1 |
---|
11 | name fish |
---|
12 | license GPL-2 |
---|
13 | categories shells |
---|
14 | platforms darwin |
---|
15 | maintainers nomaintainer |
---|
16 | |
---|
17 | description A command line shell for the 90s |
---|
18 | long_description fish is a smart and user-friendly command line shell for OS X, Linux, and the rest of the family |
---|
19 | |
---|
20 | homepage http://fishshell.com/ |
---|
21 | |
---|
22 | checksums rmd160 dbe239bc0e9ed1d2763a771be7b7bcdcd792c8e0 \ |
---|
23 | sha256 7482ebc418102877b69c46eebdd7a75c090227828891bb7dcfef6db3ac713ca0 |
---|
24 | |
---|
25 | depends_build port:doxygen \ |
---|
26 | path:bin/dot:graphviz |
---|
27 | depends_lib port:libiconv \ |
---|
28 | port:ncurses \ |
---|
29 | port:gettext |
---|
30 | |
---|
31 | use_autoconf yes |
---|
32 | |
---|
33 | patchfiles patch-share_config_fish.diff |
---|
34 | |
---|
35 | post-patch { |
---|
36 | reinplace "s|@@PREFIX@@|${prefix}/bin|g" "${worksrcpath}/share/config.fish" |
---|
37 | reinplace "s|DEF_VER=2.0.GIT|DEF_VER=${version}|" ${worksrcpath}/build_tools/git_version_gen.sh |
---|
38 | } |
---|
39 | |
---|
40 | notes " |
---|
41 | To set MacPorts' ${name} as default login shell, run: |
---|
42 | |
---|
43 | sudo chpass -s ${prefix}/bin/${name} \${USER} |
---|
44 | |
---|
45 | To be able to switch default shells to or from ${name} without superuser\ |
---|
46 | privileges, add it to /etc/shells: |
---|
47 | |
---|
48 | sudo sh -c 'echo ${prefix}/bin/${name} >> /etc/shells' |
---|
49 | |
---|
50 | For X clipboard integration, install the xsel port: |
---|
51 | |
---|
52 | sudo port install xsel |
---|
53 | " |
---|