mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
35 lines
753 B
Makefile
35 lines
753 B
Makefile
# Created by: Nicola Vitale <nivit@email.it>
|
|
# $FreeBSD$
|
|
|
|
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= A simple Bayesian classifier written in Python
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_PKGNAME= Reverend
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
|
|
.if defined(WITHOUT_EXAMPLES)
|
|
PORTEXAMPLES= "@comment "
|
|
.else
|
|
PORTEXAMPLES= ""
|
|
.endif
|
|
PLIST_SUB= PORTEXAMPLES=${PORTEXAMPLES}
|
|
|
|
NO_STAGE= yes
|
|
post-install:
|
|
.if !defined(WITHOUT_EXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${CP} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|