ratmen-2.2.2, a useful menu utility for use with ratpoison

This commit is contained in:
jcs 2004-06-28 06:38:35 +00:00
parent 270d15733c
commit 27db7fb8c4
5 changed files with 48 additions and 0 deletions

28
x11/ratmen/Makefile Normal file
View File

@ -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 <jcs@rt.fm>
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 <bsd.port.mk>

3
x11/ratmen/distinfo Normal file
View File

@ -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

View File

@ -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);

3
x11/ratmen/pkg/DESCR Normal file
View File

@ -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.

3
x11/ratmen/pkg/PLIST Normal file
View File

@ -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