diff options
author | kristerw <kristerw@pkgsrc.org> | 2004-12-31 16:38:48 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2004-12-31 16:38:48 +0000 |
commit | 67c90b3be4b866ba53d4c145a44ed47e36e959a5 (patch) | |
tree | c1ece7ee019885d6bae05e3ad81b7055ec247b52 | |
parent | 5f79af35791f32aa3401191b0f946ab9a7327730 (diff) | |
download | pkgsrc-67c90b3be4b866ba53d4c145a44ed47e36e959a5.tar.gz |
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.
-rw-r--r-- | misc/easymenu/DESCR | 6 | ||||
-rw-r--r-- | misc/easymenu/Makefile | 47 | ||||
-rw-r--r-- | misc/easymenu/PLIST | 18 | ||||
-rw-r--r-- | misc/easymenu/distinfo | 7 | ||||
-rw-r--r-- | misc/easymenu/patches/patch-aa | 13 | ||||
-rw-r--r-- | misc/easymenu/patches/patch-ab | 18 | ||||
-rw-r--r-- | misc/easymenu/patches/patch-ac | 13 |
7 files changed, 122 insertions, 0 deletions
diff --git a/misc/easymenu/DESCR b/misc/easymenu/DESCR new file mode 100644 index 00000000000..b1c7dbdbb18 --- /dev/null +++ b/misc/easymenu/DESCR @@ -0,0 +1,6 @@ +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. diff --git a/misc/easymenu/Makefile b/misc/easymenu/Makefile new file mode 100644 index 00000000000..d5a42145d2d --- /dev/null +++ b/misc/easymenu/Makefile @@ -0,0 +1,47 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/12/31 16:38:48 kristerw Exp $ +# + +DISTNAME= easymenu-0.7.2 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.mreriksson.net/pub/easymenu/ + +MAINTAINER= ola@mrEriksson.net +HOMEPAGE= http://www.mrEriksson.net/dev/ +COMMENT= Software used to generate menu systems + +USE_BUILDLINK3= yes +NO_BUILD= # defined + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/bin/easymenu ${PREFIX}/bin/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/easymenu + ${INSTALL_DATA_DIR} ${PREFIX}/share/easymenu/etc + ${INSTALL_DATA_DIR} ${PREFIX}/share/easymenu/etc/menus-sample + ${INSTALL_SCRIPT} ${WRKSRC}/easymenu-demo.sh \ + ${PREFIX}/share/easymenu/ + ${INSTALL_SCRIPT} ${WRKSRC}/easymenu-demo-bash.sh \ + ${PREFIX}/share/easymenu/ + ${INSTALL_DATA} ${WRKSRC}/README \ + ${PREFIX}/share/easymenu/ + ${INSTALL_DATA} ${WRKSRC}/CHANGES \ + ${PREFIX}/share/easymenu/ + ${INSTALL_DATA} ${WRKSRC}/etc/easymenu.conf-minimode \ + ${PREFIX}/share/easymenu/etc/ + ${INSTALL_DATA} ${WRKSRC}/etc/easymenu.conf-sample \ + ${PREFIX}/share/easymenu/etc/ + ${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/demo \ + ${PREFIX}/share/easymenu/etc/menus-sample/ + ${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/demo.1 \ + ${PREFIX}/share/easymenu/etc/menus-sample/ + ${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/demo.2 \ + ${PREFIX}/share/easymenu/etc/menus-sample/ + ${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/demo.3 \ + ${PREFIX}/share/easymenu/etc/menus-sample/ + ${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/main \ + ${PREFIX}/share/easymenu/etc/menus-sample/ + ${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/post-demo \ + ${PREFIX}/share/easymenu/etc/menus-sample/ + ${INSTALL_DATA} ${WRKSRC}/etc/menus-sample/pre-demo \ + ${PREFIX}/share/easymenu/etc/menus-sample/ + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/easymenu/PLIST b/misc/easymenu/PLIST new file mode 100644 index 00000000000..f90334d97f5 --- /dev/null +++ b/misc/easymenu/PLIST @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/12/31 16:38:48 kristerw Exp $ +bin/easymenu +share/easymenu/CHANGES +share/easymenu/README +share/easymenu/easymenu-demo-bash.sh +share/easymenu/easymenu-demo.sh +share/easymenu/etc/easymenu.conf-minimode +share/easymenu/etc/easymenu.conf-sample +share/easymenu/etc/menus-sample/demo +share/easymenu/etc/menus-sample/demo.1 +share/easymenu/etc/menus-sample/demo.2 +share/easymenu/etc/menus-sample/demo.3 +share/easymenu/etc/menus-sample/main +share/easymenu/etc/menus-sample/post-demo +share/easymenu/etc/menus-sample/pre-demo +@dirrm share/easymenu/etc/menus-sample +@dirrm share/easymenu/etc +@dirrm share/easymenu diff --git a/misc/easymenu/distinfo b/misc/easymenu/distinfo new file mode 100644 index 00000000000..55875d28075 --- /dev/null +++ b/misc/easymenu/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/12/31 16:38:49 kristerw Exp $ + +SHA1 (easymenu-0.7.2.tar.gz) = 9aff27807ff66c35c4b63db84aeb9c1a3809d51f +Size (easymenu-0.7.2.tar.gz) = 23505 bytes +SHA1 (patch-aa) = 5cb1b7d264766f6c89451170f357cddb1b8cbcf9 +SHA1 (patch-ab) = 8bac81e6138eefbe093027abb6dfbd2255ff03d9 +SHA1 (patch-ac) = cc883f310d513ed94903c6cc36a2cc90d019a350 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 |