1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/textproc/py-reverend/Makefile
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

39 lines
826 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@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}
post-install:
.if !defined(WITHOUT_EXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${CP} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>