1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

textproc/ucto: Use upstream release archive and minor fixes

PR:		272177
This commit is contained in:
Daniel Engberg 2023-06-24 17:27:10 -07:00 committed by Yuri Victorovich
parent 3666083622
commit 0643bb9cce
2 changed files with 14 additions and 13 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= ucto
DISTVERSIONPREFIX= v
DISTVERSION= 0.29
CATEGORIES= textproc
MASTER_SITES= https://github.com/LanguageMachines/${PORTNAME}/releases/download/v${DISTVERSION}/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Advanced rule-based (regular-expression) and unicode-aware tokenizer
@ -10,26 +10,27 @@ WWW= https://languagemachines.github.io/ucto/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= autoconf-archive>0:devel/autoconf-archive \
uctodata>0:textproc/uctodata
BUILD_DEPENDS= uctodata>0:textproc/uctodata
LIB_DEPENDS= libexttextcat-2.0.so:textproc/libexttextcat \
libfolia.so:textproc/libfolia \
libicuio.so:devel/icu \
libticcutils.so:devel/ticcutils
RUN_DEPENDS= uctodata>0:textproc/uctodata
USES= autoreconf compiler:c++11-lang gmake gnome libedit libtool \
pkgconfig readline
USES= compiler:c++11-lang gmake gnome libedit libtool \
pathfix pkgconfig readline
USE_GNOME= libxml2
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= LanguageMachines
GNU_CONFIGURE= yes
TEST_TARGET= check
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --disable-static
INSTALL_TARGET= install-strip
TEST_TARGET= check
post-patch:
@${REINPLACE_CMD} -e 's|-g -O3||g' \
${PATCH_WRKSRC}/src/Makefile.in
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1685380228
SHA256 (LanguageMachines-ucto-v0.29_GH0.tar.gz) = 1a125ba028f08335fb22c3314431d7407168fda808d2f3957fead8eba5295683
SIZE (LanguageMachines-ucto-v0.29_GH0.tar.gz) = 412857
TIMESTAMP = 1687518755
SHA256 (ucto-0.29.tar.gz) = 82f07c72d4494dde9094964acb0bdd94d1f765834d405e3c4861a74c66c02ff0
SIZE (ucto-0.29.tar.gz) = 501604