06a08e69f3
Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.
25 lines
650 B
Makefile
25 lines
650 B
Makefile
PORTNAME= reverend
|
|
PORTVERSION= 0.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc mail math python
|
|
MASTER_SITES= SF/${PORTNAME}/Reverend/${PORTVERSION}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= Reverend-${PORTVERSION}
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Simple Bayesian classifier written in Python
|
|
WWW= http://www.divmod.org/trac/wiki/DivmodReverend
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
PORTEXAMPLES= emailtrainer.py readme.txt
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${CP} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|