blob: 932d201bfeb8fe39abb614ae51736eca4e83473b (
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
|
# $NetBSD: Makefile,v 1.1 1998/08/12 01:46:38 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
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"
|