aboutsummaryrefslogblamecommitdiff
path: root/textproc/py-reverend/Makefile
blob: fe8f2b5aa9601d3565575eb4e5a4a39e15acc865 (plain) (tree)
1
2
3
4
5
6
7
8
9

                        
                                         
                                                      


                                       
                                 
                                                            
                                                              
 
                           
                                   
                        

                                                       
                                          

             

                                                            

                      
PORTNAME=	reverend
PORTVERSION=	0.3
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:3.6+
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>