blob: 34e872d01232ab19d63213ff98d6bdf037abeba2 (
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.8 1999/07/06 07:59:38 jlam 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.2:../../lang/python
DEPENDS+= ncurses-4.2:../../devel/ncurses
WRKSRC= ${WRKDIR}/cursesmodule
ALL_TARGET= default
PYTHON_CONFIGDIR= ${LOCALBASE}/lib/python1.5/config/
.if ${MACHINE_ARCH} == "sparc64"
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"
|