summaryrefslogtreecommitdiff
path: root/misc/py-readline/Makefile
blob: d84652166415b5dd9e7375640e2cec675b886aff (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
# $NetBSD: Makefile,v 1.17 2001/06/11 02:05:12 jlam Exp $
#

DISTNAME=	${PY_DISTNAME}
PKGNAME=	py-readline-${PY_VERSION}
WRKSRC=		${PY_WRKSRC}
CATEGORIES=	misc
MASTER_SITES=	${PY_MASTER_SITES}

MAINTAINER=	tsarna@netbsd.org
HOMEPAGE=	http://www.python.org/doc/tut/interacting.html
COMMENT=	line editing support for Python

EXTRACT_ELEMENTS=	${PY_MODULES}/readline.c

USE_GNU_READLINE=	# defined

.include "../../devel/readline/buildlink.mk"

PY_SETUP_SUBST+=	BUILDLINK_CPPFLAGS=${BUILDLINK_CPPFLAGS}
PY_SETUP_SUBST+=	BUILDLINK_LDFLAGS=${BUILDLINK_LDFLAGS}

do-configure:	python-std-do-configure

do-install:
	${INSTALL_DATA} ${WRKSRC}/readline.so ${PY_LIBDIR}/lib-dynload

.include "../../lang/python/Makefile.inc"
.include "../../mk/bsd.pkg.mk"