svn commit: r508989 - in head/shells: . poshinit

Mateusz Piotrowski 0mp at FreeBSD.org
Thu Aug 15 10:10:23 UTC 2019


Author: 0mp
Date: Thu Aug 15 10:10:22 2019
New Revision: 508989
URL: https://svnweb.freebsd.org/changeset/ports/508989

Log:
  New port: shells/poshinit: Portable shell setup for Bash/Zsh across FreeBSD/Linux/Cygwin
  
  You want your shell stuff to work the same way even when you use a
  different shell, or even a different box. Right?
  
  If you use poshinit (Portable Shell Initialization), you can attain at
  least most of what you desire, perhaps even all. You can log out of Bash
  and log in with Zsh (or vice versa) - and your aliases/exports/functions
  will continue to work as before.
  
  It gets better - if someday you need to use a different box with a
  different OS, you can get your shell to work your 'normal' way in a
  jiffy. Just save your $HOME/.shell directory on your primary box, and
  paste it over your second box's $HOME/.shell (after running poshinit
  setup script on the second box). The second box need not be the same
  operating system - poshinit works across FreeBSD / Linux / Cygwin.
  
  WWW: https://github.com/bourne-again/poshinit
  
  PR:		232315
  Submitted by:	bourne.identity at hotmail.com
  Reviewed by:	Nathan, Walter Schwarzenfeld, tobik (previous versions)

Added:
  head/shells/poshinit/
  head/shells/poshinit/Makefile   (contents, props changed)
  head/shells/poshinit/distinfo   (contents, props changed)
  head/shells/poshinit/pkg-descr   (contents, props changed)
Modified:
  head/shells/Makefile

Modified: head/shells/Makefile
==============================================================================
--- head/shells/Makefile	Thu Aug 15 10:01:34 2019	(r508988)
+++ head/shells/Makefile	Thu Aug 15 10:10:22 2019	(r508989)
@@ -39,6 +39,7 @@
     SUBDIR += p5-Term-ShellUI
     SUBDIR += pdksh
     SUBDIR += pear-PHP_Shell
+    SUBDIR += poshinit
     SUBDIR += psh
     SUBDIR += rc
     SUBDIR += rush

Added: head/shells/poshinit/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/shells/poshinit/Makefile	Thu Aug 15 10:10:22 2019	(r508989)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	poshinit
+PORTVERSION=	1.0
+CATEGORIES=	shells
+
+MAINTAINER=	bourne.identity at hotmail.com
+COMMENT=	Portable shell setup for Bash/Zsh across FreeBSD/Linux/Cygwin
+
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	bourne-again
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+PLIST_FILES=	bin/${PORTNAME} \
+		man/man1/${PORTNAME}.1.gz
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>

Added: head/shells/poshinit/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/shells/poshinit/distinfo	Thu Aug 15 10:10:22 2019	(r508989)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1542812999
+SHA256 (bourne-again-poshinit-1.0_GH0.tar.gz) = 39b263db0c0ca9682cbe6b71dacb73c9b5bdd3a12aca2698df1f349fe6fee068
+SIZE   (bourne-again-poshinit-1.0_GH0.tar.gz) = 11636

Added: head/shells/poshinit/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/shells/poshinit/pkg-descr	Thu Aug 15 10:10:22 2019	(r508989)
@@ -0,0 +1,16 @@
+You want your shell stuff to work the same way even when you use a
+different shell, or even a different box. Right?
+
+If you use poshinit (Portable Shell Initialization), you can attain at
+least most of what you desire, perhaps even all. You can log out of Bash
+and log in with Zsh (or vice versa) - and your aliases/exports/functions
+will continue to work as before.
+
+It gets better - if someday you need to use a different box with a
+different OS, you can get your shell to work your 'normal' way in a
+jiffy. Just save your $HOME/.shell directory on your primary box, and
+paste it over your second box's $HOME/.shell (after running poshinit
+setup script on the second box). The second box need not be the same
+operating system - poshinit works across FreeBSD / Linux / Cygwin.
+
+WWW: https://github.com/bourne-again/poshinit


More information about the svn-ports-head mailing list