New port: x11/wmutils-opt: Optional addons to wmutils

See details here: https://github.com/wmutils/opt

PR:		225142
Submitted by:	Dmitri Goutnik <dg@syrec.org>
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D14112
This commit is contained in:
Yuri Victorovich 2018-01-29 21:49:33 +00:00
parent c3b564dae1
commit eed7d08a11
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460344
7 changed files with 73 additions and 0 deletions

View File

@ -352,6 +352,7 @@
SUBDIR += wmdrawer
SUBDIR += wmmatrix
SUBDIR += wmutils-core
SUBDIR += wmutils-opt
SUBDIR += wmxss
SUBDIR += workrave
SUBDIR += x11perf

24
x11/wmutils-opt/Makefile Normal file
View File

@ -0,0 +1,24 @@
# $FreeBSD$
PORTNAME= wmutils-opt
DISTVERSIONPREFIX= v
DISTVERSION= 1.0
CATEGORIES= x11
MAINTAINER= dg@syrec.org
COMMENT= Optional addons to wmutils
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= localbase:ldflags
USE_XORG= xcb
USE_GITHUB= yes
GH_ACCOUNT= wmutils
GH_PROJECT= opt
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
.include <bsd.port.mk>

3
x11/wmutils-opt/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1515855504
SHA256 (wmutils-opt-v1.0_GH0.tar.gz) = f30bb409bdcfa6720015dbca5356e04d4359cca3800a39948822152a94bcd055
SIZE (wmutils-opt-v1.0_GH0.tar.gz) = 7959

View File

@ -0,0 +1,17 @@
--- Makefile.orig 2016-10-04 08:01:36 UTC
+++ Makefile
@@ -22,12 +22,10 @@ manpages:
$(OBJ): $(HDR) util.o
.o:
- @echo "LD $@"
- @$(LD) $< -o $@ $(LDFLAGS) util.o
+ $(LD) $< -o $@ $(LDFLAGS) util.o
.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 2016-10-04 08:01:36 UTC
+++ config.mk
@@ -1,8 +1,8 @@
-PREFIX = /usr
-MANPREFIX = $(PREFIX)/share/man
+PREFIX ?= /usr/local
+MANPREFIX = $(PREFIX)/man
CC = cc
LD = $(CC)
-CFLAGS += -std=c99 -pedantic -Wall -Os
-LDFLAGS += -lxcb
+CFLAGS := -std=c99 -pedantic -Wall $(CFLAGS)
+LDFLAGS := -lxcb $(LDFLAGS)

View File

@ -0,0 +1,5 @@
wmutils-opt is a set of optional utilities meant to accompany wmutils-core.
This package includes tools to move/resize windows with the mouse, control
window borders, and view a window's events and name.
WWW: https://github.com/wmutils/opt

View File

@ -0,0 +1,8 @@
bin/chwb2
bin/wew
bin/wname
bin/xmmv
man/man1/chwb2.1.gz
man/man1/wew.1.gz
man/man1/wname.1.gz
man/man1/xmmv.1.gz