pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/ratmen Import ratmen from pkgsrc-wip. Packaged by...
details: https://anonhg.NetBSD.org/pkgsrc/rev/674ef317a229
branches: trunk
changeset: 511256:674ef317a229
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Apr 12 17:14:35 2006 +0000
description:
Import ratmen from pkgsrc-wip. Packaged by Lubomir Kundrak.
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.
diffstat:
x11/ratmen/DESCR | 5 +++++
x11/ratmen/Makefile | 15 +++++++++++++++
x11/ratmen/PLIST | 2 ++
x11/ratmen/distinfo | 7 +++++++
x11/ratmen/patches/patch-aa | 13 +++++++++++++
x11/ratmen/patches/patch-ab | 35 +++++++++++++++++++++++++++++++++++
6 files changed, 77 insertions(+), 0 deletions(-)
diffs (101 lines):
diff -r 04db0e7974a3 -r 674ef317a229 x11/ratmen/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/ratmen/DESCR Wed Apr 12 17:14:35 2006 +0000
@@ -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 -r 04db0e7974a3 -r 674ef317a229 x11/ratmen/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/ratmen/Makefile Wed Apr 12 17:14:35 2006 +0000
@@ -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@localhost
+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 -r 04db0e7974a3 -r 674ef317a229 x11/ratmen/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/ratmen/PLIST Wed Apr 12 17:14:35 2006 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/12 17:14:35 minskim Exp $
+bin/ratmen
diff -r 04db0e7974a3 -r 674ef317a229 x11/ratmen/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/ratmen/distinfo Wed Apr 12 17:14:35 2006 +0000
@@ -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 -r 04db0e7974a3 -r 674ef317a229 x11/ratmen/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/ratmen/patches/patch-aa Wed Apr 12 17:14:35 2006 +0000
@@ -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 -r 04db0e7974a3 -r 674ef317a229 x11/ratmen/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/ratmen/patches/patch-ab Wed Apr 12 17:14:35 2006 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index