shells/oksh: Update to 7.0
- Add a static flavor and install in /rescue same as editors/mg@static Changes: https://github.com/ibara/oksh/releases/tag/oksh-7.0
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
PORTNAME= oksh
|
||||
DISTVERSION= 6.9
|
||||
DISTVERSION= 7.0
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= shells
|
||||
MASTER_SITES= https://github.com/ibara/oksh/releases/download/oksh-${DISTVERSION}/
|
||||
@@ -9,9 +9,22 @@ COMMENT= Portable OpenBSD Korn shell
|
||||
|
||||
LICENSE= PD
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
FLAVORS= dynamic static
|
||||
FLAVOR?= ${FLAVORS:[1]}
|
||||
|
||||
OPTIONS_DEFINE= CURSES STATIC
|
||||
static_PKGNAMESUFFIX= -static
|
||||
.if ${FLAVOR} == static
|
||||
COMMENT+= (rescue(8) version)
|
||||
.endif
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
.if ${FLAVOR} == static
|
||||
CONFIGURE_ARGS+= --enable-static
|
||||
PLIST= /dev/null
|
||||
PLIST_FILES= "@shell /rescue/oksh"
|
||||
.endif
|
||||
|
||||
OPTIONS_DEFINE= CURSES
|
||||
OPTIONS_DEFAULT= CURSES
|
||||
|
||||
CURSES_DESC= Use ncurses for screen clearing routines
|
||||
@@ -19,6 +32,10 @@ CURSES_DESC= Use ncurses for screen clearing routines
|
||||
CURSES_USES= ncurses
|
||||
CURSES_CONFIGURE_ENABLE= curses
|
||||
|
||||
STATIC_CONFIGURE_ENABLE= static
|
||||
.if ${FLAVOR} == static
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}/rescue
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/oksh ${STAGEDIR}/rescue
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1619847915
|
||||
SHA256 (oksh-6.9.tar.gz) = c08d97b2ac9ee5d88e9e508d27c75502b2d06c20d4c5ab87b496cb3b9951bd35
|
||||
SIZE (oksh-6.9.tar.gz) = 307338
|
||||
TIMESTAMP = 1633855474
|
||||
SHA256 (oksh-7.0.tar.gz) = 21d5891f38ffea3a5d1aa8c494f0a5579c93778535e0a92275b102dec3221da1
|
||||
SIZE (oksh-7.0.tar.gz) = 308707
|
||||
|
||||
Reference in New Issue
Block a user