summaryrefslogtreecommitdiff
path: root/plan9/9menu
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-10-09 14:30:56 +0000
committeragc <agc@pkgsrc.org>1997-10-09 14:30:56 +0000
commit5a738ca9d8968d3de0c39083b8a8a5a76cd01b02 (patch)
treedb232209ea22925d7f406bcc3a7b5e7457bffa83 /plan9/9menu
parentd842fc40ac63031ed503242a8f7d04368f208721 (diff)
downloadpkgsrc-5a738ca9d8968d3de0c39083b8a8a5a76cd01b02.tar.gz
Initial import of FreeBSD plan9 ports category into the NetBSD package
system.
Diffstat (limited to 'plan9/9menu')
-rw-r--r--plan9/9menu/Makefile21
-rw-r--r--plan9/9menu/files/md51
-rw-r--r--plan9/9menu/patches/patch-aa31
-rw-r--r--plan9/9menu/pkg/COMMENT1
-rw-r--r--plan9/9menu/pkg/DESCR10
-rw-r--r--plan9/9menu/pkg/PLIST2
6 files changed, 66 insertions, 0 deletions
diff --git a/plan9/9menu/Makefile b/plan9/9menu/Makefile
new file mode 100644
index 00000000000..f1da85587e8
--- /dev/null
+++ b/plan9/9menu/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: 9menu
+# Version required: 1.5
+# Date created: Sun Aug 13 12:36:14 CDT 1995
+# Whom: erich@rrnet.com
+#
+# FreeBSD Id: Makefile,v 1.4 1997/09/08 12:23:55 tg Exp
+#
+
+DISTNAME= 9menu-1.5
+CATEGORIES= plan9
+MASTER_SITES= ftp://ftp.mathcs.emory.edu/pub/arnold/
+EXTRACT_SUFX= .shar.gz
+
+MAINTAINER= erich@FreeBSD.org
+
+NO_WRKSUBDIR= yes
+EXTRACT_CMD= zcat
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= |sh
+
+.include <bsd.port.mk>
diff --git a/plan9/9menu/files/md5 b/plan9/9menu/files/md5
new file mode 100644
index 00000000000..d6453026cf3
--- /dev/null
+++ b/plan9/9menu/files/md5
@@ -0,0 +1 @@
+MD5 (9menu-1.5.shar.gz) = 00f8dcb2bd1ab9291ce15834eb4e1588
diff --git a/plan9/9menu/patches/patch-aa b/plan9/9menu/patches/patch-aa
new file mode 100644
index 00000000000..375c3ac9189
--- /dev/null
+++ b/plan9/9menu/patches/patch-aa
@@ -0,0 +1,31 @@
+*** Makefile.orig Fri Aug 11 15:55:35 1995
+--- Makefile Fri Aug 11 16:03:26 1995
+***************
+*** 6,13 ****
+ # arnold@skeeve.atl.ga.us
+
+ CC = gcc
+! CFLAGS = -g -O
+! LIBS = -lX11
+
+ 9menu: 9menu.c
+ $(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
+--- 6,23 ----
+ # arnold@skeeve.atl.ga.us
+
+ CC = gcc
+! CFLAGS = -O -I/usr/X11R6/include
+! LIBS = -L/usr/X11R6/lib -lX11
+!
+!
+! all: 9menu
+
+ 9menu: 9menu.c
+ $(CC) $(CFLAGS) 9menu.c $(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/plan9/9menu/pkg/COMMENT b/plan9/9menu/pkg/COMMENT
new file mode 100644
index 00000000000..bb43512b660
--- /dev/null
+++ b/plan9/9menu/pkg/COMMENT
@@ -0,0 +1 @@
+A simple menu patterened after plan9
diff --git a/plan9/9menu/pkg/DESCR b/plan9/9menu/pkg/DESCR
new file mode 100644
index 00000000000..67b630a8fab
--- /dev/null
+++ b/plan9/9menu/pkg/DESCR
@@ -0,0 +1,10 @@
+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.
+
+--
+Arnold Robbins
+arnold@gnu.ai.mit.edu
diff --git a/plan9/9menu/pkg/PLIST b/plan9/9menu/pkg/PLIST
new file mode 100644
index 00000000000..d0ee602b065
--- /dev/null
+++ b/plan9/9menu/pkg/PLIST
@@ -0,0 +1,2 @@
+bin/9menu
+man/man1/9menu.1.gz