diff options
| author | Stephan Lichtenauer <stephan@lichtenauer.co.za> | 2023-07-27 09:04:34 +0000 |
|---|---|---|
| committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2023-07-27 09:18:46 +0000 |
| commit | 60e2677bd3dcfe3759304fd0311c1e853a159a47 (patch) | |
| tree | 708efe876fe1ed144d4df6691b290dd943391e53 | |
| parent | 43443df6d4749b1bc7f0bf43692e9bfb7ff9c894 (diff) | |
Add x11-wm/emwm-utils: EMWM Additional Utilities
PR: 272503
| -rw-r--r-- | x11-wm/Makefile | 1 | ||||
| -rw-r--r-- | x11-wm/emwm-utils/Makefile | 31 | ||||
| -rw-r--r-- | x11-wm/emwm-utils/distinfo | 3 | ||||
| -rw-r--r-- | x11-wm/emwm-utils/pkg-descr | 4 | ||||
| -rw-r--r-- | x11-wm/emwm-utils/pkg-message | 17 | ||||
| -rw-r--r-- | x11-wm/emwm-utils/pkg-plist | 10 |
6 files changed, 66 insertions, 0 deletions
diff --git a/x11-wm/Makefile b/x11-wm/Makefile index 003d331b0f7e..79315ac33217 100644 --- a/x11-wm/Makefile +++ b/x11-wm/Makefile @@ -34,6 +34,7 @@ SUBDIR += echinus SUBDIR += emerald SUBDIR += emwm + SUBDIR += emwm-utils SUBDIR += enlightenment SUBDIR += epplets SUBDIR += euclid-wm diff --git a/x11-wm/emwm-utils/Makefile b/x11-wm/emwm-utils/Makefile new file mode 100644 index 000000000000..034f21eff510 --- /dev/null +++ b/x11-wm/emwm-utils/Makefile @@ -0,0 +1,31 @@ +PORTNAME= emwm-utils +DISTVERSION= 1.1 +CATEGORIES= x11-wm +MASTER_SITES= https://fastestcode.org/dl/ +DISTNAME= emwm-utils-src-${DISTVERSION} + +MAINTAINER= stephan@lichtenauer.co.za +COMMENT= Enhanced Motif Window Manager Utilities +WWW= https://fastestcode.org/emwm.html + +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/COPYING + +RUN_DEPENDS= emwm:x11-wm/emwm + +USES= groff:build motif tar:xz xorg +USE_XORG= x11 xext xinerama xrandr xscrnsaver xt + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/src/xmsession ${STAGEDIR}${PREFIX}/bin/xmsession + ${INSTALL_PROGRAM} ${WRKSRC}/src/xmtoolbox ${STAGEDIR}${PREFIX}/bin/xmtoolbox + ${INSTALL_PROGRAM} ${WRKSRC}/src/xmsm ${STAGEDIR}${PREFIX}/bin/xmsm + ${MKDIR} ${STAGEDIR}${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/src/xmtoolbox.1 ${STAGEDIR}${PREFIX}/man/man1/xmtoolbox.1 + ${INSTALL_MAN} ${WRKSRC}/src/xmsm.1 ${STAGEDIR}${PREFIX}/man/man1/xmsm.1 + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/X11/app-defaults + ${INSTALL_DATA} ${WRKSRC}/src/XmSm.ad ${STAGEDIR}${PREFIX}/etc/X11/app-defaults/XmSm + ${INSTALL_DATA} ${WRKSRC}/src/XmToolbox.ad ${STAGEDIR}${PREFIX}/etc/X11/app-defaults/XmToolbox + ${INSTALL_DATA} ${WRKSRC}/src/toolboxrc ${STAGEDIR}${PREFIX}/etc/X11/toolboxrc + +.include <bsd.port.mk> diff --git a/x11-wm/emwm-utils/distinfo b/x11-wm/emwm-utils/distinfo new file mode 100644 index 000000000000..58bef963a3f4 --- /dev/null +++ b/x11-wm/emwm-utils/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1686569391 +SHA256 (emwm-utils-src-1.1.tar.xz) = 85bd90c3580cbc716980f0a67630e13ea3896ef7008a39bbd81f2864462dfddd +SIZE (emwm-utils-src-1.1.tar.xz) = 25496 diff --git a/x11-wm/emwm-utils/pkg-descr b/x11-wm/emwm-utils/pkg-descr new file mode 100644 index 000000000000..4f8b29fe05b5 --- /dev/null +++ b/x11-wm/emwm-utils/pkg-descr @@ -0,0 +1,4 @@ +Goodies for use with EMWM (Enhanced Motif Window Manager): XmToolbox, a +toolchest like application launcher, which reads it's multi-level menu structure +from a simple plain-text file ~/.toolboxrc, and XmSm, a simple session manager +that provides session configuration, locking and shutdown/suspend options. diff --git a/x11-wm/emwm-utils/pkg-message b/x11-wm/emwm-utils/pkg-message new file mode 100644 index 000000000000..20a48c57ca76 --- /dev/null +++ b/x11-wm/emwm-utils/pkg-message @@ -0,0 +1,17 @@ +[ +{ type: install + message: <<EOM +The session manager may be run from XDM by setting the DisplayManager*session +X resource in xdm-config to xmsession, or by execing xmsm from ~/.Xprofile. +Just make sure to test whether it works by running 'xinit xmsession' before +doing any of the above. Note that 'xmsession' is just a shell script that sets +up the environment for xmsm, and is not needed when this has been done already. + +- + +xmsm is installed suid root, this is required for screen locking and running +sbin commands. Privileges are dropped at startup and are reacquired only when +necessary. +EOM +} +] diff --git a/x11-wm/emwm-utils/pkg-plist b/x11-wm/emwm-utils/pkg-plist new file mode 100644 index 000000000000..d4b7b0aba779 --- /dev/null +++ b/x11-wm/emwm-utils/pkg-plist @@ -0,0 +1,10 @@ +@dir man/man1 +@dir etc/X11/app-defaults +man/man1/xmtoolbox.1.gz +man/man1/xmsm.1.gz +etc/X11/app-defaults/XmSm +etc/X11/app-defaults/XmToolbox +etc/X11/toolboxrc +bin/xmsession +bin/xmtoolbox +@(,,4755) bin/xmsm |
