diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2020-06-25 04:31:10 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2020-06-25 04:31:10 +0000 |
commit | ee70e6a23c22e0be2f7cacc5a6ca6bffda1bf1eb (patch) | |
tree | 35a520264e555b72b3e9c0e1b79d8934178f393f | |
parent | 2beea6a9fecdfe98252f323fa3ae06129d8b7cd5 (diff) | |
download | ports-ee70e6a23c22e0be2f7cacc5a6ca6bffda1bf1eb.tar.gz ports-ee70e6a23c22e0be2f7cacc5a6ca6bffda1bf1eb.zip |
graphics/swappy: embed exact version if snapshot
Notes
Notes:
svn path=/head/; revision=540368
-rw-r--r-- | graphics/swappy/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/swappy/Makefile b/graphics/swappy/Makefile index c0cc3068e15c..cb2cc18b3f56 100644 --- a/graphics/swappy/Makefile +++ b/graphics/swappy/Makefile @@ -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> |