# New ports collection makefile for:	py-turbomail
# Date created:		2007-01-24
# Whom:			Nicola Vitale <nivit@FreeBSD.org>
#
# $FreeBSD: ports/mail/py-turbomail/Makefile,v 1.2 2007/07/30 09:41:38 alexbl Exp $
#

PORTNAME=	turbomail
PORTVERSION=	2.0.3
CATEGORIES=	mail www
MASTER_SITES=	http://cheeseshop.python.org/packages/source/T/TurboMail/ \
		http://nivi.interfree.it/distfiles/${PORTNAME}/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	TurboMail-${PORTVERSION}

MAINTAINER=	python@FreeBSD.org
COMMENT=	Multi-threaded mail queue manager for TurboGears applications

BUILD_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \
		tg-admin:${PORTSDIR}/www/py-turbogears
RUN_DEPENDS=	${BUILD_DEPENDS}

PLIST_FILES=	${PYTHON_SITELIBDIR:S|${PREFIX}/||}/${PYTURBOMAIL_EGG}

SUB_FILES=	pkg-deinstall pkg-install
SUB_LIST=	PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
		EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
		EGG_VER="${PORTNAME}==${PORTVERSION}"

USE_PYTHON=	2.4+
USE_PYDISTUTILS=	yes
PYDISTUTILS_PKGNAME=	TurboMail
PYDISTUTILS_NOEGGINFO=	yes # XXX convert easy_install support to bsd.python.mk's

EASY_INSTALL_CMD?=	easy_install-${PYTHON_VER}
PYTURBOMAIL_EGG=	TurboMail-${PORTVERSION}-py${PYTHON_VER}.egg

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1