1998-09-22 08:11:35 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 1998/09/22 06:11:36 garbled Exp $
|
1997-10-27 05:28:54 +01:00
|
|
|
|
1997-11-26 15:50:45 +01:00
|
|
|
DISTNAME= ncurses-1.9.9g
|
1997-10-27 05:28:54 +01:00
|
|
|
CATEGORIES= devel
|
1997-10-28 12:35:46 +01:00
|
|
|
# XXX this should be moved to ftp.netcom.com:/pub/zm/zmbenhal/ncurses/
|
1997-10-28 01:12:41 +01:00
|
|
|
# XXX once upgraded to the latest version - hubertf
|
1997-10-28 12:35:46 +01:00
|
|
|
MASTER_SITES= ftp://ftp.fu-berlin.de/unix/gnu/ncurses/
|
|
|
|
|
|
|
|
MAINTAINER= hubertf@netbsd.org
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/ncurses/ncurses.html
|
1997-10-27 05:28:54 +01:00
|
|
|
|
1998-09-22 08:11:35 +02:00
|
|
|
NOT_FOR_ARCHS= alpha # needs to be libtooled
|
|
|
|
|
1997-10-27 05:28:54 +01:00
|
|
|
GNU_CONFIGURE= yes
|
1997-12-18 10:58:14 +01:00
|
|
|
CONFIGURE_ARGS+= --with-normal --with-shared --enable-bsdpad
|
1998-01-24 05:26:58 +01:00
|
|
|
WRKSRC= ${WRKDIR}/ncurses_1.9.9g
|
1997-10-27 05:28:54 +01:00
|
|
|
|
1998-03-16 09:06:30 +01:00
|
|
|
post-patch:
|
1998-01-24 05:26:58 +01:00
|
|
|
( cd ${WRKSRC}/man ; ${RM} -f tput.1 tset.1 clear.1 )
|
1997-10-27 05:28:54 +01:00
|
|
|
( cd ${WRKSRC}/man ; for i in *.1m ; do \
|
1998-03-16 09:06:30 +01:00
|
|
|
${SED} -e '/#include/s/curses.h/ncurses.h/' <$$i >`basename $$i .1m`.1 ; \
|
1998-03-16 12:06:07 +01:00
|
|
|
${RM} -f $$i ; done )
|
1997-10-27 05:28:54 +01:00
|
|
|
( cd ${WRKSRC}/man ; for i in *.3x ; do \
|
1998-03-16 09:06:30 +01:00
|
|
|
${SED} -e '/#include/s/curses.h/ncurses.h/' <$$i >`basename $$i .3x`.3 ; \
|
1998-03-16 12:06:07 +01:00
|
|
|
${RM} -f $$i ; done )
|
1997-10-27 05:28:54 +01:00
|
|
|
|
|
|
|
post-install:
|
1998-01-24 05:26:58 +01:00
|
|
|
${MV} ${PREFIX}/include/curses.h ${PREFIX}/include/ncurses.h
|
|
|
|
${RM} -f ${PREFIX}/lib/libcurses.a
|
1997-10-27 05:28:54 +01:00
|
|
|
( cd ${PREFIX}/include ; for i in form.h menu.h panel.h ; do \
|
1998-01-24 05:26:58 +01:00
|
|
|
${SED} '/#include/s|curses.h|ncurses.h|g' $$i >$$i.BAK ; \
|
|
|
|
${MV} $$i.BAK $$i ; done )
|
1997-10-27 05:28:54 +01:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|