2005-04-11 23:44:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2005/04/11 21:45:37 tv Exp $
|
1998-05-14 23:54:02 +02:00
|
|
|
#
|
|
|
|
|
2002-01-28 10:24:38 +01:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-readline-0
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 1
|
2004-07-22 11:15:59 +02:00
|
|
|
CATEGORIES= devel misc python
|
1998-05-14 23:54:02 +02:00
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= tsarna@NetBSD.org
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://www.python.org/doc/tut/interacting.html
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Line editing support for Python
|
1998-05-14 23:54:02 +02:00
|
|
|
|
2002-01-28 10:24:38 +01:00
|
|
|
EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/readline.c
|
1998-05-14 23:54:02 +02:00
|
|
|
|
2001-05-30 07:02:51 +02:00
|
|
|
USE_GNU_READLINE= # defined
|
|
|
|
|
2002-01-28 10:24:38 +01:00
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
PYBINMODULE= yes
|
|
|
|
PY_PATCHPLIST= yes
|
2004-02-05 04:42:32 +01:00
|
|
|
PY_SETUP_SUBST+= RLPREFIX=${BUILDLINK_PREFIX.readline}
|
2002-01-28 10:24:38 +01:00
|
|
|
PY_SETUP_SUBST+= RLRTPREFIX=${BUILDLINK_PREFIX.readline}
|
|
|
|
|
|
|
|
# ignore errors due to missing files (EXTRACT_ELEMENTS!)
|
|
|
|
do-patch:
|
|
|
|
(cd ${WRKSRC}; \
|
|
|
|
for f in ${PATCHDIR}/patch-*;do \
|
|
|
|
${PATCH} --batch <$$f || true; \
|
|
|
|
done)
|
|
|
|
|
2004-04-27 06:59:42 +02:00
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
2002-09-22 01:46:45 +02:00
|
|
|
.include "../../lang/python/extension.mk"
|
2002-12-10 16:08:19 +01:00
|
|
|
.include "../../lang/python/srcdist.mk"
|
1998-05-14 23:54:02 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|