aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-10-11 02:33:20 +0000
committerSteve Wills <swills@FreeBSD.org>2018-10-11 02:33:20 +0000
commitcb09b686d34f35ea1a6c7fbb15a37e50646fc5da (patch)
treecd2b945ac1a12992c227966579ff28e5ee15e85e /shells
parent749ad7fc39a5b0b657e1afd0e27814e00ae6b163 (diff)
downloadports-cb09b686d34f35ea1a6c7fbb15a37e50646fc5da.tar.gz
ports-cb09b686d34f35ea1a6c7fbb15a37e50646fc5da.zip
shells/oksh: update to 20181009
While here, add static and curses options PR: 232127 Submitted by: Brian Callahan <bcallah@openbsd.org> (maintainer)
Notes
Notes: svn path=/head/; revision=481781
Diffstat (limited to 'shells')
-rw-r--r--shells/oksh/Makefile22
-rw-r--r--shells/oksh/distinfo6
2 files changed, 23 insertions, 5 deletions
diff --git a/shells/oksh/Makefile b/shells/oksh/Makefile
index 4072860cd605..ca97e30665b3 100644
--- a/shells/oksh/Makefile
+++ b/shells/oksh/Makefile
@@ -1,17 +1,35 @@
# $FreeBSD$
PORTNAME= oksh
-DISTVERSION= 20180401
+DISTVERSION= 20181009
CATEGORIES= shells
-MASTER_SITES= https://devio.us/~bcallah/oksh/
+MASTER_SITES= https://mirrors.nycbug.org/pub/distfiles/
MAINTAINER= bcallah@openbsd.org
COMMENT= Portable OpenBSD Korn shell
LICENSE= PD
+OPTIONS_DEFINE= CURSES STATIC
+OPTIONS_DEFAULT= CURSES
+
+CURSES_DESC= Use ncurses for screen clearing routines
+CURSES_USES= ncurses
+
HAS_CONFIGURE= yes
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSTATIC}
+CONFIGURE_ARGS+= --enable-static
+.endif
+
+.if ${PORT_OPTIONS:MCURSES}
+CONFIGURE_ARGS+= --enable-curses
+.else
+CONFIGURE_ARGS+= --disable-curses
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
diff --git a/shells/oksh/distinfo b/shells/oksh/distinfo
index 111f4af3896c..85a2cf00b8da 100644
--- a/shells/oksh/distinfo
+++ b/shells/oksh/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1522955962
-SHA256 (oksh-20180401.tar.gz) = 3001fed530602c6f6c5d9da8b6c8bf7f0c59d048fe5ed1f168ac7449b0f49914
-SIZE (oksh-20180401.tar.gz) = 296836
+TIMESTAMP = 1539111609
+SHA256 (oksh-20181009.tar.gz) = 35dbd911ca129742e5a6cc31cd91055c2c26d895f19e9bafedf5d50b222d1197
+SIZE (oksh-20181009.tar.gz) = 301213