Index: head/x11-wm/dwm/Makefile =================================================================== --- head/x11-wm/dwm/Makefile (revision 460416) +++ head/x11-wm/dwm/Makefile (revision 460417) @@ -1,49 +1,55 @@ # Created by: Jeroen Schot # $FreeBSD$ PORTNAME= dwm PORTVERSION= 6.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-wm MASTER_SITES= http://dl.suckless.org/${PORTNAME}/ \ http://schot.a-eskwadraat.nl/files/ + PATCH_SITES= http://dwm.suckless.org/patches/ MAINTAINER= schot@a-eskwadraat.nl COMMENT= Dynamic, small, fast and simple window manager LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig -OPTIONS_DEFINE= XINERAMA DOCS +OPTIONS_DEFINE= XINERAMA DOCS SUPERASMODKEY OPTIONS_DEFAULT=XINERAMA +SUPERASMODKEY_DESC= Use Super instead of Alt for the dwm mod key + XINERAMA_USE= XORG=xinerama XINERAMA_MAKE_ARGS_OFF= XINERAMAFLAGS= XINERAMALIBS= +SUPERASMODKEY_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-config.def.h + USE_XORG= x11 xft MAKE_ARGS= CC="${CC}" PREFIX="${PREFIX}" MANPREFIX="${MANPREFIX}/man" \ X11INC="${LOCALBASE}/include" X11LIB="${LOCALBASE}/lib" PLIST_FILES= bin/dwm \ man/man1/dwm.1.gz PORTDOCS= README pre-everything:: @${ECHO_MSG} "You can build dwm with your own config.h using the DWM_CONF knob:" @${ECHO_MSG} "make DWM_CONF=/path/to/dwm/config.h install clean" @${ECHO_MSG} "Note: Pre-${PORTVERSION} config.h-files may not work." post-extract: @if [ -e "${DWM_CONF}" ]; then \ ${ECHO_MSG} "Creating symlink: config.h -> ${DWM_CONF}"; \ ${LN} -fs "${DWM_CONF}" ${WRKSRC}/config.h; \ fi post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dwm .include Index: head/x11-wm/dwm/files/extra-patch-config.def.h =================================================================== --- head/x11-wm/dwm/files/extra-patch-config.def.h (nonexistent) +++ head/x11-wm/dwm/files/extra-patch-config.def.h (revision 460417) @@ -0,0 +1,11 @@ +--- config.def.h.orig 2018-01-16 16:05:12 UTC ++++ config.def.h +@@ -42,7 +42,7 @@ static const Layout layouts[] = { + }; + + /* key definitions */ +-#define MODKEY Mod1Mask ++#define MODKEY Mod4Mask + #define TAGKEYS(KEY,TAG) \ + { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ + { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \ Property changes on: head/x11-wm/dwm/files/extra-patch-config.def.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property