diff options
author | mat <mat@FreeBSD.org> | 2016-04-18 22:07:42 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2016-04-18 22:07:42 +0800 |
commit | fcce86ef770a055cb1e454943c1d9a493c0565a0 (patch) | |
tree | e5ea083654dfbadf17a727888b46f75bff2ade04 /x11-wm | |
parent | 546ea43ca4eefc1ef83de53459c20e5412a65c8b (diff) | |
download | freebsd-ports-gnome-fcce86ef770a055cb1e454943c1d9a493c0565a0.tar.gz freebsd-ports-gnome-fcce86ef770a055cb1e454943c1d9a493c0565a0.tar.zst freebsd-ports-gnome-fcce86ef770a055cb1e454943c1d9a493c0565a0.zip |
Update to 0.9.1.
PR: 208872
Submitted by: tkato432 yahoo com
Sponsored by: Absolight
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/bspwm/Makefile | 11 | ||||
-rw-r--r-- | x11-wm/bspwm/distinfo | 4 | ||||
-rw-r--r-- | x11-wm/bspwm/files/patch-Makefile | 80 | ||||
-rw-r--r-- | x11-wm/bspwm/files/pkg-message.in (renamed from x11-wm/bspwm/pkg-message) | 2 | ||||
-rw-r--r-- | x11-wm/bspwm/pkg-plist | 21 |
5 files changed, 75 insertions, 43 deletions
diff --git a/x11-wm/bspwm/Makefile b/x11-wm/bspwm/Makefile index a72c6f6048f7..35447c7e34c1 100644 --- a/x11-wm/bspwm/Makefile +++ b/x11-wm/bspwm/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= bspwm -PORTVERSION= 0.9 -PORTREVISION= 2 +PORTVERSION= 0.9.1 CATEGORIES= x11-wm MAINTAINER= ports@FreeBSD.org @@ -18,10 +17,12 @@ RUN_DEPENDS= sxhkd:x11/sxhkd USE_GITHUB= yes GH_ACCOUNT= baskerville -USES= gmake shebangfix -SHEBANG_FILES= contrib/freedesktop/bspwm-session +USES= gmake pkgconfig -MAKE_ENV+= EXAMPLESDIR=${EXAMPLESDIR} +SUB_FILES= pkg-message + +PORTDOCS= * +PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES diff --git a/x11-wm/bspwm/distinfo b/x11-wm/bspwm/distinfo index 5a3cc117525a..e810c9fdc57f 100644 --- a/x11-wm/bspwm/distinfo +++ b/x11-wm/bspwm/distinfo @@ -1,2 +1,2 @@ -SHA256 (baskerville-bspwm-0.9_GH0.tar.gz) = 1efb2db7b8a251bcc006d66a050cf66e9d311761c94890bebf91a32905042fde -SIZE (baskerville-bspwm-0.9_GH0.tar.gz) = 62798 +SHA256 (baskerville-bspwm-0.9.1_GH0.tar.gz) = 02bb58a307acdec242eb4b8a62764ed53d01c30474dfb1bc09812d943773bb85 +SIZE (baskerville-bspwm-0.9.1_GH0.tar.gz) = 82335 diff --git a/x11-wm/bspwm/files/patch-Makefile b/x11-wm/bspwm/files/patch-Makefile index 0ec8d278ba1c..a5777aa06d1a 100644 --- a/x11-wm/bspwm/files/patch-Makefile +++ b/x11-wm/bspwm/files/patch-Makefile @@ -1,20 +1,72 @@ ---- Makefile.orig 2015-03-20 21:29:14 UTC +--- Makefile.orig 2016-03-15 16:06:25 UTC +++ Makefile -@@ -8,7 +8,7 @@ LDFLAGS += -L$(PREFIX)/lib +@@ -1,15 +1,16 @@ + VERSION := $(shell git describe 2> /dev/null || cat VERSION) - PREFIX ?= /usr/local - BINPREFIX = $(PREFIX)/bin --MANPREFIX = $(PREFIX)/share/man -+MANPREFIX = $(PREFIX)/man - BASHCPL = $(PREFIX)/share/bash-completion/completions - ZSHCPL = $(PREFIX)/share/zsh/site-functions - DOCPREFIX = $(PREFIX)/share/doc/bspwm -@@ -56,7 +56,7 @@ install: - cp -p contrib/zsh_completion "$(DESTDIR)$(ZSHCPL)"/_bspc +-CPPFLAGS += -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\" ++CPPFLAGS += $(shell pkg-config --cflags xcb-ewmh xcb-event xcb-icccm xcb-randr xcb-util xcb-xinerama) -DVERSION=\"$(VERSION)\" + CFLAGS += -std=c99 -pedantic -Wall -Wextra +-LDLIBS = -lm -lxcb -lxcb-util -lxcb-icccm -lxcb-ewmh -lxcb-randr -lxcb-xinerama ++LDLIBS = $(shell pkg-config --libs xcb-ewmh xcb-event xcb-icccm xcb-randr xcb-util xcb-xinerama) -lm + + PREFIX ?= /usr/local +-BINPREFIX ?= $(PREFIX)/bin +-MANPREFIX ?= $(PREFIX)/share/man +-DOCPREFIX ?= $(PREFIX)/share/doc/bspwm +-BASHCPL ?= $(PREFIX)/share/bash-completion/completions +-ZSHCPL ?= $(PREFIX)/share/zsh/site-functions ++BINPREFIX = $(PREFIX)/bin ++MANPREFIX = $(PREFIX)/man ++DOCPREFIX = $(PREFIX)/share/doc/bspwm ++EXPREFIX = $(PREFIX)/share/examples/bspwm ++BASHCPL = $(PREFIX)/share/bash-completion/completions ++ZSHCPL = $(PREFIX)/share/zsh/site-functions + + MD_DOCS = README.md doc/CHANGELOG.md doc/CONTRIBUTING.md doc/INSTALL.md doc/MISC.md doc/TODO.md + XSESSIONS ?= $(PREFIX)/share/xsessions +@@ -35,20 +36,36 @@ bspc: $(CLI_OBJ) + + install: + mkdir -p "$(DESTDIR)$(BINPREFIX)" +- cp -pf bspwm "$(DESTDIR)$(BINPREFIX)" +- cp -pf bspc "$(DESTDIR)$(BINPREFIX)" ++ ${BSD_INSTALL_PROGRAM} bspwm "$(DESTDIR)$(BINPREFIX)" ++ ${BSD_INSTALL_PROGRAM} bspc "$(DESTDIR)$(BINPREFIX)" + mkdir -p "$(DESTDIR)$(MANPREFIX)"/man1 +- cp -p doc/bspwm.1 "$(DESTDIR)$(MANPREFIX)"/man1 +- cp -Pp doc/bspc.1 "$(DESTDIR)$(MANPREFIX)"/man1 ++ ${BSD_INSTALL_MAN} doc/bspwm.1 "$(DESTDIR)$(MANPREFIX)"/man1 ++ ${BSD_INSTALL_MAN} doc/bspc.1 "$(DESTDIR)$(MANPREFIX)"/man1 + mkdir -p "$(DESTDIR)$(BASHCPL)" +- cp -p contrib/bash_completion "$(DESTDIR)$(BASHCPL)"/bspc ++ ${BSD_INSTALL_DATA} contrib/bash_completion "$(DESTDIR)$(BASHCPL)"/bspc + mkdir -p "$(DESTDIR)$(ZSHCPL)" +- cp -p contrib/zsh_completion "$(DESTDIR)$(ZSHCPL)"/_bspc ++ ${BSD_INSTALL_DATA} contrib/zsh_completion "$(DESTDIR)$(ZSHCPL)"/_bspc mkdir -p "$(DESTDIR)$(DOCPREFIX)" - cp -p $(MD_DOCS) "$(DESTDIR)$(DOCPREFIX)" +- cp -p $(MD_DOCS) "$(DESTDIR)$(DOCPREFIX)" - cp -pr examples "$(DESTDIR)$(DOCPREFIX)"/examples -+ cp -pr examples "$(DESTDIR)$(EXAMPLESDIR)" ++ ${BSD_INSTALL_DATA} $(MD_DOCS) "$(DESTDIR)$(DOCPREFIX)" ++ mkdir -p "$(DESTDIR)$(EXPREFIX)/external_rules" ++ ${BSD_INSTALL_DATA} examples/external_rules/bspwmrc \ ++ "$(DESTDIR)$(EXPREFIX)/external_rules" ++ ${BSD_INSTALL_DATA} examples/external_rules/external_rules \ ++ "$(DESTDIR)$(EXPREFIX)/external_rules" ++ mkdir -p "$(DESTDIR)$(EXPREFIX)/external_rules/pseudo_automatic_mode" ++ ${BSD_INSTALL_DATA} examples/external_rules/pseudo_automatic_mode/* \ ++ "$(DESTDIR)$(EXPREFIX)/external_rules/pseudo_automatic_mode" ++ mkdir -p "$(DESTDIR)$(EXPREFIX)/loop" ++ ${BSD_INSTALL_DATA} examples/loop/* \ ++ "$(DESTDIR)$(EXPREFIX)/loop" ++ mkdir -p "$(DESTDIR)$(EXPREFIX)/overlapping_borders" ++ ${BSD_INSTALL_DATA} examples/overlapping_borders/* \ ++ "$(DESTDIR)$(EXPREFIX)/overlapping_borders" ++ mkdir -p "$(DESTDIR)$(EXPREFIX)/panel" ++ ${BSD_INSTALL_DATA} examples/panel/* \ ++ "$(DESTDIR)$(EXPREFIX)/panel" mkdir -p "$(DESTDIR)$(XSESSIONS)" - cp -p contrib/freedesktop/bspwm.desktop "$(DESTDIR)$(XSESSIONS)" +- cp -p contrib/freedesktop/bspwm.desktop "$(DESTDIR)$(XSESSIONS)" ++ ${BSD_INSTALL_DATA} contrib/freedesktop/bspwm.desktop "$(DESTDIR)$(XSESSIONS)" + uninstall: + rm -f "$(DESTDIR)$(BINPREFIX)"/bspwm diff --git a/x11-wm/bspwm/pkg-message b/x11-wm/bspwm/files/pkg-message.in index bc58bb5a4ea7..73a57ce48b47 100644 --- a/x11-wm/bspwm/pkg-message +++ b/x11-wm/bspwm/files/pkg-message.in @@ -1,5 +1,5 @@ ####################################################################### -Copy the files bspwmrc and sxhkdrc from ${EXAMPLESDIR} to +Copy the files bspwmrc and sxhkdrc from %%EXAMPLESDIR%% to ~/.config/bspwm/ and ~/.config/sxhkd/ and configure them as you wish. And add these lines to you .xinitrc: diff --git a/x11-wm/bspwm/pkg-plist b/x11-wm/bspwm/pkg-plist index 09c5b4b66b6b..bb274223f487 100644 --- a/x11-wm/bspwm/pkg-plist +++ b/x11-wm/bspwm/pkg-plist @@ -1,28 +1,7 @@ bin/bspc bin/bspwm -bin/bspwm-session man/man1/bspc.1.gz man/man1/bspwm.1.gz share/bash-completion/completions/bspc -%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTING.md -%%PORTDOCS%%%%DOCSDIR%%/INSTALL.md -%%PORTDOCS%%%%DOCSDIR%%/MISC.md -%%PORTDOCS%%%%DOCSDIR%%/TODO.md -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bspwmrc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/external_rules/bspwmrc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/external_rules/external_rules -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/loop/bspwmrc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/loop/profile -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/loop/sxhkdrc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/loop/wm -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/loop/xinitrc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/overlapping_borders/bspwmrc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/panel/bspwmrc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/panel/panel -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/panel/panel_bar -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/panel/panel_colors -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/panel/profile -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/panel/sxhkdrc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sxhkdrc share/xsessions/bspwm.desktop share/zsh/site-functions/_bspc |