Skip to content

Commit

Permalink
textproc/goldendict: update the port to (finally) tagged version 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed May 31, 2023
1 parent 439ce2a commit 585fa0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions textproc/goldendict/Makefile
@@ -1,6 +1,5 @@
PORTNAME= goldendict
DISTVERSION= 1.5.0-g20220602
PORTREVISION= 2
PORTVERSION= 1.5.0
CATEGORIES= textproc

MAINTAINER= danfe@FreeBSD.org
Expand All @@ -20,7 +19,6 @@ LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \
USES= compiler:c++11-lang gnome iconv:wchar_t pkgconfig \
qmake qt:5 xorg
USE_GITHUB= yes
GH_TAGNAME= 99982a1
USE_XORG= x11 xtst
USE_QT= buildtools:build linguisttools:build core gui help \
network printsupport sql svg webkit widgets \
Expand All @@ -47,7 +45,7 @@ OPENCC_LIB_DEPENDS= libopencc.so:chinese/opencc
OPENCC_QMAKE_ON= CONFIG+="chinese_conversion_support"

post-patch:
@${REINPLACE_CMD} -e '/^VERSION = /s,git,&${GH_TAGNAME},' \
@${REINPLACE_CMD} -e '/^VERSION = /s,git,&-8c5b26a,' \
${WRKSRC}/goldendict.pro
@${REINPLACE_CMD} -e '/^#include <stdio\.h>/ { x; \
s/^/#include <locale.h>/; G; }' ${WRKSRC}/main.cc
Expand Down
6 changes: 3 additions & 3 deletions textproc/goldendict/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1654167073
SHA256 (goldendict-goldendict-1.5.0-g20220602-99982a1_GH0.tar.gz) = 138ea766bb2260a2bcc75327c2c900080fef5cb82edbb94aed1977d46a4c41af
SIZE (goldendict-goldendict-1.5.0-g20220602-99982a1_GH0.tar.gz) = 20351546
TIMESTAMP = 1685371891
SHA256 (goldendict-goldendict-1.5.0_GH0.tar.gz) = f9f8e068ece74cc026fdc5f56615246228b4e70c97c7197ccd4c14ceae412c7c
SIZE (goldendict-goldendict-1.5.0_GH0.tar.gz) = 20371681

0 comments on commit 585fa0a

Please sign in to comment.