1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

New port: x11/wmutils-core: Set of window manipulation tools

PR:		225141
Submitted by:	Dmitri Goutnik <dg@syrec.org>
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D14113
This commit is contained in:
Yuri Victorovich 2018-01-29 18:41:00 +00:00
parent 6be6883de3
commit d3518f2c4a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460321
7 changed files with 97 additions and 0 deletions

View File

@ -351,6 +351,7 @@
SUBDIR += wmctrl
SUBDIR += wmdrawer
SUBDIR += wmmatrix
SUBDIR += wmutils-core
SUBDIR += wmxss
SUBDIR += workrave
SUBDIR += x11perf

28
x11/wmutils-core/Makefile Normal file
View File

@ -0,0 +1,28 @@
# $FreeBSD$
PORTNAME= wmutils-core
DISTVERSIONPREFIX= v
DISTVERSION= 1.4
CATEGORIES= x11
MAINTAINER= dg@syrec.org
COMMENT= Set of window manipulation tools
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libxcb-util.so:x11/xcb-util
USES= localbase:ldflags
USE_XORG= xcb
USE_GITHUB= yes
GH_ACCOUNT= wmutils
GH_PROJECT= core
CONFLICTS= wtf # games/wtf
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1515851719
SHA256 (wmutils-core-v1.4_GH0.tar.gz) = 44e16576b7f6e1f126c2cb249449ab7e10fd65289aff774ffaf27d2c15a7b2ba
SIZE (wmutils-core-v1.4_GH0.tar.gz) = 10333

View File

@ -0,0 +1,17 @@
--- Makefile.orig 2017-01-25 13:19:03 UTC
+++ Makefile
@@ -30,12 +30,10 @@ binutils: $(BIN)
$(OBJ): $(HDR) util.o
.o:
- @echo "LD $@"
- @$(LD) $< util.o -o $@ $(LDFLAGS)
+ $(LD) $< util.o -o $@ $(LDFLAGS)
.c.o:
- @echo "CC $<"
- @$(CC) -c $< -o $@ $(CFLAGS)
+ $(CC) -c $< -o $@ $(CFLAGS)
install: $(BIN)
mkdir -p $(DESTDIR)$(PREFIX)/bin/

View File

@ -0,0 +1,15 @@
--- config.mk.orig 2017-01-25 13:19:03 UTC
+++ config.mk
@@ -1,9 +1,9 @@
-PREFIX = /usr
+PREFIX ?= /usr/local
MANPREFIX = $(PREFIX)/man
CC = cc
LD = $(CC)
-CFLAGS = -std=c99 -pedantic -Wall -Os
-LDFLAGS = -lxcb -lxcb-util
+CFLAGS := -std=c99 -pedantic -Wall $(CFLAGS)
+LDFLAGS := -lxcb -lxcb-util $(LDFLAGS)

View File

@ -0,0 +1,6 @@
wmutils-core is a set of tools for X windows manipulation. Each tool only
has one purpose, to make it as flexible and reliable as possible. Included
tools allow window listing, moving, resizing, focusing, changing window
order and more.
WWW: https://github.com/wmutils/core

View File

@ -0,0 +1,27 @@
bin/chwb
bin/chwso
bin/ignw
bin/killw
bin/lsw
bin/mapw
bin/pfw
bin/wattr
bin/wmp
bin/wmv
bin/wrs
bin/wtf
bin/wtp
man/man1/chwb.1.gz
man/man1/chwso.1.gz
man/man1/ignw.1.gz
man/man1/killw.1.gz
man/man1/lsw.1.gz
man/man1/mapw.1.gz
man/man1/pfw.1.gz
man/man1/wattr.1.gz
man/man1/wmp.1.gz
man/man1/wmutils.1.gz
man/man1/wmv.1.gz
man/man1/wrs.1.gz
man/man1/wtf.1.gz
man/man1/wtp.1.gz