? patches Index: Makefile =================================================================== RCS file: /cvs/ports/x11/emwm/Makefile,v diff -u -p -u -r1.3 Makefile --- Makefile 30 Oct 2025 21:34:15 -0000 1.3 +++ Makefile 27 Aug 2026 00:20:44 -0000 @@ -1,31 +1,45 @@ -COMMENT = enhanced motif window manager (MWM fork) +COMMENT= Enhanced Motif Window Manager -V = 1.3 -DISTNAME = emwm-src-${V} -PKGNAME = emwm-${V} -REVISION = 0 +DISTNAME= emwm-src-2.1 +PKGNAME= emwm-2.1 -CATEGORIES = x11 -HOMEPAGE = https://fastestcode.org/emwm.html +CATEGORIES= x11 +HOMEPAGE= https://fastestcode.org/emwm.html -# LGPL v2.1 -PERMIT_PACKAGE = Yes +SITES= https://fastestcode.org/dl/ +EXTRACT_SUFX= .tar.xz -SITES = https://fastestcode.org/dl/ -EXTRACT_SUFX = .tar.xz +# LGPLv2.1 +PERMIT_PACKAGE= Yes -WANTLIB += X11 Xext Xinerama Xm Xrandr Xt c m +WANTLIB += X11 Xext Xinerama Xrandr Xt Xm c m -LIB_DEPENDS = x11/motif +LIB_DEPENDS= x11/motif -MAKE_FLAGS = RCDIR=${PREFIX}/lib/X11 \ - CFLAGS="${CFLAGS}" +WRKDIST= ${WRKDIR}/emwm-src-2.1 -FAKE_FLAGS = PREFIX=${WRKINST}${PREFIX} \ - APPLRESDIR=${WRKINST}${PREFIX}/lib/X11/app-defaults \ - MANDIR=${WRKINST}${PREFIX}/man \ - RCDIR=${WRKINST}${PREFIX}/lib/X11 +MAKE_ENV= CC='${CC}' \ + CFLAGS='${CFLAGS}' \ + LDFLAGS='${LDFLAGS}' -NO_TEST = Yes +MAKE_FLAGS= PREFIX='${PREFIX}' \ + MANDIR='${PREFIX}/man' \ + RCDIR='${PREFIX}/lib/X11' \ + APPLRESDIR='${PREFIX}/lib/X11/app-defaults' \ + INCDIRS='-I${X11BASE}/include -I${LOCALBASE}/include' \ + LIBDIRS='-L${X11BASE}/lib -L${LOCALBASE}/lib' + +do-build: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} OpenBSD + +do-install: + cd ${WRKSRC}/src && \ + ${INSTALL_PROGRAM} emwm ${PREFIX}/bin/emwm && \ + ${INSTALL_DATA} emwm.1 ${PREFIX}/man/man1/emwm.1 && \ + ${INSTALL_DATA} emwmrc.4 ${PREFIX}/man/man4/emwmrc.4 && \ + ${INSTALL_DATA} system.emwmrc ${PREFIX}/lib/X11/system.emwmrc && \ + ${INSTALL_DATA} Emwm.ad ${PREFIX}/lib/X11/app-defaults/Emwm + +NO_TEST= Yes .include Index: distinfo =================================================================== RCS file: /cvs/ports/x11/emwm/distinfo,v diff -u -p -u -r1.2 distinfo --- distinfo 8 May 2025 14:18:13 -0000 1.2 +++ distinfo 27 Aug 2026 00:20:44 -0000 @@ -1,2 +1,2 @@ -SHA256 (emwm-src-1.3.tar.xz) = Y58/q4P/a0scnHnKRr9iBIVevoNC7gUqIUiUJVQQuM0= -SIZE (emwm-src-1.3.tar.xz) = 337648 +SHA256 (emwm-src-2.1.tar.xz) = 1EDIKgHP92ZwxLstR6cy4k/+7fh7uM+iMMYgk34K+Es= +SIZE (emwm-src-2.1.tar.xz) = 298340 Index: pkg/DESCR =================================================================== RCS file: /cvs/ports/x11/emwm/pkg/DESCR,v diff -u -p -u -r1.1.1.1 DESCR --- pkg/DESCR 23 Aug 2024 05:58:19 -0000 1.1.1.1 +++ pkg/DESCR 27 Aug 2026 00:20:44 -0000 @@ -1,7 +1,11 @@ -EMWM is a fork of the Motif Window Manager with fixes and enhancements. -The idea behind this is to provide compatibility with current xorg -extensions and applications, without changing the way the window -manager looks and behaves. This includes support for multi-monitor -setups through Xinerama/Xrandr, UTF-8 support with Xft fonts, and -overall better compatibility with software that requires Extended -Window Manager Hints. +Enhanced Motif Window Manager (EMWM) is a fork of the Motif Window Manager +with fixes and enhancements to provide compatibility with current X +extensions and applications, without changing the way the window manager +looks and behaves. + +Features include: +- Support for multi-monitor setups through Xinerama/Xrandr +- UTF-8 and Xft fonts support +- Multiple workspaces support +- Better compatibility with EWMH (Extended Window Manager Hints) +- Proper ICCCM compliance for StaticGravity and icon handling --- /dev/null Thu Aug 27 02:20:44 2026 +++ /usr/ports/x11/emwm/patches/patch-mf_Makefile_OpenBSD Thu Aug 27 01:31:44 2026 @@ -0,0 +1,22 @@ +Use ports infrastructure variables for paths. + +--- mf/Makefile.OpenBSD.orig ++++ mf/Makefile.OpenBSD +@@ -1,11 +1,11 @@ + # EMWM OpenBSD Makefile + +-PREFIX = /usr/local +-MANDIR = /usr/local/man +-RCDIR = /usr/X11R6/lib/X11 +-APPLRESDIR = /usr/X11R6/lib/X11/app-defaults ++PREFIX ?= ${PREFIX} ++MANDIR ?= ${PREFIX}/man ++RCDIR ?= ${PREFIX}/lib/X11 ++APPLRESDIR ?= ${PREFIX}/lib/X11/app-defaults + +-INCDIRS = -I/usr/X11R6/include -I/usr/local/include +-LIBDIRS = -L/usr/X11R6/lib -L/usr/local/lib ++INCDIRS += -I${X11BASE}/include -I${LOCALBASE}/include ++LIBDIRS += -L${X11BASE}/lib -L${LOCALBASE}/lib + + CFLAGS = -O2 -Wall $(INCDIRS)