[152498] trunk/dports/shells

larryv at macports.org larryv at macports.org
Sun Sep 11 10:21:37 PDT 2016


Revision: 152498
          https://trac.macports.org/changeset/152498
Author:   larryv at macports.org
Date:     2016-09-11 10:21:36 -0700 (Sun, 11 Sep 2016)
Log Message:
-----------
yash: New port

Yash is a POSIX-compliant shell.

Added Paths:
-----------
    trunk/dports/shells/yash/
    trunk/dports/shells/yash/Portfile
    trunk/dports/shells/yash/files/
    trunk/dports/shells/yash/files/respect-destdir.patch

Added: trunk/dports/shells/yash/Portfile
===================================================================
--- trunk/dports/shells/yash/Portfile	                        (rev 0)
+++ trunk/dports/shells/yash/Portfile	2016-09-11 17:21:36 UTC (rev 152498)
@@ -0,0 +1,56 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+
+name                yash
+version             2.42
+categories          shells
+platforms           darwin
+license             GPL-2+
+maintainers         larryv
+
+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.
+homepage            http://yash.osdn.jp
+
+depends_lib         port:gettext \
+                    port:ncurses
+
+# This number changes with each release.
+master_sites        osdn:${name}/66336
+use_xz              yes
+checksums           md5     cc0562466b86ce6db6a55ede516216fc \
+                    sha1    79bef9ec9bd5e2ade8a6d4401e6c9689775dc659 \
+                    rmd160  1df95fac88081261d7ad6c36d3424daff6f6d42a \
+                    sha256  2e73a0c1d8dbb926592d5170ec6c102b302f381273a1c670376af00f5d0bf250
+
+patchfiles          respect-destdir.patch
+
+test.run            yes
+
+destroot.target-append install-html
+post-destroot {
+    xinstall -m 0644 -W ${worksrcpath} \
+        COPYING NEWS NEWS.ja README README.ja THANKS \
+        ${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'
+"
+
+# A source with more structure would be nice.
+livecheck.type      regex
+livecheck.url       https://osdn.jp/projects/${name}/releases/rss
+livecheck.regex     {(\d+(?:\.\d+)+)</title>}


Property changes on: trunk/dports/shells/yash/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/shells/yash/files/respect-destdir.patch
===================================================================
--- trunk/dports/shells/yash/files/respect-destdir.patch	                        (rev 0)
+++ trunk/dports/shells/yash/files/respect-destdir.patch	2016-09-11 17:21:36 UTC (rev 152498)
@@ -0,0 +1,36 @@
+Index: po/Makefile.in
+===================================================================
+--- po/Makefile.in.orig
++++ po/Makefile.in
+@@ -48,7 +48,6 @@ DOMAIN = @TARGET@
+ VERSION = @VERSION@
+ COPYRIGHT_HOLDER = Magicant
+ 
+-DESTDIR =
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+Index: doc/Makefile.in
+===================================================================
+--- doc/Makefile.in.orig
++++ doc/Makefile.in
+@@ -54,7 +54,6 @@ HTMLAUXFILES = asciidoc.css
+ TARGETS = $(MANFILE) $(HTMLFILES)
+ CONFFILE = asciidoc.conf
+ 
+-DESTDIR =
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+Index: doc/ja/Makefile.in
+===================================================================
+--- doc/ja/Makefile.in.orig
++++ doc/ja/Makefile.in
+@@ -55,7 +55,6 @@ HTMLAUXFILES = asciidoc.css
+ TARGETS = $(MANFILE) $(HTMLFILES)
+ CONFFILE = asciidoc.conf
+ 
+-DESTDIR =
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160911/9df6105f/attachment-0001.html>


More information about the macports-changes mailing list