Index: Makefile =================================================================== --- Makefile +++ Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= herbstluftwm -PORTVERSION= 0.7.1 -PORTREVISION= 1 +PORTVERSION= 0.7.2 CATEGORIES= x11-wm MASTER_SITES= http://herbstluftwm.org/tarballs/ @@ -11,11 +10,12 @@ LICENSE= BSD2CLAUSE -USES= compiler:c++11-lib gettext-runtime gmake pkgconfig shebangfix -SHEBANG_FILES= scripts/*.sh share/autostart share/*.sh +USES= compiler:c++11-lib gmake gnome pkgconfig shebangfix +USE_GNOME= glib20 USE_XORG= x11 xext xinerama -USE_GNOME= glib20 +SHEBANG_FILES= scripts/*.sh share/*.sh + MAKE_ARGS= PREFIX=${PREFIX} SYSCONFDIR=${PREFIX}/etc \ DOCSDIR=${DOCSDIR} EXAMPLESDIR=${EXAMPLESDIR} \ FISHCOMPLETIONDIR=${PREFIX}/share/fish/completions \ @@ -22,9 +22,11 @@ MANDIR=${PREFIX}/man LDXX=${CXX} \ COLOR=0 -OPTIONS_DEFINE= BASH FISH ZSH DOCS EXAMPLES +OPTIONS_DEFINE= BASH FISH ZSH DOCS OPTIONS_SUB= yes +SUB_FILES= pkg-message + ALL_TARGET= all-nodoc INSTALL_TARGET= install-nodoc DOCS_ALL_TARGET= doc @@ -43,9 +45,6 @@ .if ! ${PORT_OPTIONS:MZSH} ${REINPLACE_CMD} -e '/ZSHCOMPLETIONDIR/d' ${WRKSRC}/Makefile .endif -.if ! ${PORT_OPTIONS:MEXAMPLES} - ${REINPLACE_CMD} -e '/EXAMPLESDIR/d' ${WRKSRC}/Makefile -.endif do-install-DOCS-off: ${MKDIR} ${STAGEDIR}${MANPREFIX}/man/man1 Index: distinfo =================================================================== --- distinfo +++ distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1533876625 -SHA256 (herbstluftwm-0.7.1.tar.gz) = dc0ef362013f4eb68314e120010f8cb426eb615b87f8054d6aa8e1dee5a28734 -SIZE (herbstluftwm-0.7.1.tar.gz) = 244726 +TIMESTAMP = 1559116941 +SHA256 (herbstluftwm-0.7.2.tar.gz) = dff613fc6d7883ea2011318ef8a7b15b92f7864eaf63229df9ce0e99a44281cd +SIZE (herbstluftwm-0.7.2.tar.gz) = 245506 Index: files/patch-share_autostart =================================================================== --- files/patch-share_autostart +++ files/patch-share_autostart @@ -0,0 +1,28 @@ +--- share/autostart.orig 2019-05-09 09:04:33 UTC ++++ share/autostart +@@ -1,4 +1,4 @@ +-#!/usr/bin/env bash ++#!/bin/sh + + # this is a simple config for herbstluftwm + +@@ -66,14 +66,11 @@ hc keybind $Mod-Control-Right resize right +$resizes + tag_names=( {1..9} ) + tag_keys=( {1..9} 0 ) + +-hc rename default "${tag_names[0]}" || true +-for i in ${!tag_names[@]} ; do +- hc add "${tag_names[$i]}" +- key="${tag_keys[$i]}" +- if ! [ -z "$key" ] ; then +- hc keybind "$Mod-$key" use_index "$i" +- hc keybind "$Mod-Shift-$key" move_index "$i" +- fi ++hc rename default "1" || true ++for i in $(seq 1 9); do ++ hc add "${i}" ++ hc keybind "$Mod-$i" use_index "$i" ++ hc keybind "$Mod-Shift-$i" move_index "$i" + done + + # cycle through tags Index: files/pkg-message.in =================================================================== --- files/pkg-message.in +++ files/pkg-message.in @@ -0,0 +1,8 @@ +****************************************************************************** + +You need to specify your own autostart file with -c or place it in this path: +%%PREFIX%%/etc/xdg/etc/xdg/herbstluftwm/autostart + +Keep in mind that most of the scripts are written in bash syntax. + +****************************************************************************** Index: pkg-plist =================================================================== --- pkg-plist +++ pkg-plist @@ -15,24 +15,24 @@ %%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%%/float-maximize.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/floatmon.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/herbstcommander.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keychain.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/layout.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lasttag.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/loadstate.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/maximize.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/q3terminal.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/savestate.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scratchpad.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/toggledualhead.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/windowmenu.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wselect.sh +%%EXAMPLESDIR%%/README +%%EXAMPLESDIR%%/dmenu.sh +%%EXAMPLESDIR%%/dumpbeautify.sh +%%EXAMPLESDIR%%/exec_on_tag.sh +%%EXAMPLESDIR%%/execwith.sh +%%EXAMPLESDIR%%/float-maximize.sh +%%EXAMPLESDIR%%/floatmon.sh +%%EXAMPLESDIR%%/herbstcommander.sh +%%EXAMPLESDIR%%/keychain.sh +%%EXAMPLESDIR%%/layout.sh +%%EXAMPLESDIR%%/lasttag.sh +%%EXAMPLESDIR%%/loadstate.sh +%%EXAMPLESDIR%%/maximize.sh +%%EXAMPLESDIR%%/q3terminal.sh +%%EXAMPLESDIR%%/savestate.sh +%%EXAMPLESDIR%%/scratchpad.sh +%%EXAMPLESDIR%%/toggledualhead.sh +%%EXAMPLESDIR%%/windowmenu.sh +%%EXAMPLESDIR%%/wselect.sh share/xsessions/herbstluftwm.desktop %%ZSH%%share/zsh/functions/Completion/X/_herbstclient