1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Add herbstluftwm, a manual tiling window manager for X11 using Xlib and Glib.

PR:		ports/171378
Submitted by:	Christian Brassat
This commit is contained in:
Alexey Dokuchaev 2013-01-30 06:31:40 +00:00
parent 083d2da0ab
commit c0d8e116ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311201
5 changed files with 116 additions and 0 deletions

View File

@ -103,6 +103,7 @@
SUBDIR += genmenu
SUBDIR += golem
SUBDIR += hackedbox
SUBDIR += herbstluftwm
SUBDIR += hs-xmonad
SUBDIR += hs-xmonad-contrib
SUBDIR += i3

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (herbstluftwm-0.5.1.tar.gz) = d42c78ab06414839b65e660e91ee93f0397fc13ab76f697519ef343abc323e1f
SIZE (herbstluftwm-0.5.1.tar.gz) = 168282

View File

@ -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/

View File

@ -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