aboutsummaryrefslogtreecommitdiff
path: root/mail/py-turbomail/Makefile
blob: b00d74316179fc9754b3a350598eb9b8587c1b40 (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
38
# New ports collection makefile for:	py-turbomail
# Date created:		2007-01-24
# Whom:			Nicola Vitale <nivit@FreeBSD.org>
#
# $FreeBSD$
#

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>