blob: 631617fe758b878357bb27456fdc7632f2a1a3db (
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
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.27 1999/09/24 00:39:13 jlam Exp $
DISTNAME= ncurses-4.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=ncurses/} \
ftp://ftp.clark.net/pub/dickey/ncurses/
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.gnu.org/software/ncurses/ncurses.html
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS+= --with-normal --without-debug --enable-bsdpad
MAKE_ENV+= NCURSES_MAJOR="${NCURSES_MAJOR}" \
NCURSES_MINOR="${NCURSES_MINOR}"
# Define these here so they can be conveniently changed when ncurses
# is integrated into the NetBSD source tree.
#
NCURSES_MAJOR= 4
NCURSES_MINOR= 2
post-patch:
${LN} -sf curses.h ${WRKSRC}/include/ncurses.h
( cd ${WRKSRC}/man ; ${RM} -f clear.1 tput.1 tset.1 )
( cd ${WRKSRC}/man ; for i in *.1m ; do \
${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 \
${SED} -e '/#include/s/curses.h/ncurses.h/' \
<$$i >`basename $$i .3x`.3; \
${RM} -f $$i; done )
post-install:
${INSTALL_DATA} ${WRKSRC}/c++/demo.cc \
${PREFIX}/share/examples/ncurses++demo.cc
.include "../../mk/bsd.pkg.mk"
|