From 67c90b3be4b866ba53d4c145a44ed47e36e959a5 Mon Sep 17 00:00:00 2001 From: kristerw Date: Fri, 31 Dec 2004 16:38:48 +0000 Subject: Initial import of easymenu-0.7.2, contributed by Ola Eriksson in PR pkg/26091. Easymenu is a shell script used to generate menu systems. It can be used to generate anything from easy one-level menus to advanced multi-level menusystems. It has a set of internal commands, and can execute external applications and scripts, all to be as flexible as possible. --- misc/easymenu/patches/patch-aa | 13 +++++++++++++ misc/easymenu/patches/patch-ab | 18 ++++++++++++++++++ misc/easymenu/patches/patch-ac | 13 +++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 misc/easymenu/patches/patch-aa create mode 100644 misc/easymenu/patches/patch-ab create mode 100644 misc/easymenu/patches/patch-ac (limited to 'misc/easymenu/patches') diff --git a/misc/easymenu/patches/patch-aa b/misc/easymenu/patches/patch-aa new file mode 100644 index 00000000000..1d735f4e905 --- /dev/null +++ b/misc/easymenu/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/12/31 16:38:49 kristerw Exp $ + +--- bin/easymenu.orig 2002-05-06 20:39:58.000000000 +0200 ++++ bin/easymenu +@@ -207,7 +207,7 @@ + __version="0.7.2" + __global_choice_prefix="@" + __default_user_cfg_file="~/.easymenurc" +- __default_cfg_file="/usr/local/etc/easymenu.conf" ++ __default_cfg_file="/usr/pkg/etc/easymenu.conf" + __default_read_cmd="read" + __default_exec_shell="/bin/sh -c" + __default_temproot="/tmp/" diff --git a/misc/easymenu/patches/patch-ab b/misc/easymenu/patches/patch-ab new file mode 100644 index 00000000000..2695f73fafb --- /dev/null +++ b/misc/easymenu/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/12/31 16:38:49 kristerw Exp $ + +--- easymenu-demo-bash.sh.orig 2004-06-27 23:17:18.000000000 +0200 ++++ easymenu-demo-bash.sh +@@ -31,11 +31,11 @@ fi + + case $resp in + [yY]|[yY][eE]|[yY][eE][sS]) # Enable bash mode +- bash bin/easymenu -c "@.READCMD:read -n 1" etc/easymenu.conf-sample ++ bash -c ". easymenu -c \"@.READCMD:read -n 1\" etc/easymenu.conf-sample" + ;; + + *) # Execute in normal mode +- bin/easymenu etc/easymenu.conf-sample ++ easymenu etc/easymenu.conf-sample + ;; + + esac diff --git a/misc/easymenu/patches/patch-ac b/misc/easymenu/patches/patch-ac new file mode 100644 index 00000000000..dae230daa9a --- /dev/null +++ b/misc/easymenu/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2004/12/31 16:38:49 kristerw Exp $ + +--- easymenu-demo.sh.orig 2004-06-27 23:17:09.000000000 +0200 ++++ easymenu-demo.sh +@@ -36,7 +36,7 @@ case $sysname in + *) + # Default action + # Execute Easymenu with a demo configuration file +- bin/easymenu etc/easymenu.conf-sample ++ easymenu etc/easymenu.conf-sample + ;; + + esac -- cgit v1.2.3