Lists the titles of all running X windows to stdout, similar to ls(1).
Might be useful for script integration.

WWW:	http://tools.suckless.org/lsw
This commit is contained in:
Dennis Herrmann 2011-07-04 16:35:07 +00:00
parent da32c3c6d7
commit 3564f82faa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277049
4 changed files with 44 additions and 0 deletions

View file

@ -186,6 +186,7 @@
SUBDIR += linux-f10-xorg-libs
SUBDIR += linux-xorg-libs
SUBDIR += listres
SUBDIR += lsw
SUBDIR += luit
SUBDIR += lupe
SUBDIR += lxde-meta

35
x11/lsw/Makefile Normal file
View file

@ -0,0 +1,35 @@
# New ports collection makefile for: lsw
# Date created: 2011-07-03
# Whom: Dennis Herrmann <dhn@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= lsw
PORTVERSION= 0.2
CATEGORIES= x11
MASTER_SITES= http://dl.suckless.org/tools/
MAINTAINER= dhn@FreeBSD.org
COMMENT= Lists the titles of all running X windows to stdout, similar to ls(1)
MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${LOCALBASE}/lib" \
X11INC="${LOCALBASE}/include" CC="${CC}"
PLIST_FILES= bin/lsw
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
MAN1= lsw.1
MAKE_JOBS_SAFE= yes
USE_XORG= x11 xt xproto xext
post-patch:
@${REINPLACE_CMD} -e 's|-I/usr/include||;s|-L/usr/lib||;s|= -Os|+=|'\
-e 's|-DHAVE_SHADOW_H||' ${WRKSRC}/config.mk
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>

2
x11/lsw/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (lsw-0.2.tar.gz) = 307dcb49d5fd814ca58e3c7cae06008a0c68343b69847e59ddf0e34a555d5f60
SIZE (lsw-0.2.tar.gz) = 2946

6
x11/lsw/pkg-descr Normal file
View file

@ -0,0 +1,6 @@
LSW
Lists the titles of all running X windows to stdout, similar to ls(1).
Might be useful for script integration.
WWW: http://tools.suckless.org/lsw