summaryrefslogtreecommitdiff
path: root/devel/ncurses
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1998-03-16 08:06:30 +0000
committerhubertf <hubertf@pkgsrc.org>1998-03-16 08:06:30 +0000
commit5355781ff23eabeaf2ec573b73694f05ea835463 (patch)
treee0574a54ed5b2d3fae09106897765554581afa1e /devel/ncurses
parent862736cbb75aa828d44b30a035a10c72196df127 (diff)
downloadpkgsrc-5355781ff23eabeaf2ec573b73694f05ea835463.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/ncurses')
-rw-r--r--devel/ncurses/Makefile10
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