diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-03-11 16:00:01 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-03-11 16:00:01 +0000 |
commit | 26fa54f08c9d2f501272dc961d6db7ee72d5ad32 (patch) | |
tree | 9d767ef5ebda93d70e33b1bedb20ad80a77dbc2f | |
parent | b831d5d6d683f436ed40f92b6d10f4c6606fc9be (diff) |
Notes
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/libbnr/Makefile | 35 | ||||
-rw-r--r-- | devel/libbnr/distinfo | 2 | ||||
-rw-r--r-- | devel/libbnr/pkg-descr | 15 | ||||
-rw-r--r-- | devel/libbnr/pkg-plist | 9 |
5 files changed, 62 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 3ecbecad94c4..331845553b20 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -404,6 +404,7 @@ SUBDIR += libast SUBDIR += libavl SUBDIR += libbfd + SUBDIR += libbnr SUBDIR += libbonobo SUBDIR += libbonobomm SUBDIR += libcapsinetwork diff --git a/devel/libbnr/Makefile b/devel/libbnr/Makefile new file mode 100644 index 000000000000..55ce44734afa --- /dev/null +++ b/devel/libbnr/Makefile @@ -0,0 +1,35 @@ +# 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> diff --git a/devel/libbnr/distinfo b/devel/libbnr/distinfo new file mode 100644 index 000000000000..3e96a3ddd0b5 --- /dev/null +++ b/devel/libbnr/distinfo @@ -0,0 +1,2 @@ +MD5 (libbnr-2.0.3.tar.gz) = 4bbff2cab5d352c6d3bdbb706037e40e +SIZE (libbnr-2.0.3.tar.gz) = 293199 diff --git a/devel/libbnr/pkg-descr b/devel/libbnr/pkg-descr new file mode 100644 index 000000000000..8d2d03f87148 --- /dev/null +++ b/devel/libbnr/pkg-descr @@ -0,0 +1,15 @@ +Bayesian Noise Reduction is a statistical approach to evaluating coherence by +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. + +BNR is used in Dspam (mail/dspam, mail/dspam-devel - the ports don't depent on +this one) + +See www for white-paper and presentation. + +WWW: http://www.nuclearelephant.com/papers/bnr.html diff --git a/devel/libbnr/pkg-plist b/devel/libbnr/pkg-plist new file mode 100644 index 000000000000..fb88e0ef61b2 --- /dev/null +++ b/devel/libbnr/pkg-plist @@ -0,0 +1,9 @@ +include/libbnr/bnr.h +include/libbnr/hash.h +include/libbnr/list.h +lib/libbnr.a +lib/libbnr.so +lib/libbnr.so.2 +%%EXAMPLESDIR%%/example.c +@dirrm share/examples/libbnr +@dirrm include/libbnr |