mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
a8bec7153e
written in Python. It is designed to be easy to adapt and extend for your application. Stuff you can do with the Reverend: * classify RSS stories * classify recipes by cuisine * who do you write like? Shakespeare, Dickens or Austen * detect the language of a document * is your code more like Guido's or Peter's Author: Amir Bakhtiar <amir@divmod.org> WWW: http://www.divmod.org/trac/wiki/DivmodReverend PR: ports/96531 Submitted by: Nicola Vitale <nivit@email.it>
38 lines
793 B
Makefile
38 lines
793 B
Makefile
# New ports collection makefile for: reverend
|
|
# Date created: 2006-04-29
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= reverend
|
|
PORTVERSION= 0.3
|
|
CATEGORIES= textproc mail math
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= Reverend-${PORTVERSION}
|
|
|
|
MAINTAINER= nivit@email.it
|
|
COMMENT= A simple Bayesian classifier written in Python
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
|
|
.if defined(WITHOUT_EXAMPLES)
|
|
PORTEXAMPLES= "@comment "
|
|
.else
|
|
PORTEXAMPLES= ""
|
|
.endif
|
|
PLIST_SUB= PORTEXAMPLES=${PORTEXAMPLES}
|
|
|
|
post-install:
|
|
.if !defined(WITHOUT_EXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${CP} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|