From e5ffc8f0786b138a304dffa20497e8b3a7b0973a Mon Sep 17 00:00:00 2001 From: sunpoet Date: Mon, 9 Nov 2015 18:45:17 +0000 Subject: - Add LICENSE_FILE - Convert to new options target helper - Convert to new test framework - Cosmetic change - Use single space after WWW: --- textproc/libexttextcat/Makefile | 14 +++++++------- textproc/libexttextcat/pkg-descr | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'textproc') 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/ -- cgit