# $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= x11 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>
TIMESTAMP = 1515851719
SHA256 (wmutils-core-v1.4_GH0.tar.gz) = 44e16576b7f6e1f126c2cb249449ab7e10fd65289aff774ffaf27d2c15a7b2ba
SIZE (wmutils-core-v1.4_GH0.tar.gz) = 10333
--- 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/
--- 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)
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
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