diff --git a/x11/Makefile b/x11/Makefile index 867735981d36..cc013dc85ad2 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -260,6 +260,7 @@ SUBDIR += scripts SUBDIR += scrnsaverproto SUBDIR += sessreg + SUBDIR += setlayout SUBDIR += settitle SUBDIR += setxkbmap SUBDIR += silo diff --git a/x11/setlayout/Makefile b/x11/setlayout/Makefile new file mode 100644 index 000000000000..3dba56db0887 --- /dev/null +++ b/x11/setlayout/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: setlayout +# Date created: 17 December 2007 +# Whom: oleg@bsdpower.com +# +# $FreeBSD$ +# + +PORTNAME= setlayout +DISTVERSION= 20071217 +CATEGORIES= x11 +MASTER_SITES= http://icculus.org/openbox/tools/ +DISTFILES= ${PORTNAME}.c +EXTRACT_ONLY= #none + +MAINTAINER= oleg@bsdpower.com +COMMENT= Arrange desktops in an MxN grid layout + +USE_XORG= x11 +NO_WRKSUBDIR= yes +PLIST_FILES= bin/${PORTNAME} + +.include + +do-extract: + ${MKDIR} ${WRKSRC} + ${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC} + +do-build: + cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} -I ${PREFIX}/include -L ${PREFIX}/lib -lX11 ${DISTFILES} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +.include diff --git a/x11/setlayout/distinfo b/x11/setlayout/distinfo new file mode 100644 index 000000000000..77dbe717a2d0 --- /dev/null +++ b/x11/setlayout/distinfo @@ -0,0 +1,3 @@ +MD5 (setlayout.c) = 76f263e1550532ae54fd53c3a49b2c71 +SHA256 (setlayout.c) = fd0b488babad5a3e81f0dae2e28b2f9caf39bc7654455988c59638067ac5062e +SIZE (setlayout.c) = 1374 diff --git a/x11/setlayout/pkg-descr b/x11/setlayout/pkg-descr new file mode 100644 index 000000000000..2e9667913e0f --- /dev/null +++ b/x11/setlayout/pkg-descr @@ -0,0 +1,6 @@ +setlayout is a small program that arranges desktops in an MxN grid. +It should work with any EWHM-compliant window manager, such as Openbox. + +Example usage: setlayout 0 2 2 0 for a 2x2 grid. + +WWW: http://icculus.org/openbox/index.php