diff --git a/x11/ratmen/Makefile b/x11/ratmen/Makefile new file mode 100644 index 00000000000..f601b24944d --- /dev/null +++ b/x11/ratmen/Makefile @@ -0,0 +1,28 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2004/06/28 06:38:35 jcs Exp $ + +DISTNAME= ratmen-2.2.2 +CATEGORIES= x11 + +# same license as plan9/9menu +PERMIT_PACKAGE_CDROM= yes +PERMIT_PACKAGE_FTP= yes +PERMIT_DISTFILES_CDROM= yes +PERMIT_DISTFILES_FTP= yes + +COMMENT= "launch commands with your keyboard" +MASTER_SITES= http://www.update.uu.se/~zrajm/programs/ratmen/ + +MAINTAINER= Joshua Stein + +NO_REGRESS= yes + +do-build: + cd $(WRKSRC) && \ + $(CC) -o ratmen -lX11 -L$(X11BASE)/lib -I$(X11BASE)/include ratmen.c && \ + pod2man ratmen.c > ratmen.1 + +do-install: + $(INSTALL_PROGRAM) $(WRKSRC)/ratmen $(PREFIX)/bin/ + $(INSTALL_MAN) $(WRKSRC)/ratmen.1 $(PREFIX)/man/man1/ + +.include diff --git a/x11/ratmen/distinfo b/x11/ratmen/distinfo new file mode 100644 index 00000000000..ce48ca690f2 --- /dev/null +++ b/x11/ratmen/distinfo @@ -0,0 +1,3 @@ +MD5 (ratmen-2.2.2.tar.gz) = 0091cb16db87951b9e19a9ee4b4cd08c +RMD160 (ratmen-2.2.2.tar.gz) = ee356aa2bdfb7948810c7b243d600b79845107a3 +SHA1 (ratmen-2.2.2.tar.gz) = 789e2ce43a74f22b81021427d748e49c1637491c diff --git a/x11/ratmen/patches/patch-ratmen_c b/x11/ratmen/patches/patch-ratmen_c new file mode 100644 index 00000000000..3d159f082b1 --- /dev/null +++ b/x11/ratmen/patches/patch-ratmen_c @@ -0,0 +1,11 @@ +$OpenBSD: patch-ratmen_c,v 1.1.1.1 2004/06/28 06:38:35 jcs Exp $ +--- ratmen.c.orig Sat Feb 21 14:22:02 2004 ++++ ratmen.c Sat Feb 21 14:22:03 2004 +@@ -128,7 +128,6 @@ + + + /* function prototypes */ +-int strcasecmp(char*, char*); /* string comparison */ + void ask_wm_for_delete(void); + void reap(int); + void redraw_snazzy(int, int, int); diff --git a/x11/ratmen/pkg/DESCR b/x11/ratmen/pkg/DESCR new file mode 100644 index 00000000000..a4855d9525e --- /dev/null +++ b/x11/ratmen/pkg/DESCR @@ -0,0 +1,3 @@ +Ratmen is a simple program for displaying a menu in a +window. On selection is may either run a program or simply +write something on standard out. diff --git a/x11/ratmen/pkg/PLIST b/x11/ratmen/pkg/PLIST new file mode 100644 index 00000000000..d5a543908a1 --- /dev/null +++ b/x11/ratmen/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2004/06/28 06:38:35 jcs Exp $ +bin/ratmen +man/man1/ratmen.1