1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

emulators/rpcs3: fix --version output after r494119

This commit is contained in:
Jan Beich 2019-02-28 01:24:25 +00:00
parent 279779c76e
commit 0ad022b066
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494121
2 changed files with 5 additions and 0 deletions

View File

@ -4,10 +4,12 @@ PORTNAME= rpcs3
DISTVERSIONPREFIX= v
DISTVERSION= 0.0.6-7816 # git rev-list --count HEAD
DISTVERSIONSUFFIX= -gde5379a69
PORTREVISION= 1
CATEGORIES= emulators
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 1e28a22860c0.patch:-p1
PATCHFILES+= ff31ccc1eddf.patch:-p1 # version
MAINTAINER= jbeich@FreeBSD.org
COMMENT= PS3 emulator/debugger
@ -74,6 +76,7 @@ VULKAN_CMAKE_BOOL= USE_VULKAN
post-patch:
@${REINPLACE_CMD} -e '/GIT_BRANCH/s/unknown/master/' \
-e '/GIT_TAG/s/unknown/${GH_TAGNAME:C/-.*//}/' \
-e '/GIT_VERSION/s/unknown/${GH_TAGNAME:C/[^-]*-//}/' \
${WRKSRC}/${PORTNAME}/git-version.cmake

View File

@ -21,3 +21,5 @@ SHA256 (zeux-pugixml-v1.9_GH0.tar.gz) = 7ac060048bf00da4b3902cf411f0ba9f048cdc55
SIZE (zeux-pugixml-v1.9_GH0.tar.gz) = 555480
SHA256 (1e28a22860c0.patch) = d3724271593ea91093e4adfcb98a4ada9741a9204961a3737f60461bdcf13393
SIZE (1e28a22860c0.patch) = 1052
SHA256 (ff31ccc1eddf.patch) = 3c94e3e7fd45d8e8272d52c9db6d9a0b1654dc35be35b7865e2f64ce35c65254
SIZE (ff31ccc1eddf.patch) = 1149