pkgsrc/misc/dialog/Makefile
tv c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00

35 lines
944 B
Makefile

# $NetBSD: Makefile,v 1.26 2004/10/03 00:12:58 tv Exp $
DISTNAME= dialog-0.6z
PKGREVISION= 3
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SUNSITE:=utils/shell/}
MAINTAINER= tech-pkg@NetBSD.org
COMMENT= Display dialog boxes from shell scripts
USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
INCOMPAT_CURSES= NetBSD-1.5* NetBSD-1.6[-_.]* NetBSD-1.6[A-P]-*
PKG_INSTALLATION_TYPES= overwrite pkgviews
EGDIR= ${PREFIX}/share/examples/dialog
EGFILES= checklist guage infobox inputbox menubox msgbox
EGFILES+= radiolist textbox yesno
INSTALLATION_DIRS= bin man/man1
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/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"