# New ports collection makefile for:    py-mimelib
# Date created:         31 July 2003
# Whom:                 Gerhard Schmidt <estartu@augusta.de>
#
# $FreeBSD: ports/mail/py-email/Makefile,v 1.4 2005/12/01 00:45:18 mnag Exp $
#

PORTNAME=	email
PORTVERSION=	3.0
CATEGORIES=	mail python
MASTER_SITES=	http://www.python.org/ftp/python/contrib/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	email-${PORTVERSION}

MAINTAINER=	mnag@FreeBSD.org
COMMENT=	Email package for Python 2.3 or upper

DIST_SUBDIR=	python
USE_PYTHON=	yes
USE_PYDISTUTILS=yes

CONFLICTS=	py*-mimelib-2.* py*-email-2.*

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} >= 240
IGNORE=		Python 2.4 or upper don't need this port
.else
.if ${PYTHON_REL} < 230
IGNORE=		For your Python version use ${PORTSDIR}/mail/${PORTNAME}2
.endif
.endif

.include <bsd.port.post.mk>
