| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.23 2013/04/12 09:03:41 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.24 2013/04/13 12:55:53 obache Exp $ |
2 | | | 2 | |
3 | .include "dist.mk" | | 3 | .include "dist.mk" |
4 | | | 4 | |
5 | PKGNAME= python27-${PY_DISTVERSION} | | 5 | PKGNAME= python27-${PY_DISTVERSION} |
6 | CATEGORIES= lang python | | 6 | CATEGORIES= lang python |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://www.python.org/ | | 9 | HOMEPAGE= http://www.python.org/ |
10 | COMMENT= Interpreted, interactive, object-oriented programming language | | 10 | COMMENT= Interpreted, interactive, object-oriented programming language |
11 | LICENSE= python-software-foundation | | 11 | LICENSE= python-software-foundation |
12 | | | 12 | |
13 | CONFLICTS+= python-[0-9]* | | 13 | CONFLICTS+= python-[0-9]* |
14 | | | 14 | |
| @@ -50,27 +50,27 @@ PLIST_SRC= ${.CURDIR}/../../lang/python2 | | | @@ -50,27 +50,27 @@ PLIST_SRC= ${.CURDIR}/../../lang/python2 |
50 | .if exists(${.CURDIR}/../../lang/python27/PLIST.${OPSYS}) | | 50 | .if exists(${.CURDIR}/../../lang/python27/PLIST.${OPSYS}) |
51 | PLIST_SRC+= ${.CURDIR}/../../lang/python27/PLIST.${OPSYS} | | 51 | PLIST_SRC+= ${.CURDIR}/../../lang/python27/PLIST.${OPSYS} |
52 | .endif | | 52 | .endif |
53 | PLIST_SRC+= ${.CURDIR}/../../lang/python27/PLIST.common_end | | 53 | PLIST_SRC+= ${.CURDIR}/../../lang/python27/PLIST.common_end |
54 | | | 54 | |
55 | .if ${OPSYS} == "NetBSD" | | 55 | .if ${OPSYS} == "NetBSD" |
56 | . if !defined(USE_DESTDIR) || empty(USE_DESTDIR:M[Yy][Ee][Ss]) | | 56 | . if !defined(USE_DESTDIR) || empty(USE_DESTDIR:M[Yy][Ee][Ss]) |
57 | PRIVILEGED_STAGES+= clean | | 57 | PRIVILEGED_STAGES+= clean |
58 | . endif | | 58 | . endif |
59 | # XXX work around a botched autoconf check which ignores libintl | | 59 | # XXX work around a botched autoconf check which ignores libintl |
60 | CONFIGURE_ENV+= ac_cv_func_bind_textdomain_codeset=yes | | 60 | CONFIGURE_ENV+= ac_cv_func_bind_textdomain_codeset=yes |
61 | .endif | | 61 | .endif |
62 | | | 62 | |
63 | .if ${OPSYS} == "Darwin" || ${OPSYS} == "Interix" | | 63 | .if ${OPSYS} == "Cygwin" || ${OPSYS} == "Darwin" || ${OPSYS} == "Interix" |
64 | PY_PLATNAME= ${LOWER_OPSYS} | | 64 | PY_PLATNAME= ${LOWER_OPSYS} |
65 | USE_TOOLS+= gmake | | 65 | USE_TOOLS+= gmake |
66 | .elif ${OPSYS} == "IRIX" | | 66 | .elif ${OPSYS} == "IRIX" |
67 | PY_PLATNAME= ${LOWER_OPSYS:C/\..*//} | | 67 | PY_PLATNAME= ${LOWER_OPSYS:C/\..*//} |
68 | .elif ${OPSYS} == "SunOS" | | 68 | .elif ${OPSYS} == "SunOS" |
69 | PY_PLATNAME= sunos${OS_VERSION:C/\..*//} | | 69 | PY_PLATNAME= sunos${OS_VERSION:C/\..*//} |
70 | .elif ${OPSYS} == "HPUX" | | 70 | .elif ${OPSYS} == "HPUX" |
71 | PY_PLATNAME= hp-ux11 | | 71 | PY_PLATNAME= hp-ux11 |
72 | .elif ${OPSYS} == "Linux" | | 72 | .elif ${OPSYS} == "Linux" |
73 | PY_PLATNAME= linux2 | | 73 | PY_PLATNAME= linux2 |
74 | .else | | 74 | .else |
75 | PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//} | | 75 | PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//} |
76 | .endif | | 76 | .endif |