summaryrefslogtreecommitdiff
path: root/misc/9menu
diff options
context:
space:
mode:
authorwiz <wiz>2000-12-14 00:54:49 +0000
committerwiz <wiz>2000-12-14 00:54:49 +0000
commitcaded50dd318a885af2c5eadc8f070ad143af781 (patch)
tree4607966e93aea13c1306d16fd959c8d480b1bc70 /misc/9menu
parentb23edb530a60642345d2ae13b285e933308283a7 (diff)
downloadpkgsrc-caded50dd318a885af2c5eadc8f070ad143af781.tar.gz
Move 9menu from plan9 to misc.
Diffstat (limited to 'misc/9menu')
-rw-r--r--misc/9menu/Makefile22
-rw-r--r--misc/9menu/files/md53
-rw-r--r--misc/9menu/files/patch-sum3
-rw-r--r--misc/9menu/patches/patch-aa25
-rw-r--r--misc/9menu/pkg/COMMENT1
-rw-r--r--misc/9menu/pkg/DESCR8
-rw-r--r--misc/9menu/pkg/PLIST3
7 files changed, 65 insertions, 0 deletions
diff --git a/misc/9menu/Makefile b/misc/9menu/Makefile
new file mode 100644
index 00000000000..5eacc433487
--- /dev/null
+++ b/misc/9menu/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/14 00:54:49 wiz Exp $
+# FreeBSD Id: Makefile,v 1.4 1997/09/08 12:23:55 tg Exp
+#
+
+DISTNAME= 9menu-1.5
+CATEGORIES= plan9 misc
+MASTER_SITES= ftp://ftp.mathcs.emory.edu/pub/arnold/
+EXTRACT_SUFX= .shar.gz
+
+MAINTAINER= packages@netbsd.org
+
+.include "../../mk/bsd.prefs.mk"
+.if (${OPSYS} == "NetBSD")
+MANCOMPRESSED= yes
+.endif
+
+NO_WRKSUBDIR= yes
+EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH}
+
+USE_X11= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/9menu/files/md5 b/misc/9menu/files/md5
new file mode 100644
index 00000000000..2b568ac47d4
--- /dev/null
+++ b/misc/9menu/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/14 00:54:49 wiz Exp $
+
+MD5 (9menu-1.5.shar.gz) = 00f8dcb2bd1ab9291ce15834eb4e1588
diff --git a/misc/9menu/files/patch-sum b/misc/9menu/files/patch-sum
new file mode 100644
index 00000000000..08458e43627
--- /dev/null
+++ b/misc/9menu/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/14 00:54:49 wiz Exp $
+
+MD5 (patch-aa) = da06b11238263ff0883970f09f142251
diff --git a/misc/9menu/patches/patch-aa b/misc/9menu/patches/patch-aa
new file mode 100644
index 00000000000..4cc76378f68
--- /dev/null
+++ b/misc/9menu/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/14 00:54:49 wiz Exp $
+
+--- Makefile.orig Wed Oct 13 19:58:26 1999
++++ Makefile Wed Oct 13 20:56:08 1999
+@@ -6,8 +6,18 @@
+ # arnold@skeeve.atl.ga.us
+
+ CC = gcc
+-CFLAGS = -g -O
++CFLAGS = -O -I/usr/X11R6/include
+ LIBS = -lX11
+
++
++all: 9menu
++
+ 9menu: 9menu.c
+- $(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
++ $(CC) $(CFLAGS) 9menu.c $(LDFLAGS) $(LIBS) -o 9menu
++
++install:
++ $(INSTALL) -c 9menu $(PREFIX)/bin
++ $(INSTALL) -c 9menu.1 $(PREFIX)/man/man1
++ strip $(PREFIX)/bin/9menu
++ gzip -9nf $(PREFIX)/man/man1/9menu.1
++
diff --git a/misc/9menu/pkg/COMMENT b/misc/9menu/pkg/COMMENT
new file mode 100644
index 00000000000..fad4b281bd2
--- /dev/null
+++ b/misc/9menu/pkg/COMMENT
@@ -0,0 +1 @@
+Simple menu patterened after plan9
diff --git a/misc/9menu/pkg/DESCR b/misc/9menu/pkg/DESCR
new file mode 100644
index 00000000000..7e6ec1bdf10
--- /dev/null
+++ b/misc/9menu/pkg/DESCR
@@ -0,0 +1,8 @@
+This is 9menu, a simple program that allows you to create X menus from the
+shell, where each menu item will run a command. 9menu is intended for use
+with 9wm, but can be used with any other window manager.
+
+The idea of a command line menu generator is from xmenu, but xmenu was
+exclusively a pop-up menu, not what I wanted.
+
+Author: Arnold Robbins <arnold@gnu.ai.mit.edu>
diff --git a/misc/9menu/pkg/PLIST b/misc/9menu/pkg/PLIST
new file mode 100644
index 00000000000..940c1b6b4b7
--- /dev/null
+++ b/misc/9menu/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/14 00:54:49 wiz Exp $
+bin/9menu
+man/man1/9menu.1