svn commit: r540368 - head/graphics/swappy

Jan Beich jbeich at FreeBSD.org
Thu Jun 25 04:31:11 UTC 2020


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>


More information about the svn-ports-all mailing list