| @@ -1,29 +1,27 @@ | | | @@ -1,29 +1,27 @@ |
1 | # $NetBSD: Makefile,v 1.15 2008/04/12 22:43:08 jlam Exp $ | | 1 | # $NetBSD: Makefile,v 1.16 2008/04/17 12:22:00 joerg Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= email-2.5 | | 4 | DISTNAME= email-2.5 |
5 | PKGNAME= ${PYPKGPREFIX}-mimelib-2.5 | | 5 | PKGNAME= ${PYPKGPREFIX}-mimelib-2.5 |
6 | PKGREVISION= 2 | | 6 | PKGREVISION= 2 |
7 | CATEGORIES= net python | | 7 | CATEGORIES= net python |
8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=/mimelib/} | | 8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=/mimelib/} |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://mimelib.sourceforge.net/ | | 11 | HOMEPAGE= http://mimelib.sourceforge.net/ |
12 | COMMENT= Email package for Python | | 12 | COMMENT= Email package for Python |
13 | | | 13 | |
14 | PYDISTUTILSPKG= yes | | 14 | PYDISTUTILSPKG= yes |
15 | # This pkg (or an older version of it) comes with 2.2 and later; | | 15 | # This pkg (or an older version of it) comes with 2.2 and later; |
16 | # 2.1 is the primary target (particulary for Zope). | | 16 | # 2.1 is the primary target (particulary for Zope). |
17 | PYTHON_VERSIONS_ACCEPTED= 21 22 23 | | 17 | PYTHON_VERSIONS_ACCEPTED= 21 22 23 |
18 | | | 18 | |
19 | .include "../../lang/python/extension.mk" | | 19 | .include "../../lang/python/extension.mk" |
20 | | | 20 | |
21 | # _compat22.py is not byte-compiled if built with 2.1(-) | | 21 | # _compat22.py is not byte-compiled if built with 2.1(-) |
22 | PLIST_VARS+= compat22 | | 22 | PLIST_VARS+= compat22 |
23 | .if !empty(PYPKGPREFIX:Mpy21*) | | 23 | .if ${_PYTHON_VERSION} != "21" |
24 | # nothing | | | |
25 | .else | | | |
26 | PLIST.compat22= yes | | 24 | PLIST.compat22= yes |
27 | .endif | | 25 | .endif |
28 | | | 26 | |
29 | .include "../../mk/bsd.pkg.mk" | | 27 | .include "../../mk/bsd.pkg.mk" |