aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2015-10-22 20:16:39 +0800
committerdanfe <danfe@FreeBSD.org>2015-10-22 20:16:39 +0800
commit7f79bf74ca877bb23f965d7a72ae3b9ad3f3378c (patch)
treef0857ca66b2cb6565002911c8741381fdeca9cee
parentb8993ab796b41903e660bade983d2fdd3c24e5f3 (diff)
downloadfreebsd-ports-gnome-7f79bf74ca877bb23f965d7a72ae3b9ad3f3378c.tar.gz
freebsd-ports-gnome-7f79bf74ca877bb23f965d7a72ae3b9ad3f3378c.tar.zst
freebsd-ports-gnome-7f79bf74ca877bb23f965d7a72ae3b9ad3f3378c.zip
Resurrect `x11-wm/wmx' port removed by kris@ on Feb 18, 2005. It is still
well alive, with the latest version released last year. Submitter assumes maintainership. PR: 199977 (modified)
-rw-r--r--x11-wm/Makefile1
-rw-r--r--x11-wm/wmx/Makefile44
-rw-r--r--x11-wm/wmx/distinfo2
-rw-r--r--x11-wm/wmx/pkg-descr8
4 files changed, 55 insertions, 0 deletions
diff --git a/x11-wm/Makefile b/x11-wm/Makefile
index 42d4e02c0535..8a114583a840 100644
--- a/x11-wm/Makefile
+++ b/x11-wm/Makefile
@@ -134,6 +134,7 @@
SUBDIR += wmii
SUBDIR += wmii-devel
SUBDIR += wmname
+ SUBDIR += wmx
SUBDIR += xcompmgr
SUBDIR += xfce4
SUBDIR += xfce4-desktop
diff --git a/x11-wm/wmx/Makefile b/x11-wm/wmx/Makefile
new file mode 100644
index 000000000000..d806c2b0ca4f
--- /dev/null
+++ b/x11-wm/wmx/Makefile
@@ -0,0 +1,44 @@
+# Created by: Stefan Zehl <sec@42.org>
+# $FreeBSD$
+
+PORTNAME= wmx
+PORTVERSION= 8
+CATEGORIES= x11-wm
+MASTER_SITES= http://www.all-day-breakfast.com/wmx/
+
+MAINTAINER= kwhite@site.uottawa.ca
+COMMENT= Simple window manager based on wm2
+
+USES= pkgconfig
+GNU_CONFIGURE= yes
+USE_XORG= ice sm x11 xcomposite xext xft xpm
+
+PLIST_FILES= bin/wmx
+PORTDOCS= README README.contrib
+
+OPTIONS_DEFINE= ALT_L XTERM DOCS
+OPTIONS_DEFAULT= XTERM
+
+ALT_L_DESC= Use ALT_L key for ALT function instead of Windows_L
+XTERM_DESC= Use xterm(1) as default NEW window command
+
+.include <bsd.port.options.mk>
+
+post-patch:
+.if ${PORT_OPTIONS:MXTERM}
+ @${REINPLACE_CMD} -e '/CONFIG_NEW_WINDOW_COMMAND/ \
+ s/x-terminal-emulator/xterm/' ${WRKSRC}/Config.h
+.endif
+.if ${PORT_OPTIONS:MALT_L}
+ @${REINPLACE_CMD} -e '/CONFIG_ALT_KEY/s/XK_Super_L/XK_Alt_L/' \
+ ${WRKSRC}/Config.h
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmx ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11-wm/wmx/distinfo b/x11-wm/wmx/distinfo
new file mode 100644
index 000000000000..4378dd907240
--- /dev/null
+++ b/x11-wm/wmx/distinfo
@@ -0,0 +1,2 @@
+SHA256 (wmx-8.tar.gz) = 7316090e59fa8988219d6819e426870c6d8c0739818d77e8770e8108ddf0aedd
+SIZE (wmx-8.tar.gz) = 140329
diff --git a/x11-wm/wmx/pkg-descr b/x11-wm/wmx/pkg-descr
new file mode 100644
index 000000000000..63d6ae0a9894
--- /dev/null
+++ b/x11-wm/wmx/pkg-descr
@@ -0,0 +1,8 @@
+wmx is another window manager for X. It is based on wm2 and provides
+a similarly unusual style of window decoration; but in place of wm2's
+minimal functionality, it offers many of the features of more
+conventional managers, often in the most simplistic implementations
+imaginable. wmx is, however, still not configurable except by editing
+the source and recompiling the code.
+
+WWW: http://www.all-day-breakfast.com/wmx/