blob: 42f42dc70829e4151f48d3c64caa8d779e4c08ad (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.14 2005/12/05 20:50:27 rillig Exp $
#
DISTNAME= py152
PKGNAME= python15-1.5.2
PKGREVISION= 4
CATEGORIES= lang python
MASTER_SITES= http://www.python.org/ftp/python/src/
EXTRACT_SUFX= .tgz
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.python.org/
COMMENT= Interpreted, interactive, object-oriented programming language
CONFLICTS+= python-[0-9]*
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --without-thread
INSTALL_TARGET= altinstall
.include "../../mk/bsd.prefs.mk"
PLIST_SRC= ${.CURDIR}/../../lang/python15/PLIST.common
.if exists(${.CURDIR}/../../lang/python15/PLIST.${OPSYS})
PLIST_SRC+= ${.CURDIR}/../../lang/python15/PLIST.${OPSYS}
.endif
PLIST_SRC+= ${.CURDIR}/../../lang/python15/PLIST.common_end
.if ${OPSYS} == "Darwin"
PY_PLATNAME= ${LOWER_OPSYS}
.elif ${OPSYS} == "IRIX"
PY_PLATNAME= ${LOWER_OPSYS:C/\..*//}
.else
PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
.endif
PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME:Q}
post-patch:
${RM} -f ${WRKSRC}/Lib/test/test_fcntl.py.orig
.include "../../mk/bsd.pkg.mk"
|