mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
26fa54f08c
instantiating a series of machine-generated contexts to serve as a means of contrast. This makes it possible to identify text that is out of context using a form of pattern consistency checking. BNR attempts to solve the problem commonly referred to as "Bayesian Noise" which, in its simplest definition, refers to irrelevant data present in a message being classified. Bayesian Noise Reduction dubs irrelevant text in order to provide cleaner classification and is implemented as a pre-filter to existing language classification functions. PR: ports/78159 Submitted by: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
36 lines
833 B
Makefile
36 lines
833 B
Makefile
# New ports collection makefile for: libbnr
|
|
# Date created: 2005-02-27
|
|
# Whom: Ion-Mihai "IOnut" Tetcu<itetcu@people.tecnik93.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libbnr
|
|
PORTVERSION= 2.0.3
|
|
CATEGORIES= devel mail
|
|
MASTER_SITES= http://dspam.nuclearelephant.com/sources/extras/ \
|
|
http://people.tecnik93.com/~itetcu/FreeBSD/ports/libbnr/sources/
|
|
|
|
MAINTAINER= itetcu@people.tecnik93.com
|
|
COMMENT= GPL implementation of the Bayesian Noise Reduction algorithm
|
|
|
|
USE_LIBTOOL_VER=15
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/${PORTNAME}
|
|
|
|
.ifdef(WITH_DEBUG)
|
|
CFLAGS+= -g -DDEBUG
|
|
.endif
|
|
|
|
PORTDOCS= README
|
|
|
|
post-install:
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/example.c ${EXAMPLESDIR}
|
|
.ifndef(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|