textproc/hunspell: Use upstream release tarball

- Cosmetic change
This commit is contained in:
Po-Chuan Hsieh 2023-01-30 20:42:48 +08:00
parent 38aeaf5de5
commit 1310c366b7
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 17 additions and 14 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= hunspell
PORTVERSION= 1.7.2
DISTVERSIONPREFIX= v
MASTER_SITES= https://github.com/hunspell/hunspell/releases/download/v${PORTVERSION}/
CATEGORIES= textproc
DIST_SUBDIR= ${PORTNAME}
@ -14,20 +14,23 @@ LICENSE_FILE_GPLv2+ = ${_LICENSE_STORE}/GPLv2
LICENSE_FILE_LGPL21+ = ${_LICENSE_STORE}/LGPL21
LICENSE_FILE_MPL11= ${WRKSRC}/COPYING.MPL
CONFLICTS_INSTALL= tinker
USES= compiler:c++11-lang cpe gettext-tools iconv libtool:keepla ncurses pathfix perl5 readline shebangfix
USE_PERL5= run
CONFIGURE_ARGS= --disable-nls ${ICONV_CONFIGURE_ARG} --with-readline --with-ui
GNU_CONFIGURE= yes
USES= autoreconf compiler:c++11-lib cpe gettext-tools libtool:keepla \
pathfix iconv ncurses readline shebangfix perl5
CPE_VENDOR= ${PORTNAME}_project
USE_GITHUB= yes
SHEBANG_FILES= src/tools/ispellaff2myspell
USE_LDCONFIG= yes
USE_PERL5= run
INSTALL_TARGET= install-strip
PLIST_SUB= SHLIB_VER=${PORTVERSION:R}
# bin/analyze
CONFLICTS_INSTALL= tinker
CPE_VENDOR= hunspell_project
SHEBANG_FILES= src/tools/ispellaff2myspell
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/tools/hunspell.cxx

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1674107927
SHA256 (hunspell/hunspell-hunspell-v1.7.2_GH0.tar.gz) = 69fa312d3586c988789266eaf7ffc9861d9f6396c31fc930a014d551b59bbd6e
SIZE (hunspell/hunspell-hunspell-v1.7.2_GH0.tar.gz) = 981394
TIMESTAMP = 1674590670
SHA256 (hunspell/hunspell-1.7.2.tar.gz) = 11ddfa39afe28c28539fe65fc4f1592d410c1e9b6dd7d8a91ca25d85e9ec65b8
SIZE (hunspell/hunspell-1.7.2.tar.gz) = 1536202

View File

@ -1,8 +1,8 @@
--- src/tools/hunspell.cxx.orig 2017-03-25 21:20:45 UTC
--- src/tools/hunspell.cxx.orig 2022-12-25 23:48:44 UTC
+++ src/tools/hunspell.cxx
@@ -115,29 +115,23 @@
#include "xmlparser.hxx"
#include "odfparser.hxx"
#include "../parsers/xmlparser.hxx"
#include "../parsers/odfparser.hxx"
-#define LIBDIR \
- "/usr/share/hunspell:" \