aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-11-10 02:45:17 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-11-10 02:45:17 +0800
commite5ffc8f0786b138a304dffa20497e8b3a7b0973a (patch)
tree7a8f9a2e5df3c587f393bb91744eb9c0b0199965 /textproc
parent66960983f68fb885cdb59c4394df9dc39212f313 (diff)
downloadfreebsd-ports-gnome-e5ffc8f0786b138a304dffa20497e8b3a7b0973a.tar.gz
freebsd-ports-gnome-e5ffc8f0786b138a304dffa20497e8b3a7b0973a.tar.zst
freebsd-ports-gnome-e5ffc8f0786b138a304dffa20497e8b3a7b0973a.zip
- Add LICENSE_FILE
- Convert to new options target helper - Convert to new test framework - Cosmetic change - Use single space after WWW:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libexttextcat/Makefile14
-rw-r--r--textproc/libexttextcat/pkg-descr2
2 files changed, 8 insertions, 8 deletions
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 <bsd.port.mk>
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/