summaryrefslogtreecommitdiff
path: root/devel/py-curses/Makefile
blob: 7bed6e619728854d1af40a7049bed757906d892f (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
33
34
# $NetBSD: Makefile,v 1.2 1998/08/20 15:16:50 tsarna Exp $
#

DISTNAME=	cursesmodule-1.5b1
PKGNAME=	py-curses-1.5b1
CATEGORIES=	devel
MASTER_SITES=	ftp://starship.skyport.net/pub/crew/andrich/Unsupported/

MAINTAINER=	tsarna@netbsd.org
HOMEPAGE=	http://starship.skyport.net/crew/amk/howto/curses/curses.html

DEPENDS+=	python-1.5.1:../../lang/python
DEPENDS+=       ncurses-1.9.9g:../../devel/ncurses                      

WRKSRC=		${WRKDIR}/cursesmodule
ALL_TARGET=	default

PYTHON_CONFIGDIR=	${LOCALBASE}/lib/python1.5/config/

.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "alpha"
IGNORE="Needs dynamic loading"
.endif

do-configure:
	${SED} -e 's%@LOCALBASE@%${LOCALBASE}%g' \
	 ${FILESDIR}/Setup.in \
	 >${WRKSRC}/Setup.in
	( cd ${WRKSRC} ;\
	  ${MAKE} -f Makefile.pre.in boot)

do-install:
	${INSTALL_DATA} ${WRKSRC}/cursesmodule.so ${LOCALBASE}/lib/python1.5/lib-dynload

.include "../../mk/bsd.pkg.mk"