summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorobache <obache>2009-11-02 04:15:51 +0000
committerobache <obache>2009-11-02 04:15:51 +0000
commit1c12a692997e05f80aecf3e7353b92d21bc71cc7 (patch)
tree6f0a7038efae47294946d3f59c7891561ffd7795 /wm
parente99cacc53b86e76e6fe053435a34b6b7f12c1bbe (diff)
downloadpkgsrc-1c12a692997e05f80aecf3e7353b92d21bc71cc7.tar.gz
Import echinus-0.3.8 as wm/echinus.
Based on PR 42188 by Alexander Polakov. echinus is a dynamic window manager for X11 supporting managing window s in floating, tiled and maximized layouts based on dwm. All the configuration is made via config file in Xresources format, so it is not necessary to recompile echinus every time you change something. echinus supports a small subset of EWMH to be compatible with external panels and pagers. It draws a border around windows and also an optional title bar. The goal of development is a small, fast window manager without features not strictly related to window management (menus, panels, etc.)
Diffstat (limited to 'wm')
-rw-r--r--wm/echinus/DESCR10
-rw-r--r--wm/echinus/Makefile35
-rw-r--r--wm/echinus/PLIST8
-rw-r--r--wm/echinus/distinfo5
-rw-r--r--wm/echinus/options.mk24
5 files changed, 82 insertions, 0 deletions
diff --git a/wm/echinus/DESCR b/wm/echinus/DESCR
new file mode 100644
index 00000000000..f0be35c1949
--- /dev/null
+++ b/wm/echinus/DESCR
@@ -0,0 +1,10 @@
+echinus is a dynamic window manager for X11 supporting managing window
+s in floating, tiled and maximized layouts based on dwm. All the
+configuration is made via config file in Xresources format, so it is
+not necessary to recompile echinus every time you change something.
+
+echinus supports a small subset of EWMH to be compatible with external
+panels and pagers. It draws a border around windows and also an
+optional title bar. The goal of development is a small, fast
+window manager without features not strictly related to window
+management (menus, panels, etc.)
diff --git a/wm/echinus/Makefile b/wm/echinus/Makefile
new file mode 100644
index 00000000000..9f0f7904566
--- /dev/null
+++ b/wm/echinus/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/11/02 04:15:51 obache Exp $
+#
+
+DISTNAME= echinus-0.3.8
+CATEGORIES= wm
+MASTER_SITES= http://www.rootshell.be/~polachok/code/
+
+MAINTAINER= polachok@gmail.com
+HOMEPAGE= http://www.rootshell.be/~polachok/code/
+COMMENT= Lightweight tiling window manager
+LICENSE= mit
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+NO_CONFIGURE= yes
+
+USE_TOOLS+= pkg-config
+
+# Adjust config.mk
+SUBST_CLASSES+= makefile
+SUBST_STAGE.makefile= pre-build
+SUBST_MESSAGE.makefile= Fixing config.mk
+SUBST_FILES.makefile= config.mk
+SUBST_SED.makefile+= -e 's,/usr/local,${PREFIX},g'
+SUBST_SED.makefile+= -e 's,share/man,${PKGMANDIR},g'
+SUBST_SED.makefile+= -e 's,/usr/X11R6,${X11BASE},'
+SUBST_SED.makefile+= -e 's,^CFLAGS = ,CFLAGS += ,'
+SUBST_SED.makefile+= -e 's,^LDFLAGS = ,LDFLAGS += ,'
+SUBST_SED.makefile+= -e 's/cc/${CC:Q}/'
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+.include "options.mk"
+.include "../../x11/libXft/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/wm/echinus/PLIST b/wm/echinus/PLIST
new file mode 100644
index 00000000000..d30274763c1
--- /dev/null
+++ b/wm/echinus/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/11/02 04:15:51 obache Exp $
+bin/echinus
+man/man1/echinus.1
+share/doc/echinus/README
+share/examples/echinus/close.xbm
+share/examples/echinus/echinusrc
+share/examples/echinus/iconify.xbm
+share/examples/echinus/max.xbm
diff --git a/wm/echinus/distinfo b/wm/echinus/distinfo
new file mode 100644
index 00000000000..39aa1e90db2
--- /dev/null
+++ b/wm/echinus/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/11/02 04:15:51 obache Exp $
+
+SHA1 (echinus-0.3.8.tar.gz) = 4d5d7c30b154a9c513ddc535e498380ec4e5e3f1
+RMD160 (echinus-0.3.8.tar.gz) = 4fd9c9bff9c55ae55dac0218e7f447bd2eb33ac2
+Size (echinus-0.3.8.tar.gz) = 28711 bytes
diff --git a/wm/echinus/options.mk b/wm/echinus/options.mk
new file mode 100644
index 00000000000..a9e5ec1e636
--- /dev/null
+++ b/wm/echinus/options.mk
@@ -0,0 +1,24 @@
+# $NetBSD: options.mk,v 1.1.1.1 2009/11/02 04:15:51 obache Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.echinus
+PKG_SUPPORTED_OPTIONS= xrandr
+PKG_SUGGESTED_OPTIONS= xrandr
+
+.include "../../mk/bsd.options.mk"
+
+#
+# Xinerama support
+#
+# If we don't want the Xinerama support we delete XINERAMALIBS and
+# XINERAMAFLAGS lines, otherwise the Xinerama support is the default.
+#
+.if !empty(PKG_OPTIONS:Mxrandr)
+. include "../../x11/libXrandr/buildlink3.mk"
+.else
+SUBST_CLASSES+= options
+SUBST_STAGE.options= pre-build
+SUBST_MESSAGE.options= Toggle Xrandr support
+SUBST_FILES.options= config.mk
+SUBST_SED.options+= -e '/XRANDR/ d;/Xrandr/ d'
+. include "../../x11/libX11/buildlink3.mk"
+.endif