version 1.6, 2011/09/16 08:50:44 |
version 1.22, 2013/02/08 12:23:24 |
|
|
.include "dist.mk" |
.include "dist.mk" |
|
|
PKGNAME= python27-${PY_DISTVERSION} |
PKGNAME= python27-${PY_DISTVERSION} |
|
PKGREVISION= 3 |
CATEGORIES= lang python |
CATEGORIES= lang python |
|
|
MAINTAINER= pkgsrc-users@NetBSD.org |
MAINTAINER= pkgsrc-users@NetBSD.org |
Line 10 HOMEPAGE= http://www.python.org/ |
|
Line 11 HOMEPAGE= http://www.python.org/ |
|
COMMENT= Interpreted, interactive, object-oriented programming language |
COMMENT= Interpreted, interactive, object-oriented programming language |
LICENSE= python-software-foundation |
LICENSE= python-software-foundation |
|
|
PKG_DESTDIR_SUPPORT= user-destdir |
|
|
|
CONFLICTS+= python-[0-9]* |
CONFLICTS+= python-[0-9]* |
|
|
GNU_CONFIGURE= yes |
GNU_CONFIGURE= yes |
Line 55 PLIST_SRC+= ${.CURDIR}/../../lang/python |
|
Line 54 PLIST_SRC+= ${.CURDIR}/../../lang/python |
|
PLIST_SRC+= ${.CURDIR}/../../lang/python27/PLIST.common_end |
PLIST_SRC+= ${.CURDIR}/../../lang/python27/PLIST.common_end |
|
|
.if ${OPSYS} == "NetBSD" |
.if ${OPSYS} == "NetBSD" |
|
.if !defined(USE_DESTDIR) || empty(USE_DESTDIR:M[Yy][Ee][Ss]) |
PRIVILEGED_STAGES+= clean |
PRIVILEGED_STAGES+= clean |
|
.endif |
# XXX work around a botched autoconf check which ignores libintl |
# XXX work around a botched autoconf check which ignores libintl |
CONFIGURE_ENV+= ac_cv_func_bind_textdomain_codeset=yes |
CONFIGURE_ENV+= ac_cv_func_bind_textdomain_codeset=yes |
.endif |
.endif |
Line 69 PY_PLATNAME= ${LOWER_OPSYS:C/\..*//} |
|
Line 70 PY_PLATNAME= ${LOWER_OPSYS:C/\..*//} |
|
PY_PLATNAME= sunos${OS_VERSION:C/\..*//} |
PY_PLATNAME= sunos${OS_VERSION:C/\..*//} |
.elif ${OPSYS} == "HPUX" |
.elif ${OPSYS} == "HPUX" |
PY_PLATNAME= hp-ux11 |
PY_PLATNAME= hp-ux11 |
|
.elif ${OPSYS} == "Linux" |
|
PY_PLATNAME= linux2 |
.else |
.else |
PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//} |
PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//} |
.endif |
.endif |
|
|
|
|
# builds additional modules if OpenSSL < 0.9.8 |
# builds additional modules if OpenSSL < 0.9.8 |
PLIST_VARS+= openssl097 |
PLIST_VARS+= openssl097 |
CHECK_BUILTIN.openssl:= no |
|
.include "../../security/openssl/builtin.mk" |
|
CHECK_BUILTIN.openssl:= yes |
CHECK_BUILTIN.openssl:= yes |
|
.include "../../security/openssl/builtin.mk" |
|
CHECK_BUILTIN.openssl:= no |
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) && \ |
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) && \ |
!empty(BUILTIN_PKG.openssl:Mopenssl-0.9.[67]*) |
!empty(BUILTIN_PKG.openssl:Mopenssl-0.9.[67]*) |
PLIST.openssl097= yes |
PLIST.openssl097= yes |
|
|
. endif |
. endif |
.else |
.else |
PLIST.dll= yes |
PLIST.dll= yes |
. if ${OPSYS} != "NetBSD" || exists(/usr/bin/ypcat) |
. if ${OPSYS} == "MirBSD" |
|
# neither nis nor no-nis |
|
. elif ${OPSYS} != "NetBSD" || exists(/usr/bin/ypcat) |
PLIST.nis= yes |
PLIST.nis= yes |
. else |
. else |
PLIST.no-nis= yes |
PLIST.no-nis= yes |