diff options
author | reed <reed> | 2006-08-04 01:08:21 +0000 |
---|---|---|
committer | reed <reed> | 2006-08-04 01:08:21 +0000 |
commit | 2b2bcb70ccc37d04b9425f3afaeda8b34c7da52e (patch) | |
tree | 26ebbcfcb0df4be762747e9838b5ab2bea30a657 /wm | |
parent | a3b76da159849b27fde6f2340bef91e1d4f0e497 (diff) | |
download | pkgsrc-2b2bcb70ccc37d04b9425f3afaeda8b34c7da52e.tar.gz |
Import jwm from pkgsrc-wip.
This was packaged by pip88nl of gmail.com with some minor changes
by me.
JWM is a light-weight window manager for the X11 Window System.
It provides a menu, taskbar, key binding, system notification tray,
pager, a dock, and simple customizations. JWM is written in C and
uses only Xlib and the shape extension, libXpm and (optionally)
libpng. It can support some MWM, GNOME, and WM Spec hints.
(This software needs some work, but I import to official pkgsrc
so it will get more usage. I have been using it for a couple
months now. With its built-in features, it is a smaller than
blackbox with add-ons.)
Diffstat (limited to 'wm')
-rw-r--r-- | wm/jwm/DESCR | 5 | ||||
-rw-r--r-- | wm/jwm/Makefile | 40 | ||||
-rw-r--r-- | wm/jwm/PLIST | 5 | ||||
-rw-r--r-- | wm/jwm/distinfo | 7 | ||||
-rw-r--r-- | wm/jwm/options.mk | 19 | ||||
-rw-r--r-- | wm/jwm/patches/patch-aa | 26 | ||||
-rw-r--r-- | wm/jwm/patches/patch-ab | 12 |
7 files changed, 114 insertions, 0 deletions
diff --git a/wm/jwm/DESCR b/wm/jwm/DESCR new file mode 100644 index 00000000000..c9ec14ba8e2 --- /dev/null +++ b/wm/jwm/DESCR @@ -0,0 +1,5 @@ +JWM is a light-weight window manager for the X11 Window System. +It provides a menu, taskbar, key binding, system notification tray, +pager, a dock, and simple customizations. JWM is written in C and +uses only Xlib and the shape extension, libXpm and (optionally) +libpng. It can support some MWM, GNOME, and WM Spec hints. diff --git a/wm/jwm/Makefile b/wm/jwm/Makefile new file mode 100644 index 00000000000..e55fc35a4d6 --- /dev/null +++ b/wm/jwm/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/08/04 01:08:21 reed Exp $ +# + +DISTNAME= jwm-1.7 +CATEGORIES= wm x11 +MASTER_SITES= http://www.joewing.net/programs/jwm/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pip88nl@gmail.com +HOMEPAGE= http://www.joewing.net/programs/jwm/ +COMMENT= Lightweight window manager with virtual desktops + +GNU_CONFIGURE= yes + +.include "../../mk/bsd.prefs.mk" + +.if exists(${X11BASE}/include/X11/extensions/Xinerama.h) +CONFIGURE_ARGS+= --enable-xinerama +# XXX maybe set some build variable about that +.endif + +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} + +SUBST_CLASSES+= egdir +SUBST_STAGE.egdir= pre-configure +SUBST_FILES.egdir= Makefile.in +SUBST_SED.egdir= -e 's,@@EGDIR@@,${EGDIR},g' + +PKG_SYSCONFSUBDIR= jwm +EGDIR= ${PREFIX}/share/examples/jwm +CONF_FILES= ${EGDIR}/system.jwmrc ${PKG_SYSCONFDIR}/system.jwmrc + +.include "options.mk" + +#.include "../../fonts/Xft2/buildlink3.mk" +#.include "../../graphics/xpm/buildlink3.mk" +.include "../../wip/libXft/buildlink3.mk" +.include "../../wip/libXpm/buildlink3.mk" +.include "../../mk/x11.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/wm/jwm/PLIST b/wm/jwm/PLIST new file mode 100644 index 00000000000..5c6770ad167 --- /dev/null +++ b/wm/jwm/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/04 01:08:21 reed Exp $ +bin/jwm +man/man1/jwm.1 +share/examples/jwm/system.jwmrc +@dirrm share/examples/jwm diff --git a/wm/jwm/distinfo b/wm/jwm/distinfo new file mode 100644 index 00000000000..b87c1b6caef --- /dev/null +++ b/wm/jwm/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/08/04 01:08:21 reed Exp $ + +SHA1 (jwm-1.7.tar.bz2) = 2ad8029277d1ba530c314ea4e5a9f930afa56a78 +RMD160 (jwm-1.7.tar.bz2) = fca374a54cff0f17eef537a228a696c79ec04fa6 +Size (jwm-1.7.tar.bz2) = 121405 bytes +SHA1 (patch-aa) = ac33481d7e4d081960977a05f87c698865d19c63 +SHA1 (patch-ab) = 37dde771f21eb0ae63af01ecd53f2f201dd1c6fc diff --git a/wm/jwm/options.mk b/wm/jwm/options.mk new file mode 100644 index 00000000000..99ada58a9ea --- /dev/null +++ b/wm/jwm/options.mk @@ -0,0 +1,19 @@ +# $NetBSD: options.mk,v 1.1.1.1 2006/08/04 01:08:21 reed Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.jwm +PKG_SUPPORTED_OPTIONS= debug png +PKG_SUGGESTED_OPTIONS= png + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mdebug) +CONFIGURE_ARGS+= --enable-debug +.endif + +.if !empty(PKG_OPTIONS:Mpng) +.include "../../graphics/png/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-png +.endif + +# TODO: fribidi diff --git a/wm/jwm/patches/patch-aa b/wm/jwm/patches/patch-aa new file mode 100644 index 00000000000..af722204fd9 --- /dev/null +++ b/wm/jwm/patches/patch-aa @@ -0,0 +1,26 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/08/04 01:08:21 reed Exp $ + +--- Makefile.in.orig 2005-11-21 04:02:12.000000000 +0000 ++++ Makefile.in +@@ -1,5 +1,5 @@ + +-SYSCONF = @SYSCONF@ ++SYSCONF = @@EGDIR@@ + MANDIR = @MANDIR@ + VERSION = @VERSION@ + +@@ -8,10 +8,10 @@ all: + + install: all + cd src ; $(MAKE) install ; cd .. +- install -d $(SYSCONF) +- install -m 644 example.jwmrc $(SYSCONF)/system.jwmrc +- install -d $(MANDIR)/man1 +- install -m 644 jwm.1 $(MANDIR)/man1/jwm.1 ++ ${BSD_INSTALL_DATA_DIR} $(SYSCONF) ++ ${BSD_INSTALL_DATA} example.jwmrc $(SYSCONF)/system.jwmrc ++ ${BSD_INSTALL_MAN_DIR} $(MANDIR)/man1 ++ ${BSD_INSTALL_MAN} jwm.1 $(MANDIR)/man1/jwm.1 + + depend: + cd src ; $(MAKE) depend diff --git a/wm/jwm/patches/patch-ab b/wm/jwm/patches/patch-ab new file mode 100644 index 00000000000..ab5091198a7 --- /dev/null +++ b/wm/jwm/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1.1.1 2006/08/04 01:08:21 reed Exp $ + +--- jwm.1.in.orig 2005-09-23 03:48:27.000000000 +0200 ++++ jwm.1.in +@@ -1,7 +1,6 @@ + ./" + ./" groff -man -Tascii jwm.1 + ./" +- + .TH jwm 1 "@DATE@" "v@VERSION@" + .SH NAME + JWM - Joe's Window Manager |