blob: 2acf58b4451dafbff4d8f20d7c0a133f6a32b42e (
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
|
# $NetBSD: Makefile,v 1.2 1998/06/22 12:52:31 agc Exp $
#
DISTNAME= dialog-0.6z
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= utils/shell
MAINTAINER= lamj@stat.cmu.edu
DEPENDS+= ncurses-1.9.9g:../../devel/ncurses
NO_CONFIGURE= yes
USE_GMAKE= yes
post-install:
@${MKDIR} ${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}.sed
@${INSTALL_SCRIPT} ${WRKSRC}/samples/${file}.sed \
${PREFIX}/share/examples/dialog/${file}
@${RM} ${WRKSRC}/samples/${file}.sed
.endfor
.include <../../mk/bsd.pkg.mk>
|