Annotation of pkgsrc/lang/python/Makefile, revision 1.2

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

CVSweb <webmaster@jp.NetBSD.org>