2001-12-20 20:32:27 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2001/12/20 19:32:27 tron Exp $
|
1998-05-14 23:54:02 +02:00
|
|
|
#
|
|
|
|
|
2000-10-22 22:01:48 +02:00
|
|
|
DISTNAME= ${PY_DISTNAME}
|
|
|
|
PKGNAME= py-readline-${PY_VERSION}
|
|
|
|
WRKSRC= ${PY_WRKSRC}
|
1998-05-14 23:54:02 +02:00
|
|
|
CATEGORIES= misc
|
2000-10-22 22:01:48 +02:00
|
|
|
MASTER_SITES= ${PY_MASTER_SITES}
|
1998-05-14 23:54:02 +02:00
|
|
|
|
1999-04-14 07:47:45 +02:00
|
|
|
MAINTAINER= tsarna@netbsd.org
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://www.python.org/doc/tut/interacting.html
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= line editing support for Python
|
1998-05-14 23:54:02 +02:00
|
|
|
|
2000-10-22 22:01:48 +02:00
|
|
|
EXTRACT_ELEMENTS= ${PY_MODULES}/readline.c
|
1998-05-14 23:54:02 +02:00
|
|
|
|
2001-05-30 07:02:51 +02:00
|
|
|
USE_GNU_READLINE= # defined
|
|
|
|
|
|
|
|
.include "../../devel/readline/buildlink.mk"
|
|
|
|
|
2001-12-20 20:32:27 +01:00
|
|
|
PY_SETUP_SUBST+= BUILDLINK_CPPFLAGS=${_BUILDLINK_CPPFLAGS}
|
|
|
|
PY_SETUP_SUBST+= BUILDLINK_LDFLAGS=${_BUILDLINK_LDFLAGS}
|
2001-05-30 07:02:51 +02:00
|
|
|
|
2000-10-22 22:01:48 +02:00
|
|
|
do-configure: python-std-do-configure
|
1998-05-14 23:54:02 +02:00
|
|
|
|
|
|
|
do-install:
|
2000-10-22 22:01:48 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/readline.so ${PY_LIBDIR}/lib-dynload
|
1998-05-14 23:54:02 +02:00
|
|
|
|
2000-10-22 22:01:48 +02:00
|
|
|
.include "../../lang/python/Makefile.inc"
|
1998-05-14 23:54:02 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|