pkgsrc/misc/dialog/Makefile
tron 0d513d1d5a This package doesn't work with NetBSD 1.5 and 1.5.x's curses library.
Problem noted by Stephen Borrill in PR pkg/16286.
2002-04-22 13:07:51 +00:00

30 lines
821 B
Makefile

# $NetBSD: Makefile,v 1.11 2002/04/22 13:07:51 tron 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
USE_BUILDLINK_ONLY= # defined
USE_GMAKE= # defined
INCOMPAT_CURSES= 1.5 1.5.*
EGDIR= ${PREFIX}/share/examples/dialog
EGFILES= checklist guage infobox inputbox menubox msgbox
EGFILES+= radiolist textbox yesno
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
cd ${WRKSRC}/samples; for file in ${EGFILES}; do \
${MV} $${file} $${file}.tmp; \
${SED} "s|\.\./dialog|${PREFIX}/bin/dialog|g" \
$${file}.tmp > $${file}; \
${RM} $${file}.tmp; \
${INSTALL_SCRIPT} $${file} ${EGDIR}; \
done
.include "../../devel/ncurses/buildlink.mk"
.include "../../mk/bsd.pkg.mk"