From a68195f0dafd5c43c9c36718699a6623c1c080ce Mon Sep 17 00:00:00 2001 From: Faraz Vahedi Date: Sun, 24 Jul 2022 02:38:33 +0430 Subject: [PATCH] shells/manush: New Port manush is a simple, efficient, and highly customisable menu shell. WWW: https://github.com/illuria/manush Sponsored by: illuria Security, Inc. --- shells/Makefile | 1 + shells/manush/Makefile | 33 ++++++++++++++++++++++++++++++ shells/manush/distinfo | 13 ++++++++++++ shells/manush/files/patch-Makefile | 16 +++++++++++++++ shells/manush/pkg-descr | 3 +++ 5 files changed, 66 insertions(+) create mode 100644 shells/manush/Makefile create mode 100644 shells/manush/distinfo create mode 100644 shells/manush/files/patch-Makefile create mode 100644 shells/manush/pkg-descr diff --git a/shells/Makefile b/shells/Makefile index 3762779fffab..c82488f417d9 100644 --- a/shells/Makefile +++ b/shells/Makefile @@ -26,6 +26,7 @@ SUBDIR += ksh2020 SUBDIR += ksh93 SUBDIR += ksh93-devel + SUBDIR += manush SUBDIR += mksh SUBDIR += modernish SUBDIR += nologinmsg diff --git a/shells/manush/Makefile b/shells/manush/Makefile new file mode 100644 index 000000000000..fab95ca2bd2a --- /dev/null +++ b/shells/manush/Makefile @@ -0,0 +1,33 @@ +PORTNAME= manush +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.2 +CATEGORIES= shells + +MAINTAINER= kfv@kfv.io +COMMENT= Simple, efficient, and customisable menu shell + +LICENSE= BSD2CLAUSE + +BROKEN_powerpc64= fails to compile: manush is not available for powerpc64, yet + +BUILD_DEPENDS= voc>=2.1.0:lang/voc +RUN_DEPENDS= jq:textproc/jq + +USE_GITHUB= yes +GH_ACCOUNT= illuria +GH_TUPLE= norayr:lists:48b63cf:lists/deps/lists \ + norayr:opts:e4df737:opts/deps/opts \ + norayr:skprJson:82354b9:skprJson/deps/skprJson \ + norayr:skprLogger:63b1b26:skprLogger/deps/skprLogger \ + norayr:time:74c779f:time/deps/time + +PLIST_FILES= bin/manush \ + etc/manush/another.json \ + etc/manush/default.json + +do-install: + ${MKDIR} ${STAGEDIR}${ETCDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/build/manush ${STAGEDIR}${PREFIX}/bin/manush + ${INSTALL_DATA} ${WRKSRC}/templates/*.json ${STAGEDIR}${ETCDIR} + +.include diff --git a/shells/manush/distinfo b/shells/manush/distinfo new file mode 100644 index 000000000000..258202f79555 --- /dev/null +++ b/shells/manush/distinfo @@ -0,0 +1,13 @@ +TIMESTAMP = 1658610522 +SHA256 (illuria-manush-v0.1.2_GH0.tar.gz) = 2b6ee3d4c2aa7bc9557fbc1cef5ea3ff1b801f09c3b90891342a48ac1ccac30d +SIZE (illuria-manush-v0.1.2_GH0.tar.gz) = 36628 +SHA256 (norayr-lists-48b63cf_GH0.tar.gz) = be4452c38a45ac9e4d390f71b999770ca7769ca2f05c8bdccf40b59c1d14972d +SIZE (norayr-lists-48b63cf_GH0.tar.gz) = 7644 +SHA256 (norayr-opts-e4df737_GH0.tar.gz) = bd6fc2df13683bcd7ed3c14f5fd5f7ff5f8e605e089de32ee36ad4ff38b9faa3 +SIZE (norayr-opts-e4df737_GH0.tar.gz) = 3029 +SHA256 (norayr-skprJson-82354b9_GH0.tar.gz) = f3f9cb645c540b8b8dcc23218a3bb8aa38874f900a73057b0de8d3c3b23fdc06 +SIZE (norayr-skprJson-82354b9_GH0.tar.gz) = 3027 +SHA256 (norayr-skprLogger-63b1b26_GH0.tar.gz) = 6d34e3ccdd3c55f13acec8a33c81b6cb9b3a8d5b44d013e171fc0a69a1b0c047 +SIZE (norayr-skprLogger-63b1b26_GH0.tar.gz) = 902 +SHA256 (norayr-time-74c779f_GH0.tar.gz) = b7ac859c5f6208700de454b0d3ff0cea0b73518bb203112718096dbb1a16bef1 +SIZE (norayr-time-74c779f_GH0.tar.gz) = 945 diff --git a/shells/manush/files/patch-Makefile b/shells/manush/files/patch-Makefile new file mode 100644 index 000000000000..8e11303902f8 --- /dev/null +++ b/shells/manush/files/patch-Makefile @@ -0,0 +1,16 @@ +--- Makefile.orig 2022-07-23 21:16:54 UTC ++++ Makefile +@@ -13,11 +13,11 @@ ROOTDIR = $$PWD + + ROOTDIR = $$PWD + +-all: ${DEPS} ++all: + @if [ ! -d build ]; then \ + mkdir build; \ + fi +- @for i in $?; do \ ++ @for i in ${DEPS}; do \ + cp -r ${ROOTDIR}/build \ + ${ROOTDIR}/deps/$${i#*/}/build; \ + make -C ${ROOTDIR}/deps/$${i#*/}; \ diff --git a/shells/manush/pkg-descr b/shells/manush/pkg-descr new file mode 100644 index 000000000000..607d2e96e5f7 --- /dev/null +++ b/shells/manush/pkg-descr @@ -0,0 +1,3 @@ +manush is a simple, efficient, and highly customisable menu shell. + +WWW: https://github.com/illuria/manush -- 2.32.1 (Apple Git-133)