blob: 7e23528f286f6cad21adb31d5aef77bdd401bca9 (
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
|
# $NetBSD: Makefile,v 1.23 1999/07/16 21:11:02 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 --without-cxx
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 )
.include "../../mk/bsd.pkg.mk"
|