blob: 35872de6e8b24710f194d4d8a28529bea037cd20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.1 2002/03/14 17:58:49 wiz Exp $
#
PKGNAME= ${PYPKGPREFIX}-readline-0
CATEGORIES= devel misc
MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://www.python.org/doc/tut/interacting.html
COMMENT= line editing support for Python
EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/readline.c
USE_GNU_READLINE= # defined
.include "../../devel/readline/buildlink.mk"
PYDISTUTILSPKG= yes
PYBINMODULE= yes
PY_PATCHPLIST= yes
PY_SETUP_SUBST+= RLPREFIX=${BUILDLINK_DIR}
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)
.include "../../lang/python/srcdist.mk"
.include "../../lang/python/extension.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|