fff89bf32c
it there to prevent double download.
37 lines
1,013 B
Makefile
37 lines
1,013 B
Makefile
# $NetBSD: Makefile,v 1.3 1998/09/06 22:01:08 frueauf Exp $
|
|
#
|
|
|
|
DISTNAME= pyth151
|
|
PKGNAME= py-readline-1.5.1
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ftp://ftp.python.org/pub/python/src/
|
|
EXTRACT_SUFX= .tgz
|
|
DIST_SUBDIR= python
|
|
|
|
MAINTAINER= dolecek@ics.muni.cz
|
|
HOMEPAGE= http://www.python.org/doc/tut/interacting.html
|
|
|
|
DEPENDS+= python-1.5.1:../../lang/python
|
|
DEPENDS+= readline-2.2:../../devel/readline
|
|
|
|
WRKSRC= ${WRKDIR}/Python-1.5.1/Modules
|
|
ALL_TARGET= default
|
|
EXTRACT_AFTER_ARGS= Python-1.5.1/Modules/readline.c
|
|
|
|
PYTHON_CONFIGDIR= ${LOCALBASE}/lib/python1.5/config
|
|
|
|
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "alpha"
|
|
IGNORE="Needs dynamic loading"
|
|
.endif
|
|
|
|
do-configure:
|
|
${SED} 's%@LOCALBASE@%${LOCALBASE}%g' ${FILESDIR}/Setup.in \
|
|
>${WRKSRC}/Setup.in
|
|
(cd ${WRKSRC}; \
|
|
${LN} -s ${PYTHON_CONFIGDIR}/Makefile.pre.in; \
|
|
${MAKE} -f Makefile.pre.in boot)
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/readline.so ${LOCALBASE}/lib/python1.5/lib-dynload
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|