These patches add support for utf8 and seem to improve language detection accuracy, especially for non-latin scripts.
31 lines
841 B
Makefile
31 lines
841 B
Makefile
# $NetBSD: Makefile,v 1.6 2011/02/17 13:19:17 ftigeot Exp $
|
|
#
|
|
|
|
DISTNAME= libtextcat-2.2
|
|
PKGREVISION= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://software.wise-guys.nl/download/
|
|
|
|
MAINTAINER= kamelderouiche@yahoo.com
|
|
HOMEPAGE= http://software.wise-guys.nl/libtextcat/
|
|
COMMENT= Libtextcat library the Cavnar & Trenkle
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
|
|
INCLUDEDIR= ${PREFIX}/include/libtextcat
|
|
SHAREDIR= ${PREFIX}/share/libtextcat
|
|
|
|
HEADERS= textcat.h common.h constants.h fingerprint.h utf8misc.h
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${INCLUDEDIR}
|
|
.for header in ${HEADERS}
|
|
${INSTALL_DATA} ${WRKSRC}/src/${header} ${DESTDIR}${INCLUDEDIR}
|
|
.endfor
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${SHAREDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/libtextcat
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|