graphics/swappy: embed exact version if snapshot
This commit is contained in:
parent
2beea6a9fe
commit
ee70e6a23c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=540368
1 changed files with 6 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue