aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-12-19 08:31:17 +0800
committermiwi <miwi@FreeBSD.org>2007-12-19 08:31:17 +0800
commit1e0f60c85a513f2494a45d8765f51bbe2be71e30 (patch)
tree9bc02355400c1b297a6b878bfdeb9ad2b88f1162 /x11
parentb3fce03b554b9a62ddf5ea8d8be6797ebe64924d (diff)
downloadfreebsd-ports-gnome-1e0f60c85a513f2494a45d8765f51bbe2be71e30.tar.gz
freebsd-ports-gnome-1e0f60c85a513f2494a45d8765f51bbe2be71e30.tar.zst
freebsd-ports-gnome-1e0f60c85a513f2494a45d8765f51bbe2be71e30.zip
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 PR: ports/118804 Submitted by: oleg at bsdpower.com
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/setlayout/Makefile34
-rw-r--r--x11/setlayout/distinfo3
-rw-r--r--x11/setlayout/pkg-descr6
4 files changed, 44 insertions, 0 deletions
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 <bsd.port.pre.mk>
+
+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 <bsd.port.post.mk>
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