summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shells/Makefile1
-rw-r--r--shells/oksh/Makefile19
-rw-r--r--shells/oksh/distinfo3
-rw-r--r--shells/oksh/pkg-descr6
-rw-r--r--shells/oksh/pkg-plist2
5 files changed, 31 insertions, 0 deletions
diff --git a/shells/Makefile b/shells/Makefile
index e09a232b6240..64ec1a6dc186 100644
--- a/shells/Makefile
+++ b/shells/Makefile
@@ -25,6 +25,7 @@
SUBDIR += lshell
SUBDIR += mksh
SUBDIR += nologinmsg
+ SUBDIR += oksh
SUBDIR += osh
SUBDIR += p5-Bash-Completion
SUBDIR += p5-Shell-Perl
diff --git a/shells/oksh/Makefile b/shells/oksh/Makefile
new file mode 100644
index 000000000000..66cda3453370
--- /dev/null
+++ b/shells/oksh/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= oksh
+DISTVERSION= 20180111
+CATEGORIES= shells
+MASTER_SITES= https://devio.us/~bcallah/oksh/
+
+MAINTAINER= bcallah@openbsd.org
+COMMENT= Portable OpenBSD Korn shell
+
+LICENSE= PD
+
+HAS_CONFIGURE= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/shells/oksh/distinfo b/shells/oksh/distinfo
new file mode 100644
index 000000000000..339b620838b8
--- /dev/null
+++ b/shells/oksh/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1515730754
+SHA256 (oksh-20180111.tar.gz) = c15652b503123dd542144c36f12a076fdb89b1fc4c6a8807ce1ec83fa1e0d797
+SIZE (oksh-20180111.tar.gz) = 295036
diff --git a/shells/oksh/pkg-descr b/shells/oksh/pkg-descr
new file mode 100644
index 000000000000..8f3effff6e32
--- /dev/null
+++ b/shells/oksh/pkg-descr
@@ -0,0 +1,6 @@
+oksh is the portable version of the OpenBSD Korn shell, a continuation
+of the Public Domain Korn Shell (PDKSH). Its command language is a
+superset of the sh(1) shell language. oksh is best known as the
+default user shell and /bin/sh on OpenBSD.
+
+WWW: https://devio.us/~bcallah/oksh/
diff --git a/shells/oksh/pkg-plist b/shells/oksh/pkg-plist
new file mode 100644
index 000000000000..8f57ec3d719c
--- /dev/null
+++ b/shells/oksh/pkg-plist
@@ -0,0 +1,2 @@
+@shell bin/oksh
+man/man1/oksh.1.gz