Files

65 lines
2.0 KiB
Tcl
Raw Permalink Normal View History

2016-09-11 17:21:36 +00:00
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
2016-11-24 16:29:49 -05:00
# Using ar(1) with universal objects doesn't work so well.
2024-02-20 13:36:01 -05:00
PortGroup github 1.0
PortGroup muniversal 1.0
2025-02-15 23:44:48 -08:00
github.setup magicant yash 2.58.1
2024-02-20 13:36:01 -05:00
github.tarball_from releases
revision 0
2016-11-24 16:29:49 -05:00
2016-09-11 17:21:36 +00:00
categories shells
2024-02-20 13:36:01 -05:00
installs_libs no
2016-09-11 17:21:36 +00:00
license GPL-2+
2023-03-12 14:19:27 -04:00
maintainers {larryv @larryv} \
openmaintainer
2016-09-11 17:21:36 +00:00
description Yet Another Shell
long_description Yet another shell (yash) is a POSIX-compliant \
command line shell, featuring more strict POSIX \
compliance than those of other shells, as well as \
powerful command line editing.
2024-03-22 01:17:54 -04:00
homepage https://magicant.github.io/${name}
2016-09-11 17:21:36 +00:00
2024-03-22 01:17:54 -04:00
depends_build-append \
port:asciidoc
depends_lib-append port:gettext \
port:ncurses
2016-09-11 17:21:36 +00:00
use_xz yes
2025-02-15 23:44:48 -08:00
checksums rmd160 3e47138ae2d5ae2fddb6e02b5203bf22bd14838b \
sha256 7674ece98dc77bcc753db49c4311c30532f981682205f9047f20213a3a6755bb \
size 784816
2016-09-11 17:21:36 +00:00
patchfiles respect-destdir.patch
2020-02-02 15:05:00 +00:00
configure.env-append A2X=${prefix}/bin/a2x
2016-09-11 17:40:53 +00:00
# Some older compilers (e.g., gcc-4.2) default to gnu89.
configure.cflags-append -std=c99
2016-11-24 16:29:49 -05:00
# The configure script doesn't recognize "--disable-dependency-tracking".
configure.universal_args
2016-09-11 17:21:36 +00:00
test.run yes
destroot.target-append install-html
post-destroot {
xinstall -m 0644 -W ${worksrcpath} \
2024-02-20 13:36:01 -05:00
COPYING NEWS NEWS.ja README.md README.ja.md THANKS \
2016-09-11 17:21:36 +00:00
${destroot}${prefix}/share/doc/${name}
}
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'
"