Skip site navigation (1)Skip section navigation (2)
Date:      5 Oct 2001 18:36:02 -0000
From:      Mike Meyer <mwm@mired.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31064: New port: ratmenu menu program for ratpoison window manager.
Message-ID:  <20011005183602.5624.qmail@guru.mired.org>

next in thread | raw e-mail | index | archive | help

>Number:         31064
>Category:       ports
>Synopsis:       New port: ratmenu menu program for ratpoison window manager.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 05 11:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mike Meyer
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
Meyer Consulting
>Environment:
System: FreeBSD guru.mired.org 4.4-STABLE FreeBSD 4.4-STABLE #8: Sun Sep 30 17:21:29 CDT 2001 mwm@guru.mired.org:/sharetmp/obj/usr/src/sys/GURU i386

>Description:

	The best menu utility for the ratpoison window manager isn't in the
	ports tree, even though ratpoison is.

>How-To-Repeat:

	cd /usr/ports
	make search key=ratmenu

>Fix:

	The attached patch provides a ratmenu port.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ratmenu
#	ratmenu/pkg-plist
#	ratmenu/pkg-descr
#	ratmenu/pkg-comment
#	ratmenu/distinfo
#	ratmenu/Makefile
#	ratmenu/files
#	ratmenu/files/patch-Makefile
#
echo c - ratmenu
mkdir -p ratmenu > /dev/null 2>&1
echo x - ratmenu/pkg-plist
sed 's/^X//' >ratmenu/pkg-plist << 'END-of-ratmenu/pkg-plist'
Xbin/ratmenu
END-of-ratmenu/pkg-plist
echo x - ratmenu/pkg-descr
sed 's/^X//' >ratmenu/pkg-descr << 'END-of-ratmenu/pkg-descr'
XThis is ratmenu, a simple program that allows you to create X menus from the
Xshell, where each menu item will run a command. ratmenu is intended for use
Xwith ratpoison, but can be used with any other window manager.
END-of-ratmenu/pkg-descr
echo x - ratmenu/pkg-comment
sed 's/^X//' >ratmenu/pkg-comment << 'END-of-ratmenu/pkg-comment'
XA simple menu patterened for use with ratpoison
END-of-ratmenu/pkg-comment
echo x - ratmenu/distinfo
sed 's/^X//' >ratmenu/distinfo << 'END-of-ratmenu/distinfo'
XMD5 (ratmenu-1.4.tar.gz) = 2b9571ff28a4252cbe2c258b9498504e
END-of-ratmenu/distinfo
echo x - ratmenu/Makefile
sed 's/^X//' >ratmenu/Makefile << 'END-of-ratmenu/Makefile'
X# New ports collection makefile for:    9menu
X# Date created:         Fri Oct  5 12:53:10 CDT 2001
X# Whom:                 mwm@mired.org
X#
X# $FreeBSD: $
X#
X
XPORTNAME=	ratmenu
XPORTVERSION=	1.4
XCATEGORIES=	x11-wm
XMASTER_SITES=	http://reactor-core.org/~djw/
X
XMAINTAINER=	mwm@mired.org
X
XUSE_X_PREFIX=	yes
XALL_TARGET=	ratmenu
XMAN1=		ratmenu.1
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/ratmenu ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/ratmenu.1 ${PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-ratmenu/Makefile
echo c - ratmenu/files
mkdir -p ratmenu/files > /dev/null 2>&1
echo x - ratmenu/files/patch-Makefile
sed 's/^X//' >ratmenu/files/patch-Makefile << 'END-of-ratmenu/files/patch-Makefile'
X--- Makefile.orig	Wed Sep 26 14:36:26 2001
X+++ Makefile	Fri Oct  5 13:16:05 2001
X@@ -5,12 +5,9 @@
X 
X PROG   = ratmenu
X 
X-PREFIX=/usr/local
X-MANDIR=$(PREFIX)/man
X-
X-CC     = gcc
X-LIBS   = -L/usr/X11R6/lib -lX11
X-CFLAGS = -Os -Wall -ansi -pedantic
X+MANDIR = $(PREFIX)/man
X+CFLAGS += -I$(X11BASE)/include
X+LIBS = -L$(X11BASE)/lib -lX11
X 
X $(PROG): $(PROG).c
X 	$(CC) $(CFLAGS) $< $(LIBS) -o $@
END-of-ratmenu/files/patch-Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011005183602.5624.qmail>