1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/mail/py-turbomail/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
1.1 KiB
Makefile

# 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>