diff options
Diffstat (limited to 'x11/ratmen')
-rw-r--r-- | x11/ratmen/DESCR | 5 | ||||
-rw-r--r-- | x11/ratmen/Makefile | 15 | ||||
-rw-r--r-- | x11/ratmen/PLIST | 2 | ||||
-rw-r--r-- | x11/ratmen/distinfo | 7 | ||||
-rw-r--r-- | x11/ratmen/patches/patch-aa | 13 | ||||
-rw-r--r-- | x11/ratmen/patches/patch-ab | 35 |
6 files changed, 77 insertions, 0 deletions
diff --git a/x11/ratmen/DESCR b/x11/ratmen/DESCR new file mode 100644 index 00000000000..2cf2c2b2631 --- /dev/null +++ b/x11/ratmen/DESCR @@ -0,0 +1,5 @@ +Ratmen is a simple program that allows you to create X menus from the +shell, where each menu item will run a command. It is intended for +use with 9wm, but can be used with any other window manager. + +Basically this program does what ratmenu does, only better. diff --git a/x11/ratmen/Makefile b/x11/ratmen/Makefile new file mode 100644 index 00000000000..177ff2dff42 --- /dev/null +++ b/x11/ratmen/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/04/12 17:14:35 minskim Exp $ + +DISTNAME= ratmen-2.2.2 +CATEGORIES= x11 wm +MASTER_SITES= http://www.update.uu.se/~zrajm/programs/ratmen/ + +MAINTAINER= lkundrak@skosi.org +HOMEPAGE= http://www.update.uu.se/~zrajm/programs/ +COMMENT= Allows you to create X menus from the shell + +BUILD_TARGET= ratmen +LDFLAGS+= ${X11_LDFLAGS} + +.include "../../mk/x11.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/ratmen/PLIST b/x11/ratmen/PLIST new file mode 100644 index 00000000000..22fdf264e61 --- /dev/null +++ b/x11/ratmen/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/12 17:14:35 minskim Exp $ +bin/ratmen diff --git a/x11/ratmen/distinfo b/x11/ratmen/distinfo new file mode 100644 index 00000000000..d46a4474ff4 --- /dev/null +++ b/x11/ratmen/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/04/12 17:14:35 minskim Exp $ + +SHA1 (ratmen-2.2.2.tar.gz) = 789e2ce43a74f22b81021427d748e49c1637491c +RMD160 (ratmen-2.2.2.tar.gz) = ee356aa2bdfb7948810c7b243d600b79845107a3 +Size (ratmen-2.2.2.tar.gz) = 22906 bytes +SHA1 (patch-aa) = c8d7cbc65272a3f852c4950c3c647b5fe063137e +SHA1 (patch-ab) = 681e4382850b23de29aa9440726b05d73dab27ee diff --git a/x11/ratmen/patches/patch-aa b/x11/ratmen/patches/patch-aa new file mode 100644 index 00000000000..13061e34aa3 --- /dev/null +++ b/x11/ratmen/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/04/12 17:14:35 minskim Exp $ + +--- ratmen.c.orig 2003-03-28 11:34:08.000000000 +0100 ++++ ratmen.c +@@ -128,7 +128,7 @@ int unfocus_exit = Undef; + + + /* function prototypes */ +-int strcasecmp(char*, char*); /* string comparison */ ++int strcasecmp(const char*, const char*); /* string comparison */ + void ask_wm_for_delete(void); + void reap(int); + void redraw_snazzy(int, int, int); diff --git a/x11/ratmen/patches/patch-ab b/x11/ratmen/patches/patch-ab new file mode 100644 index 00000000000..4a9e307005d --- /dev/null +++ b/x11/ratmen/patches/patch-ab @@ -0,0 +1,35 @@ +$NetBSD: patch-ab,v 1.1.1.1 2006/04/12 17:14:35 minskim Exp $ + +--- Makefile.orig 2003-02-25 22:21:15.000000000 +0100 ++++ Makefile +@@ -5,7 +5,7 @@ + + PROG = ratmen + +-PREFIX=/usr/local ++#PREFIX=/usr/local + MANDIR=$(PREFIX)/man + + OPTIMIZE ?= -Os +@@ -13,11 +13,11 @@ DEBUG ?= + WARN ?= -Wall -ansi -pedantic + + CC = gcc +-LIBS = -L/usr/X11R6/lib -lX11 ++LIBS = -lX11 + CFLAGS = $(OPTIMIZE) $(WARN) $(DEBUG) + + $(PROG): $(PROG).c +- $(CC) $(CFLAGS) $< $(LIBS) -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $< $(LIBS) -o $@ + + clean: + debian/rules clean +@@ -35,5 +35,5 @@ doc: + groff -Tascii -man ratmen.1|less + + install: $(PROG) +- install -D -p -m 755 -s $(PROG) $(PREFIX)/bin/$(PROG) +- install -D -p -m 755 $(PROG).1 $(MANDIR)/man1/$(PROG).1 ++ $(BSD_INSTALL_PROGRAM_DIR) $(PREFIX)/bin ++ $(BSD_INSTALL_PROGRAM) $(PROG) $(PREFIX)/bin |