Import of wmmenu-0.5
A dockapp for Window Maker that provides a pop-up menu of icons that launch applications, like in AfterStep. The program can be run more than once at the same time, which allows many different menus, each one described in a separate file.
This commit is contained in:
parent
320fc577e9
commit
ed2ad4c50d
43
x11/wmmenu/Makefile
Normal file
43
x11/wmmenu/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/04/01 15:17:53 wilfried Exp $
|
||||
|
||||
COMMENT= 'wm-dockapp; A popup menu of icons that launch programs'
|
||||
|
||||
DISTNAME= wmmenu-0.5
|
||||
CATEGORIES= x11 x11/windowmaker
|
||||
NEED_VERSION= 1.378
|
||||
|
||||
HOMEPAGE= http://www.fcoutant.freesurf.fr/wmmenu.html
|
||||
|
||||
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://www.fcoutant.freesurf.fr/download/
|
||||
|
||||
LIB_DEPENDS= dockapp::devel/libdockapp
|
||||
|
||||
FLAVORS= gdk_pixbuf
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L:Mgdk_pixbuf}
|
||||
MAKE_FLAGS= GDKPIXBUF=1
|
||||
LIB_DEPENDS+= gdk_pixbuf_xlib::graphics/gdk-pixbuf
|
||||
.endif
|
||||
|
||||
WRKDIST= ${WRKDIR}/wmmenu
|
||||
|
||||
post-patch:
|
||||
@perl -pi -e 's#%%PREFIX%%#${PREFIX}#' ${WRKSRC}/example/defaults
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/wmmenu ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/wmmenu
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmmenu
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/wmmenu/
|
||||
${INSTALL_DATA} ${WRKSRC}/example/apps ${PREFIX}/share/examples/wmmenu/
|
||||
${INSTALL_DATA} ${WRKSRC}/example/defaults ${PREFIX}/share/examples/wmmenu/
|
||||
|
||||
.include <bsd.port.mk>
|
3
x11/wmmenu/files/md5
Normal file
3
x11/wmmenu/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (wmmenu-0.5.tar.gz) = a194be9e76a47594f42bf3261d97c57d
|
||||
RMD160 (wmmenu-0.5.tar.gz) = 130687e400aab2f11f57d0a959f3a48e6a1fd3d5
|
||||
SHA1 (wmmenu-0.5.tar.gz) = da590a4ac0cc5373324fdd73fb9b9498bc6a2e9d
|
45
x11/wmmenu/patches/patch-Makefile
Normal file
45
x11/wmmenu/patches/patch-Makefile
Normal file
@ -0,0 +1,45 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2001/04/01 15:17:53 wilfried Exp $
|
||||
--- Makefile.orig Sat Dec 30 23:13:43 2000
|
||||
+++ Makefile Sun Apr 1 17:00:33 2001
|
||||
@@ -1,26 +1,22 @@
|
||||
-prefix = /usr/local
|
||||
+prefix = ${PREFIX}
|
||||
BINDIR = $(prefix)/bin
|
||||
-ETCDIR = $(prefix)/etc
|
||||
+ETCDIR = $(prefix)/share/wmmenu
|
||||
|
||||
# comment out to get the old, Xpm-only, version
|
||||
-GDKPIXBUF = 1
|
||||
|
||||
-XROOT = /usr/X11R6
|
||||
-DAROOT = /usr/local
|
||||
+XROOT = ${X11BASE}
|
||||
+DAROOT = ${LOCALBASE}
|
||||
|
||||
# If you want to use gdk-pixbuf, pass GDKPIXBUF=1 to make command
|
||||
-ifdef GDKPIXBUF
|
||||
+.if defined(GDKPIXBUF)
|
||||
PIXBUF_DEF = -DWITH_GDKPIXBUF
|
||||
-PIXBUF_INC := $(shell gdk-pixbuf-config --cflags)
|
||||
-PIXBUF_LIB := -rdynamic -L$(shell gdk-pixbuf-config --prefix)/lib -lgdk_pixbuf_xlib
|
||||
-endif
|
||||
-
|
||||
-CC = gcc #-g
|
||||
-CFLAGS = -pipe $(CPPFLAGS) -O2
|
||||
-CPPFLAGS = -MMD -ansi -pedantic -Wall $(INCDIRS) $(DEFINES)
|
||||
+PIXBUF_INC != gdk-pixbuf-config --cflags
|
||||
+PIXBUF_LIB = -lgdk_pixbuf_xlib -lgdk -lgmodule -lglib -lintl -ltiff -lpng -ljpeg -lz
|
||||
+.endif
|
||||
+
|
||||
+CFLAGS += $(INCDIRS) $(DEFINES)
|
||||
INCDIRS = -I$(DAROOT)/include -I$(XROOT)/include $(PIXBUF_INC)
|
||||
DEFINES = -DETCDIR='"$(ETCDIR)"' $(PIXBUF_DEF)
|
||||
-LDFLAGS = -s
|
||||
LIBDIRS = -L$(DAROOT)/lib -L$(XROOT)/lib $(PIXBUF_LIB)
|
||||
LDLIBS = -ldockapp -lXpm -lXext -lX11 -lm
|
||||
|
||||
@@ -49,4 +45,3 @@ clean :
|
||||
$(RM) *.o *.d core tags $(PRGS)
|
||||
|
||||
# dependencies -- do not change lines below
|
||||
--include *.d
|
14
x11/wmmenu/patches/patch-example_defaults
Normal file
14
x11/wmmenu/patches/patch-example_defaults
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-example_defaults,v 1.1.1.1 2001/04/01 15:17:53 wilfried Exp $
|
||||
--- example/defaults.orig Sat Aug 5 09:40:06 2000
|
||||
+++ example/defaults Thu Mar 8 14:57:13 2001
|
||||
@@ -10,6 +10,8 @@
|
||||
# or
|
||||
# tile /SOME/PATH/TO/FILE.XPM
|
||||
|
||||
-xpmpath /usr/local/share/WindowMaker/Icons
|
||||
-xpmpath /usr/local/share/pixmaps
|
||||
+xpmpath %%PREFIX%%/share/WindowMaker/Backgrounds
|
||||
+xpmpath %%PREFIX%%/share/WindowMaker/Icons
|
||||
+xpmpath %%PREFIX%%/share/WindowMaker/Pixmaps
|
||||
+xpmpath %%PREFIX%%/include/pixmaps
|
||||
tile tile2.xpm
|
12
x11/wmmenu/patches/patch-options_c
Normal file
12
x11/wmmenu/patches/patch-options_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-options_c,v 1.1.1.1 2001/04/01 15:17:53 wilfried Exp $
|
||||
--- options.c.orig Sat Feb 3 14:37:55 2001
|
||||
+++ options.c Thu Mar 8 14:54:59 2001
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
/* POSIX */
|
||||
-#include <getopt.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
#include "options.h"
|
||||
#include "version.h"
|
11
x11/wmmenu/pkg/DESCR
Normal file
11
x11/wmmenu/pkg/DESCR
Normal file
@ -0,0 +1,11 @@
|
||||
A dockapp for Window Maker that provides a pop-up menu of icons
|
||||
that launch applications, like in AfterStep. The program can be
|
||||
run more than once at the same time, which allows many different
|
||||
menus, each one described in a separate file.
|
||||
|
||||
Read ${PREFIX}/share/doc/wmmenu/README for info on configuring this
|
||||
dockapp.
|
||||
|
||||
The gdk-pixbuf flavor allows you to use other icons than XPM format
|
||||
|
||||
WWW: ${HOMEPAGE}
|
7
x11/wmmenu/pkg/PLIST
Normal file
7
x11/wmmenu/pkg/PLIST
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/04/01 15:17:53 wilfried Exp $
|
||||
bin/wmmenu
|
||||
share/doc/wmmenu/README
|
||||
share/examples/wmmenu/apps
|
||||
share/examples/wmmenu/defaults
|
||||
@dirrm share/examples/wmmenu
|
||||
@dirrm share/doc/wmmenu
|
Loading…
Reference in New Issue
Block a user