2004-04-27 06:59:42 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2004/04/27 04:59:42 snj Exp $
|
1998-05-14 23:54:02 +02:00
|
|
|
#
|
|
|
|
|
2002-01-28 10:24:38 +01:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-readline-0
|
2002-03-14 18:58:47 +01:00
|
|
|
CATEGORIES= devel misc
|
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
|
|
|
|
2004-04-27 06:59:42 +02:00
|
|
|
USE_BUILDLINK3= yes
|
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"
|