# -*- 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 PortSystem 1.0 PortGroup github 1.0 PortGroup cmake 1.1 PortGroup legacysupport 1.0 github.setup fish-shell fish-shell 3.6.1 revision 0 checksums rmd160 c69c3d1bd6db6a9b3d9d614d35c0a712d7fc0ac9 \ sha256 55402bb47ca6739d8aba25e41780905b5ce1bce0a5e0dd17dca908b5bc0b49b2 \ size 2866100 use_xz yes name fish license GPL-2 categories shells platforms darwin maintainers nomaintainer description A command line shell for the 90s long_description fish is a smart and user-friendly command line shell for OS X, Linux, and the rest of the family homepage https://fishshell.com/ github.tarball_from releases distname ${name}-${version} depends_build-append port:gettext depends_lib-append port:libiconv \ port:ncurses \ port:gettext-runtime patchfiles patch-share_config_fish.diff post-patch { reinplace "s|@@PREFIX@@|${prefix}/bin|g" "${worksrcpath}/share/config.fish" # skip failing tests for now, future updates should try enabling them file rename "${worksrcpath}/tests/checks/sigint.fish" "${worksrcpath}/tests/checks/sigint.fish.skip" } compiler.cxx_standard 2011 compiler.thread_local_storage yes # doxygen appears to only regenerate html files and is not needed to install man pages configure.args-append -DBUILD_DOCS=OFF configure.args-append -DMAC_CODESIGN_ID=OFF platform darwin 8 { #/opt/local/var/macports/build/_opt_myports_shells_fish/fish/work/fish-3.0.2/src/env.cpp:436:31: error: invalid conversion from 'char*' to 'int' configure.cxxflags-append -D__DARWIN_UNIX03 depends_test-append port:bash test.env-append SHELL=${prefix}/bin/bash } depends_test-append port:py39-pexpect # other possible options are ansi, dtterm, rxvt, vt52, vt100, vt102, xterm test.env-append TERM=nsterm test.run yes test.target test pre-test { append portsandbox_profile " (allow process-exec (literal \"/bin/ps\") (with no-profile))" } notes " To set MacPorts' ${name} as default login shell, run: sudo chpass -s ${prefix}/bin/${name} \${USER} To be able to switch default shells to or from ${name} without superuser\ privileges, add it to /etc/shells: sudo sh -c 'echo ${prefix}/bin/${name} >> /etc/shells' For X clipboard integration, install the xsel port: sudo port install xsel "