Index: x11/wmutils-core/Makefile =================================================================== --- /dev/null +++ x11/wmutils-core/Makefile @@ -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= x11 xcb + +USE_GITHUB= yes +GH_ACCOUNT= wmutils +GH_PROJECT= core + +CONFLICTS= wtf # games/wtf + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* + +.include Index: x11/wmutils-core/distinfo =================================================================== --- /dev/null +++ x11/wmutils-core/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1515851719 +SHA256 (wmutils-core-v1.4_GH0.tar.gz) = 44e16576b7f6e1f126c2cb249449ab7e10fd65289aff774ffaf27d2c15a7b2ba +SIZE (wmutils-core-v1.4_GH0.tar.gz) = 10333 Index: x11/wmutils-core/files/patch-Makefile =================================================================== --- /dev/null +++ x11/wmutils-core/files/patch-Makefile @@ -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/ Index: x11/wmutils-core/files/patch-config.mk =================================================================== --- /dev/null +++ x11/wmutils-core/files/patch-config.mk @@ -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) + Index: x11/wmutils-core/pkg-descr =================================================================== --- /dev/null +++ x11/wmutils-core/pkg-descr @@ -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 Index: x11/wmutils-core/pkg-plist =================================================================== --- /dev/null +++ x11/wmutils-core/pkg-plist @@ -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