1999-01-17 01:23:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 1999/01/17 00:23:40 frueauf Exp $
|
1998-02-01 02:48:50 +01:00
|
|
|
#
|
|
|
|
|
1998-05-04 21:29:17 +02:00
|
|
|
DISTNAME= pyth151
|
|
|
|
PKGNAME= python-1.5.1
|
1999-01-17 01:23:40 +01:00
|
|
|
WRKSRC= ${WRKDIR}/Python-1.5.1
|
1998-02-01 02:48:50 +01:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ftp://ftp.python.org/pub/python/src/
|
1998-05-04 21:29:17 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
1998-09-03 00:32:23 +02:00
|
|
|
DIST_SUBDIR= python
|
1998-02-01 02:48:50 +01:00
|
|
|
|
1998-07-11 22:33:12 +02:00
|
|
|
PATCH_SITES= http://www.python.org/1.5/patches-1.5.1/
|
|
|
|
PATCHFILES= freeze.1.txt _tkinter.1.txt configure.1.txt \
|
|
|
|
object.1.txt parsermodule.1.txt zlibmodule.1.txt \
|
|
|
|
string.1.txt bltinmodule.1.txt timemodule.1.txt \
|
|
|
|
fileobject.1.txt urllib.1.txt pcre.1.txt \
|
|
|
|
configure.2.txt imaplib.1.txt urllib.2.txt \
|
|
|
|
sgmllib.1.txt bltinmodule.2.txt ceval.1.txt gzip.1.txt \
|
|
|
|
imaplib.2.txt import.1.txt imaplib.3.txt \
|
1998-09-20 22:28:11 +02:00
|
|
|
stringobject.1.txt sgmllib.2.txt classobject.1.txt \
|
|
|
|
SocketServer.1.txt bltinmodule.3.txt longobject.1.txt \
|
|
|
|
stropmodule.1.txt
|
1998-02-01 02:48:50 +01:00
|
|
|
|
1998-07-11 22:44:52 +02:00
|
|
|
MAINTAINER= tsarna@netbsd.org
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://www.python.org/
|
1998-07-11 22:44:52 +02:00
|
|
|
|
1998-02-01 02:48:50 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAKE_FLAGS+= 'OPT=${CFLAGS}'
|
|
|
|
|
|
|
|
# Handle the module setup file:
|
1998-12-16 23:44:07 +01:00
|
|
|
# - disable a few broken modules on 64 bit platforms (nothing important)
|
1998-02-01 02:48:50 +01:00
|
|
|
# - handle machines with no dynamic loader
|
|
|
|
|
1998-09-20 22:28:11 +02:00
|
|
|
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
|
1998-02-01 02:48:50 +01:00
|
|
|
NO64BIT=\#
|
|
|
|
.endif
|
1999-01-17 01:23:40 +01:00
|
|
|
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "vax"
|
1998-02-01 02:48:50 +01:00
|
|
|
NOSHARED=\#
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
${SED} -e 's/@NO64BIT@/${NO64BIT}/' -e 's/@NOSHARED@/${NOSHARED}/' \
|
|
|
|
${FILESDIR}/Setup >${WRKSRC}/Modules/Setup
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
strip ${PREFIX}/bin/python
|
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|