dmenu is a minimalistic X11 menu. It reads a newline separated list of items

from stdin and shows them as a menu on the top of the screen. When the user
selects one item or types any text and presses Enter, his choice is printed to
stdout.

dmenu was developed as an addition to the dwm window manager, but can be used
in any X11-environment.

WWW: http://10kloc.org/dwm/

PR:		ports/101573
Submitted by:	Jeroen Schot <schot@a-eskwadraat.nl>
This commit is contained in:
Pav Lucistnik 2006-08-28 08:17:37 +00:00
parent 41418c0b06
commit c39d9bc85a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171517
5 changed files with 65 additions and 0 deletions

View file

@ -35,6 +35,7 @@
SUBDIR += decurs SUBDIR += decurs
SUBDIR += deskmenu SUBDIR += deskmenu
SUBDIR += dgs SUBDIR += dgs
SUBDIR += dmenu
SUBDIR += docker SUBDIR += docker
SUBDIR += dxpc SUBDIR += dxpc
SUBDIR += dynamag SUBDIR += dynamag

22
x11/dmenu/Makefile Normal file
View file

@ -0,0 +1,22 @@
# New ports collection makefile for: dmenu
# Date created: August 4, 2006
# Whom: Jeroen Schot <schot@a-eskwadraat.nl>
#
# $FreeBSD$
#
PORTNAME= dmenu
PORTVERSION= 0.3
CATEGORIES= x11
MASTER_SITES= http://10kloc.org/download/ \
http://schot.a-eskwadraat.nl/files/
MAINTAINER= schot@a-eskwadraat.nl
COMMENT= X11 menu application (not only) for the dwm window manager
USE_XLIB= yes
MAN1= dmenu.1
PLIST_FILES= bin/dmenu
.include <bsd.port.mk>

3
x11/dmenu/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (dmenu-0.3.tar.gz) = bce526e3fab2d4bd3c513b5b378ca425
SHA256 (dmenu-0.3.tar.gz) = c85fdd759c8b703818e15e45702cdfb2b5dbb503dd15470b8b5aab8b69ef931d
SIZE (dmenu-0.3.tar.gz) = 6959

View file

@ -0,0 +1,30 @@
--- config.mk.orig Mon Aug 7 13:34:51 2006
+++ config.mk Mon Aug 7 13:35:50 2006
@@ -4,21 +4,21 @@
# Customize below to fit your system
# paths
-PREFIX = /usr/local
-MANPREFIX = ${PREFIX}/share/man
+PREFIX ?= /usr/local
+MANPREFIX = ${PREFIX}/man
-X11INC = /usr/X11R6/include
-X11LIB = /usr/X11R6/lib
+X11INC = $(X11BASE)/include
+X11LIB = $(X11BASE)/lib
# includes and libs
INCS = -I/usr/lib -I${X11INC}
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
# flags
-CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
+CFLAGS+= ${INCS} -DVERSION=\"${VERSION}\"
LDFLAGS = ${LIBS}
#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
#LDFLAGS = -g ${LIBS}
# compiler
-CC = cc
+CC?= cc

9
x11/dmenu/pkg-descr Normal file
View file

@ -0,0 +1,9 @@
dmenu is a minimalistic X11 menu. It reads a newline separated list of items
from stdin and shows them as a menu on the top of the screen. When the user
selects one item or types any text and presses Enter, his choice is printed to
stdout.
dmenu was developed as an addition to the dwm window manager, but can be used
in any X11-environment.
WWW: http://10kloc.org/dwm/