summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2008-01-06 21:45:07 +0000
committerghen <ghen@pkgsrc.org>2008-01-06 21:45:07 +0000
commita78d975df49f6db61625ce6c99cdfb4b39c44877 (patch)
tree4904ef61c07e7a4ffba3689c19d8844cb227a785
parentb929180a18a0ded887ca0fcbc166416f3a78dcd0 (diff)
downloadpkgsrc-a78d975df49f6db61625ce6c99cdfb4b39c44877.tar.gz
Import dmenu-3.4 from www.suckless.org.
dmenu is a generic menu for X, originally designed for wm/dwm, now used by wm/wmii. It manages huge amounts (up to 10.000 and more) of user defined menu items efficiently.
-rw-r--r--x11/dmenu/DESCR3
-rw-r--r--x11/dmenu/Makefile14
-rw-r--r--x11/dmenu/PLIST4
-rw-r--r--x11/dmenu/distinfo6
-rw-r--r--x11/dmenu/patches/patch-aa30
5 files changed, 57 insertions, 0 deletions
diff --git a/x11/dmenu/DESCR b/x11/dmenu/DESCR
new file mode 100644
index 00000000000..80dafcc0ffa
--- /dev/null
+++ b/x11/dmenu/DESCR
@@ -0,0 +1,3 @@
+dmenu is a generic menu for X, originally designed for wm/dwm, now used by
+wm/wmii. It manages huge amounts (up to 10.000 and more) of user defined
+menu items efficiently.
diff --git a/x11/dmenu/Makefile b/x11/dmenu/Makefile
new file mode 100644
index 00000000000..9dbe89775d6
--- /dev/null
+++ b/x11/dmenu/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/01/06 21:45:07 ghen Exp $
+
+DISTNAME= dmenu-3.4
+CATEGORIES= x11
+MASTER_SITES= http://www.suckless.org/download/
+
+MAINTAINER= ghen@NetBSD.org
+HOMEPAGE= http://www.suckless.org/wiki/tools/xlib
+COMMENT= Dymanic menu for wmii
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/dmenu/PLIST b/x11/dmenu/PLIST
new file mode 100644
index 00000000000..e3a4dc242cb
--- /dev/null
+++ b/x11/dmenu/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/01/06 21:45:07 ghen Exp $
+bin/dmenu
+bin/dmenu_path
+man/man1/dmenu.1
diff --git a/x11/dmenu/distinfo b/x11/dmenu/distinfo
new file mode 100644
index 00000000000..2403acba5db
--- /dev/null
+++ b/x11/dmenu/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/01/06 21:45:07 ghen Exp $
+
+SHA1 (dmenu-3.4.tar.gz) = f9defb210da9fcce35982ba5a2ff5ad8fe8d6a63
+RMD160 (dmenu-3.4.tar.gz) = b5be8aa3bc0babc2f89092da0e89dfedb0d96da9
+Size (dmenu-3.4.tar.gz) = 8131 bytes
+SHA1 (patch-aa) = 7e0f28441a2c6dca05d1afcf931763444bd2dc0d
diff --git a/x11/dmenu/patches/patch-aa b/x11/dmenu/patches/patch-aa
new file mode 100644
index 00000000000..68d5043ff84
--- /dev/null
+++ b/x11/dmenu/patches/patch-aa
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/01/06 21:45:07 ghen Exp $
+
+--- config.mk.orig 2007-10-25 20:26:14.000000000 +0200
++++ config.mk
+@@ -4,19 +4,18 @@ VERSION = 3.4
+ # Customize below to fit your system
+
+ # paths
+-PREFIX = /usr/local
+-MANPREFIX = ${PREFIX}/share/man
++MANPREFIX = ${PREFIX}/${PKGMANDIR}
+
+-X11INC = /usr/X11R6/include
+-X11LIB = /usr/X11R6/lib
++X11INC = ${X11BASE}/include
++X11LIB = ${X11BASE}/lib
+
+ # includes and libs
+ INCS = -I. -I/usr/include -I${X11INC}
+-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
++LIBS = -lc -L${X11LIB} ${COMPILER_RPATH_FLAG}${X11LIB}${X11LIB} -lX11
+
+ # flags
+-CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
+-LDFLAGS = -s ${LIBS}
++CFLAGS += ${INCS} -DVERSION=\"${VERSION}\"
++LDFLAGS += -s ${LIBS}
+ #CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
+ #LDFLAGS = -g ${LIBS}
+