aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2018-10-11 10:33:20 +0800
committerswills <swills@FreeBSD.org>2018-10-11 10:33:20 +0800
commit95370bd8b5f0d61b2efb7dc11c6cb452c9d6fb37 (patch)
treecd2b945ac1a12992c227966579ff28e5ee15e85e
parenta33711e8578f10568f641409246c30083c778643 (diff)
downloadfreebsd-ports-gnome-95370bd8b5f0d61b2efb7dc11c6cb452c9d6fb37.tar.gz
freebsd-ports-gnome-95370bd8b5f0d61b2efb7dc11c6cb452c9d6fb37.tar.zst
freebsd-ports-gnome-95370bd8b5f0d61b2efb7dc11c6cb452c9d6fb37.zip
shells/oksh: update to 20181009
While here, add static and curses options PR: 232127 Submitted by: Brian Callahan <bcallah@openbsd.org> (maintainer)
-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