blob: 3fd8915143f04472fbc5f7589c2d07420520b728 (
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
|
# $NetBSD: Makefile,v 1.8 2001/02/17 18:08:58 wiz Exp $
#
DISTNAME= dialog-0.6z
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SUNSITE:=utils/shell/}
MAINTAINER= jlam@netbsd.org
COMMENT= Display dialog boxes from shell scripts
NO_CONFIGURE= # defined
USE_GMAKE= # defined
USE_CURSES= # defined
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dialog
.for file in checklist guage infobox inputbox menubox msgbox radiolist textbox yesno
${SED} "s,\.\./dialog,${PREFIX}/bin/dialog,g" \
${WRKSRC}/samples/${file} > ${WRKSRC}/samples/${file}.tmp
${INSTALL_SCRIPT} ${WRKSRC}/samples/${file}.tmp \
${PREFIX}/share/examples/dialog/${file}
${RM} ${WRKSRC}/samples/${file}.tmp
.endfor
.include "../../mk/bsd.prefs.mk"
.if defined(NEED_NCURSES) && ${NEED_NCURSES} == "YES"
MAKE_ENV+= HAVE_TRUE_NCURSES=true
.endif
.include "../../mk/bsd.pkg.mk"
|