- Switch to options helpers

- Switch to new test framework
- Update WWW

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2018-02-22 09:02:58 +00:00
parent 61249dbf36
commit f3dc71fd8b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462573
2 changed files with 5 additions and 3 deletions

View File

@ -28,10 +28,12 @@ post-install:
(cd ${WRKSRC}/langclass/LM && \
${FIND} . -name "*.lm" -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/LM/{}" \;)
${INSTALL_DATA} ${WRKSRC}/langclass/conf.txt "${STAGEDIR}${DATADIR}"
${MKDIR} ${STAGEDIR}${DOCSDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
regression-test:
do-test:
(cd ${WRKSRC}/langclass/ && \
for t in `${LS} ShortTexts/*.txt` ; do \
${ECHO_MSG} "Analyzing $$t..." ; \

View File

@ -14,4 +14,4 @@ metric.
[1] The document that started it all: William B. Cavnar & John M. Trenkle (1994)
N-Gram-Based Text Categorization, <http://citeseer.ist.psu.edu/68861.html>.
WWW: http://software.wise-guys.nl/libtextcat/
WWW: https://software.wise-guys.nl/libtextcat/