From owner-svn-ports-all@freebsd.org Sun Mar 17 21:33:03 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 117DE154B8D2; Sun, 17 Mar 2019 21:33:03 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A726F9209D; Sun, 17 Mar 2019 21:33:02 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7FD07FD06; Sun, 17 Mar 2019 21:33:02 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2HLX2UY033752; Sun, 17 Mar 2019 21:33:02 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2HLX2Rr033750; Sun, 17 Mar 2019 21:33:02 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <201903172133.x2HLX2Rr033750@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Sun, 17 Mar 2019 21:33:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r496110 - in head/x11-wm/dwm: . files X-SVN-Group: ports-head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: in head/x11-wm/dwm: . files X-SVN-Commit-Revision: 496110 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A726F9209D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Mar 2019 21:33:03 -0000 Author: 0mp Date: Sun Mar 17 21:33:01 2019 New Revision: 496110 URL: https://svnweb.freebsd.org/changeset/ports/496110 Log: x11-wm/dwm: Update to 6.2 - Clean up MASTER_SITES (remove outdated websites) - Set FREETYPEINC (now required to build) and VERSION in MARK_ARGS - Use DISTVERSION instead of PORTVERSION for consistency - Define a simple do-test target so that we can quickly test if the binary is at least not core dumping when started - Improve the description of the VOLUMECONTROL option - Replace config.mk patching with a post-configure target that makes the port respect user's CFLAGS, CPPFLAGS and LDFLAGS - Rewrite the post-extract target using make(1) if syntax instead of sh(1) if syntax New release announcement: https://lists.suckless.org/dev/1902/33214.html Reviewed by: mat Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D19416 Deleted: head/x11-wm/dwm/files/patch-config.mk Modified: head/x11-wm/dwm/Makefile head/x11-wm/dwm/distinfo Modified: head/x11-wm/dwm/Makefile ============================================================================== --- head/x11-wm/dwm/Makefile Sun Mar 17 21:31:35 2019 (r496109) +++ head/x11-wm/dwm/Makefile Sun Mar 17 21:33:01 2019 (r496110) @@ -2,11 +2,9 @@ # $FreeBSD$ PORTNAME= dwm -PORTVERSION= 6.1 -PORTREVISION= 3 +DISTVERSION= 6.2 CATEGORIES= x11-wm -MASTER_SITES= http://dl.suckless.org/${PORTNAME}/ \ - http://schot.a-eskwadraat.nl/files/ +MASTER_SITES= http://dl.suckless.org/${PORTNAME}/ MAINTAINER= 0mp@FreeBSD.org COMMENT= Dynamic, small, fast and simple window manager @@ -15,11 +13,19 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig +# Kyua is not used by the upstream to test. It's only used in the port's +# do-test target. +TEST_DEPENDS= ${LOCALBASE}/libexec/atf-check:devel/kyua USE_XORG= x11 xft -MAKE_ARGS= CC="${CC}" PREFIX="${PREFIX}" MANPREFIX="${MANPREFIX}/man" \ - X11INC="${LOCALBASE}/include" X11LIB="${LOCALBASE}/lib" +MAKE_ARGS= CC="${CC}" \ + FREETYPEINC="${LOCALBASE}/include/freetype2" \ + MANPREFIX="${MANPREFIX}/man" \ + PREFIX="${PREFIX}" \ + VERSION="${PORTVERSION}" \ + X11INC="${LOCALBASE}/include" \ + X11LIB="${LOCALBASE}/lib" PLIST_FILES= bin/dwm \ man/man1/dwm.1.gz @@ -30,7 +36,7 @@ OPTIONS_DEFAULT=DMENUANDSTERM XINERAMA DMENUANDSTERM_DESC= Install x11/dmenu and x11/sterm as runtime dependencies SUPERASMODKEY_DESC= Use Super instead of Alt for the dwm mod key -VOLUMECONTROL_DESC= Use keys on keyboard to raise or lower volume +VOLUMECONTROL_DESC= Use multimedia keys to raise or lower volume DMENUANDSTERM_RUN_DEPENDS= dmenu:x11/dmenu \ st:x11/sterm @@ -46,17 +52,28 @@ pre-everything:: @${ECHO_MSG} "make DWM_CONF=/path/to/dwm/config.h install clean" @${ECHO_MSG} "Note: Pre-${PORTVERSION} config.h-files may not work." +.if exists(${DWM_CONF}) post-extract: - @if [ -e "${DWM_CONF}" ]; then \ - ${ECHO_MSG} "Creating symlink: config.h -> ${DWM_CONF}"; \ - ${LN} -fs "${DWM_CONF}" ${WRKSRC}/config.h; \ - fi + @${ECHO_MSG} "Creating symlink: config.h -> ${DWM_CONF}" + ${LN} -fs "${DWM_CONF}" ${WRKSRC}/config.h +.endif +post-configure: + @${REINPLACE_CMD} -E \ + -e "s|(CFLAGS[[:space:]]*)= |\1+= |" \ + -e "s|(CPPFLAGS[[:space:]]*)= |\1+= |" \ + -e "s|(LDFLAGS[[:space:]]*)= |\1+= |" \ + ${WRKSRC}/config.mk + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dwm post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + +do-test: + ${LOCALBASE}/libexec/atf-check -s exit:1 -e match:"dwm-${PORTVERSION}" \ + ${STAGEDIR}${PREFIX}/bin/dwm -v .include Modified: head/x11-wm/dwm/distinfo ============================================================================== --- head/x11-wm/dwm/distinfo Sun Mar 17 21:31:35 2019 (r496109) +++ head/x11-wm/dwm/distinfo Sun Mar 17 21:33:01 2019 (r496110) @@ -1,2 +1,3 @@ -SHA256 (dwm-6.1.tar.gz) = c2f6c56167f0acdbe3dc37cca9c1a19260c040f2d4800e3529a21ad7cce275fe -SIZE (dwm-6.1.tar.gz) = 25887 +TIMESTAMP = 1551437504 +SHA256 (dwm-6.2.tar.gz) = 97902e2e007aaeaa3c6e3bed1f81785b817b7413947f1db1d3b62b8da4cd110e +SIZE (dwm-6.2.tar.gz) = 25273