2010-09-17 08:22:57 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2010/09/17 06:22:57 obache Exp $
|
1998-05-14 23:54:02 +02:00
|
|
|
#
|
|
|
|
|
2002-01-28 10:24:38 +01:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-readline-0
|
2009-05-20 02:58:05 +02:00
|
|
|
PKGREVISION= 4
|
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
|
2006-10-04 23:35:58 +02:00
|
|
|
HOMEPAGE= http://www.python.org/doc/current/tut/node15.html
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Line editing support for Python
|
1998-05-14 23:54:02 +02:00
|
|
|
|
2006-11-05 18:49:33 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
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
|
|
|
|
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)
|
|
|
|
|
2008-07-14 16:43:45 +02:00
|
|
|
BUILDLINK_API_DEPENDS.python24+= python24>=2.4.5nb1
|
|
|
|
BUILDLINK_API_DEPENDS.python25+= python25>=2.5.2nb2
|
|
|
|
|
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"
|