aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-reverend/Makefile
blob: da0be50f123443db5ac8343d7bf53ccd9cc3b807 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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>