63fab19d13
release to 3.4.8
+ respect bufsize in prepbuffer
+ widen fp_Create bufsize from uint4 to size_t (ABI break;
SONAME bumped libexttextcat-2.0.so.0 -> libexttextcat-2.0.so.1
via -version-info 1:0:0)
+ fix leak in textcat_Init bailout path
+ avoid forming &dest[-1] in wg_trim (undefined behavior)
+ update README for current UDHR source location (efele.net,
after unicode.org/udhr retired in January 2024)
+ add Telugu, Kabyle, Nenets, Karakalpak, Morisyen, Arpitan,
Sidamo, Quechua (North Bolivian), Inari Saami and Skolt Saami
+ rename ha-NG to ha-Latn-NG to match BCP-47/LibreOffice
release to 3.4.7
+ add Saraiki and Ilocano
32 lines
733 B
Makefile
32 lines
733 B
Makefile
PORTNAME= libexttextcat
|
|
PORTVERSION= 3.4.8
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= https://dev-www.libreoffice.org/src/libexttextcat/
|
|
|
|
MAINTAINER= office@FreeBSD.org
|
|
COMMENT= Language guessing by N-Gram-Based Text Categorization
|
|
WWW= https://wiki.documentfoundation.org/Libexttextcat
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= gmake libtool pathfix tar:xz
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
MAKE_ARGS= EXEEXT=x
|
|
TEST_ARGS= # empty
|
|
TEST_TARGET= check
|
|
TEST_WRKSRC= ${WRKSRC}/src
|
|
USE_LDCONFIG= yes
|
|
|
|
PORTDOCS= README README.libtextcat TODO
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|