diff options
author | hubertf <hubertf> | 1998-03-16 08:06:30 +0000 |
---|---|---|
committer | hubertf <hubertf> | 1998-03-16 08:06:30 +0000 |
commit | 7cfb2d0da758e3f4dfd1e34ec001588d5d7f6a1e (patch) | |
tree | e0574a54ed5b2d3fae09106897765554581afa1e /devel | |
parent | b477be4a0071bf63d16871ae41b78d99f4f8a33f (diff) | |
download | pkgsrc-7cfb2d0da758e3f4dfd1e34ec001588d5d7f6a1e.tar.gz |
Fix PR 5163 by tooleym@Douglas.BC.CA: In manpages, tell people to
#include <ncurses.h>, not <curses.h>.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ncurses/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile index 385a7833c07..1a91213b302 100644 --- a/devel/ncurses/Makefile +++ b/devel/ncurses/Makefile @@ -3,7 +3,7 @@ # Date created: Tue Oct 28 00:12:41 CET 1997 # Whom: Hubert Feyrer (hubertf@netbsd.org) # -# $NetBSD: Makefile,v 1.10 1998/02/02 08:59:11 hubertf Exp $ +# $NetBSD: Makefile,v 1.11 1998/03/16 08:06:30 hubertf Exp $ DISTNAME= ncurses-1.9.9g CATEGORIES= devel @@ -48,12 +48,14 @@ MAN3= curs_addch.3 curs_addchstr.3 curs_addstr.3 curs_attr.3 \ MAN5= terminfo.5 term.5 MAN7= term.7 -post-extract: +post-patch: ( cd ${WRKSRC}/man ; ${RM} -f tput.1 tset.1 clear.1 ) ( cd ${WRKSRC}/man ; for i in *.1m ; do \ - ${MV} $$i `basename $$i .1m`.1 ; done ) + ${SED} -e '/#include/s/curses.h/ncurses.h/' <$$i >`basename $$i .1m`.1 ; \ + rm -f $$i ; done ) ( cd ${WRKSRC}/man ; for i in *.3x ; do \ - ${MV} $$i `basename $$i .3x`.3 ; done ) + ${SED} -e '/#include/s/curses.h/ncurses.h/' <$$i >`basename $$i .3x`.3 ; \ + rm -f $$i ; done ) post-install: ${MV} ${PREFIX}/include/curses.h ${PREFIX}/include/ncurses.h |