diff options
author | danfe <danfe@FreeBSD.org> | 2015-10-22 20:16:39 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2015-10-22 20:16:39 +0800 |
commit | 7f79bf74ca877bb23f965d7a72ae3b9ad3f3378c (patch) | |
tree | f0857ca66b2cb6565002911c8741381fdeca9cee /x11-wm/wmx | |
parent | b8993ab796b41903e660bade983d2fdd3c24e5f3 (diff) | |
download | freebsd-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)
Diffstat (limited to 'x11-wm/wmx')
-rw-r--r-- | x11-wm/wmx/Makefile | 44 | ||||
-rw-r--r-- | x11-wm/wmx/distinfo | 2 | ||||
-rw-r--r-- | x11-wm/wmx/pkg-descr | 8 |
3 files changed, 54 insertions, 0 deletions
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/ |