Annotation of pkgsrc/lang/python/Makefile, revision 1.3
1.3 ! agc 1: # $NetBSD: Makefile,v 1.2 1998/02/01 01:54:43 tron Exp $
1.1 tron 2: #
3:
4: DISTNAME= python1.5
5: PKGNAME= python-1.5
6: CATEGORIES= lang
7: MASTER_SITES= ftp://ftp.python.org/pub/python/src/
8:
9: MAINTAINER= tsarna@endicor.com
10:
11: WRKSRC= ${WRKDIR}/Python-1.5
12: GNU_CONFIGURE= yes
13: MAKE_FLAGS+= 'OPT=${CFLAGS}'
14: MAN1= python.1
15:
16: # Handle the module setup file:
17: # - disable some modules on 64 bit platforms
18: # - handle machines with no dynamic loader
19:
20: .if ${MACHINE_ARCH} == "alpha"
21: NO64BIT=\#
22: .endif
23: .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "alpha"
24: NOSHARED=\#
25: .endif
26:
27: post-configure:
28: ${SED} -e 's/@NO64BIT@/${NO64BIT}/' -e 's/@NOSHARED@/${NOSHARED}/' \
29: ${FILESDIR}/Setup >${WRKSRC}/Modules/Setup
30:
31: post-install:
32: strip ${PREFIX}/bin/python
33:
1.3 ! agc 34: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>