pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/easymenu Initial import of easymenu-0.7.2, contri...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f7a8ce12a83e
branches: trunk
changeset: 486665:f7a8ce12a83e
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Fri Dec 31 16:38:48 2004 +0000
description:
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.
diffstat:
misc/easymenu/DESCR | 6 +++++
misc/easymenu/Makefile | 47 ++++++++++++++++++++++++++++++++++++++++++
misc/easymenu/PLIST | 18 ++++++++++++++++
misc/easymenu/distinfo | 7 ++++++
misc/easymenu/patches/patch-aa | 13 +++++++++++
misc/easymenu/patches/patch-ab | 18 ++++++++++++++++
misc/easymenu/patches/patch-ac | 13 +++++++++++
7 files changed, 122 insertions(+), 0 deletions(-)
diffs (150 lines):
diff -r 2a13fde51e4b -r f7a8ce12a83e misc/easymenu/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/easymenu/DESCR Fri Dec 31 16:38:48 2004 +0000
@@ -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 -r 2a13fde51e4b -r f7a8ce12a83e misc/easymenu/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/easymenu/Makefile Fri Dec 31 16:38:48 2004 +0000
@@ -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@localhost
+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 -r 2a13fde51e4b -r f7a8ce12a83e misc/easymenu/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/easymenu/PLIST Fri Dec 31 16:38:48 2004 +0000
@@ -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 -r 2a13fde51e4b -r f7a8ce12a83e misc/easymenu/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/easymenu/distinfo Fri Dec 31 16:38:48 2004 +0000
@@ -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 -r 2a13fde51e4b -r f7a8ce12a83e misc/easymenu/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/easymenu/patches/patch-aa Fri Dec 31 16:38:48 2004 +0000
@@ -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 -r 2a13fde51e4b -r f7a8ce12a83e misc/easymenu/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/easymenu/patches/patch-ab Fri Dec 31 16:38:48 2004 +0000
@@ -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 -r 2a13fde51e4b -r f7a8ce12a83e misc/easymenu/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/easymenu/patches/patch-ac Fri Dec 31 16:38:48 2004 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index