summaryrefslogtreecommitdiff
path: root/net/py-mimelib/Makefile
blob: 8c2a0c08eb32667669b5799cb85f97bdfa39e75d (plain)
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
# $NetBSD: Makefile,v 1.15 2008/04/12 22:43:08 jlam Exp $
#

DISTNAME=	email-2.5
PKGNAME=	${PYPKGPREFIX}-mimelib-2.5
PKGREVISION=	2
CATEGORIES=	net python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=/mimelib/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://mimelib.sourceforge.net/
COMMENT=	Email package for Python

PYDISTUTILSPKG=	yes
# This pkg (or an older version of it) comes with 2.2 and later;
# 2.1 is the primary target (particulary for Zope).
PYTHON_VERSIONS_ACCEPTED= 21 22 23

.include "../../lang/python/extension.mk"

# _compat22.py is not byte-compiled if built with 2.1(-)
PLIST_VARS+=	compat22
.if !empty(PYPKGPREFIX:Mpy21*)
# nothing
.else
PLIST.compat22=	yes
.endif

.include "../../mk/bsd.pkg.mk"