diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-01-30 06:31:40 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-01-30 06:31:40 +0000 |
commit | c0d8e116ce11498996a3115353ca029d3e5b31b5 (patch) | |
tree | c1bfb69da8ce717bc279f4b7fd1667cfa6f0a88c | |
parent | Update to 3.5.1. (diff) |
Add herbstluftwm, a manual tiling window manager for X11 using Xlib and Glib.
PR: ports/171378
Submitted by: Christian Brassat
Notes
Notes:
svn path=/head/; revision=311201
-rw-r--r-- | x11-wm/Makefile | 1 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/Makefile | 61 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/distinfo | 2 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/pkg-descr | 17 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/pkg-plist | 35 |
5 files changed, 116 insertions, 0 deletions
diff --git a/x11-wm/Makefile b/x11-wm/Makefile index 7d98e262340a..9a23a6683bfe 100644 --- a/x11-wm/Makefile +++ b/x11-wm/Makefile @@ -103,6 +103,7 @@ SUBDIR += genmenu SUBDIR += golem SUBDIR += hackedbox + SUBDIR += herbstluftwm SUBDIR += hs-xmonad SUBDIR += hs-xmonad-contrib SUBDIR += i3 diff --git a/x11-wm/herbstluftwm/Makefile b/x11-wm/herbstluftwm/Makefile new file mode 100644 index 000000000000..0a7f9feac248 --- /dev/null +++ b/x11-wm/herbstluftwm/Makefile @@ -0,0 +1,61 @@ +# $FreeBSD$ + +PORTNAME= herbstluftwm +PORTVERSION= 0.5.1 +CATEGORIES= x11-wm +MASTER_SITES= http://wwwcip.cs.fau.de/~re06huxa/herbstluftwm/tarballs/ + +MAINTAINER= crshd@mail.com +COMMENT= Manual tiling window manager for X11 + +LICENSE= BSD + +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash + +USE_GMAKE= yes +USE_XORG= x11 xinerama +USE_GNOME= glib20 + +MAKE_ARGS= PREFIX=${PREFIX} SYSCONFDIR=${PREFIX}/etc \ + DOCSDIR=${DOCSDIR} EXAMPLESDIR=${EXAMPLESDIR} \ + MANDIR=${PREFIX}/man + +MAN1= herbstclient.1 herbstluftwm.1 +MAN7= herbstluftwm-tutorial.7 + +OPTIONS_DEFINE= BASH ZSH DOCS EXAMPLES + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MBASH} +PLIST_SUB+= BASH="" +.else +PLIST_SUB+= BASH="@comment " +.endif + +.if ${PORT_OPTIONS:MZSH} +PLIST_SUB+= ZSH="" +.else +PLIST_SUB+= ZSH="@comment " +.endif + +post-patch: + ${REINPLACE_CMD} -e '/-[LI]\/usr/s,usr,${LOCALBASE},' \ + ${WRKSRC}/config.mk + ${REINPLACE_CMD} -e '/LICENSEDIR/d' ${WRKSRC}/Makefile + ${GREP} -Rl --null '^#!/bin/bash' ${WRKSRC} | ${XARGS} -0 \ + ${REINPLACE_CMD} -e 's,/bin/bash,/usr/bin/env bash,' +.if ! ${PORT_OPTIONS:MBASH} + ${REINPLACE_CMD} -e '/BASHCOMPLETIONDIR/d' ${WRKSRC}/Makefile +.endif +.if ! ${PORT_OPTIONS:MZSH} + ${REINPLACE_CMD} -e '/ZSHCOMPLETIONDIR/d' ${WRKSRC}/Makefile +.endif +.if ! ${PORT_OPTIONS:MDOCS} + ${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile +.endif +.if ! ${PORT_OPTIONS:MEXAMPLES} + ${REINPLACE_CMD} -e '/EXAMPLESDIR/d' ${WRKSRC}/Makefile +.endif + +.include <bsd.port.mk> diff --git a/x11-wm/herbstluftwm/distinfo b/x11-wm/herbstluftwm/distinfo new file mode 100644 index 000000000000..87e2275edb3b --- /dev/null +++ b/x11-wm/herbstluftwm/distinfo @@ -0,0 +1,2 @@ +SHA256 (herbstluftwm-0.5.1.tar.gz) = d42c78ab06414839b65e660e91ee93f0397fc13ab76f697519ef343abc323e1f +SIZE (herbstluftwm-0.5.1.tar.gz) = 168282 diff --git a/x11-wm/herbstluftwm/pkg-descr b/x11-wm/herbstluftwm/pkg-descr new file mode 100644 index 000000000000..cedd324cb5bf --- /dev/null +++ b/x11-wm/herbstluftwm/pkg-descr @@ -0,0 +1,17 @@ +herbstluftwm is a manual tiling window manager for X11 using Xlib and Glib. +Its main features can be described with: + + - The layout is based on splitting frames into subframes which can be + split again or can be filled with windows (similar to i3 or musca) + + - Tags (or workspaces, or virtual desktops) can be added/removed at + runtime. Each tag contains an own layout + + - Exactly one tag is viewed on each monitor. The tags are monitor + independent (similar to xmonad) + + - It is configured at runtime via IPC calls from herbstclient. So the + configuration file is just a script which is run on startup. (Similar + to wmii or musca) + +WWW: http://wwwcip.cs.fau.de/~re06huxa/herbstluftwm/ diff --git a/x11-wm/herbstluftwm/pkg-plist b/x11-wm/herbstluftwm/pkg-plist new file mode 100644 index 000000000000..ac6275c9d936 --- /dev/null +++ b/x11-wm/herbstluftwm/pkg-plist @@ -0,0 +1,35 @@ +bin/herbstclient +bin/herbstluftwm +etc/xdg/herbstluftwm/autostart +etc/xdg/herbstluftwm/panel.sh +etc/xdg/herbstluftwm/restartpanels.sh +%%BASH%%etc/bash_completion.d/herbstclient-completion +%%BASH%%@dirrmtry etc/bash_completion.d +%%PORTDOCS%%%%DOCSDIR%%/BUGS +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/herbstclient.html +%%PORTDOCS%%%%DOCSDIR%%/herbstluftwm.html +%%PORTDOCS%%%%DOCSDIR%%/herbstluftwm-tutorial.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dmenu.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dumpbeautify.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/exec_on_tag.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/execwith.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/herbstcommander.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keychain.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/layout.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lasttag.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/loadstate.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/q3terminal.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/savestate.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wselect.sh +share/xsessions/herbstluftwm.desktop +@dirrmtry share/xsessions +%%ZSH%%share/zsh/functions/Completion/X/_herbstclient +%%ZSH%%@dirrmtry share/zsh/functions/Completion/X +%%ZSH%%@dirrmtry share/zsh/functions/Completion +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm etc/xdg/herbstluftwm +@dirrmtry etc/xdg |