diff --git a/textproc/libexttextcat/Makefile b/textproc/libexttextcat/Makefile index 5be5263d4ab5..a0246a471365 100644 --- a/textproc/libexttextcat/Makefile +++ b/textproc/libexttextcat/Makefile @@ -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 diff --git a/textproc/libexttextcat/pkg-descr b/textproc/libexttextcat/pkg-descr index bebcbb5ceebb..8b9979044727 100644 --- a/textproc/libexttextcat/pkg-descr +++ b/textproc/libexttextcat/pkg-descr @@ -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/