blob: 90fdcc8ac233eb174177c8f5073ddd60eef96271 (
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
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.1.1.1 1997/10/27 04:28:54 hubertf Exp $
# FreeBSD comes with ncurses, we don't, so...
DISTNAME= ncurses-1.9.9e
CATEGORIES= devel
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-normal --with-shared --enable-bsdpad
MAN1= captoinfo.1 infocmp.1 tic.1 toe.1
MAN3= curs_addch.3 curs_addchstr.3 curs_addstr.3 curs_attr.3 \
curs_beep.3 curs_bkgd.3 curs_border.3 curs_clear.3 \
curs_color.3 curs_delch.3 curs_deleteln.3 curs_getch.3 \
curs_getstr.3 curs_getyx.3 curs_inch.3 curs_inchstr.3 \
curs_initscr.3 curs_inopts.3 curs_insch.3 \
curs_insstr.3 curs_instr.3 curs_kernel.3 curs_mouse.3 \
curs_move.3 curs_outopts.3 curs_overlay.3 curs_pad.3 \
curs_printw.3 curs_refresh.3 curs_resize.3 \
curs_scanw.3 curs_scr_dmp.3 curs_scroll.3 curs_slk.3 \
curs_termattrs.3 curs_termcap.3 curs_terminfo.3 \
curs_touch.3 curs_util.3 curs_window.3 form.3 \
form_cursor.3 form_data.3 form_driver.3 menu.3 \
form_field.3 form_field_attributes.3 \
form_field_buffer.3 form_field_info.3 \
form_field_just.3 form_field_new.3 form_field_opts.3 \
form_field_userptr.3 form_field_validation.3 \
form_fieldtype.3 form_hook.3 form_new.3 \
form_new_page.3 form_opts.3 form_page.3 form_post.3 \
form_userptr.3 form_win.3 menu_attribs.3 menu_cursor.3 \
menu_driver.3 menu_format.3 menu_hook.3 menu_items.3 \
menu_mark.3 menu_new.3 menu_opts.3 menu_pattern.3 \
menu_post.3 menu_userptr.3 menu_win.3 mitem_current.3 \
mitem_name.3 mitem_new.3 mitem_opts.3 mitem_userptr.3 \
mitem_value.3 mitem_visible.3 ncurses.3 panel.3
post-extract:
( 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 )
( cd ${WRKSRC}/man ; for i in *.3x ; do \
mv $$i `basename $$i .3x`.3 ; done )
post-install:
mv ${PREFIX}/include/curses.h ${PREFIX}/include/ncurses.h
rm -f ${PREFIX}/lib/libcurses.a
( cd ${PREFIX}/include ; for i in form.h menu.h panel.h ; do \
sed '/#include/s|curses.h|ncurses.h|g' $$i >$$i.BAK ; \
mv $$i.BAK $$i ; done )
.include <bsd.port.mk>
|