Date: Thu, 25 Jun 2020 04:31:10 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r540368 - head/graphics/swappy Message-ID: <202006250431.05P4VAtX021048@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Thu Jun 25 04:31:10 2020 New Revision: 540368 URL: https://svnweb.freebsd.org/changeset/ports/540368 Log: graphics/swappy: embed exact version if snapshot Modified: head/graphics/swappy/Makefile Modified: head/graphics/swappy/Makefile ============================================================================== --- head/graphics/swappy/Makefile Thu Jun 25 04:24:02 2020 (r540367) +++ head/graphics/swappy/Makefile Thu Jun 25 04:31:10 2020 (r540368) @@ -38,4 +38,10 @@ MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_MESON_ENABLED= libnotify +post-patch: +# Extract (snapshot) version from the port instead of meson.build + @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ + -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ + ${WRKSRC}/meson.build + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006250431.05P4VAtX021048>