1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Add LICENSE_FILE

- Convert to new options target helper
- Convert to new test framework
- Cosmetic change
- Use single space after WWW:
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-11-09 18:45:17 +00:00
parent c3e9964e20
commit 485a6a3c26
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401155
2 changed files with 8 additions and 8 deletions

View File

@ -9,23 +9,23 @@ MAINTAINER= office@FreeBSD.org
COMMENT= Language guessing by N-Gram-Based Text Categorization
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
GNU_CONFIGURE= yes
MAKE_ARGS= EXEEXT=x
TEST_ARGS= # empty
TEST_TARGET= check
TEST_WRKSRC= ${WRKSRC}/src
USE_LDCONFIG= yes
USES= gmake libtool pathfix tar:xz
INSTALL_TARGET= install-strip
MAKE_ARGS= EXEEXT=x
PORTDOCS= README README.libtextcat TODO
OPTIONS_DEFINE= DOCS
post-install:
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
check:
cd ${WRKSRC}/src && make check
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -2,4 +2,4 @@ N-Gram-Based Text Categorization library to guess the language that input text
is written in. Fundamentally an adaption of of wiseguys libtextcat extended to
be UTF-8 aware.
WWW: http://cgit.freedesktop.org/libreoffice/libexttextcat/plain/README
WWW: http://www.freedesktop.org/wiki/Software/libexttextcat/