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.
This commit is contained in:
parent
5f79af3579
commit
67c90b3be4
7 changed files with 122 additions and 0 deletions
6
misc/easymenu/DESCR
Normal file
6
misc/easymenu/DESCR
Normal file
|
@ -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.
|
47
misc/easymenu/Makefile
Normal file
47
misc/easymenu/Makefile
Normal file
|
@ -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"
|
18
misc/easymenu/PLIST
Normal file
18
misc/easymenu/PLIST
Normal file
|
@ -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
|
7
misc/easymenu/distinfo
Normal file
7
misc/easymenu/distinfo
Normal file
|
@ -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
|
13
misc/easymenu/patches/patch-aa
Normal file
13
misc/easymenu/patches/patch-aa
Normal file
|
@ -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/"
|
18
misc/easymenu/patches/patch-ab
Normal file
18
misc/easymenu/patches/patch-ab
Normal file
|
@ -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
|
13
misc/easymenu/patches/patch-ac
Normal file
13
misc/easymenu/patches/patch-ac
Normal file
|
@ -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
|
Loading…
Reference in a new issue