pkgsrc/misc/dialog/Makefile

31 lines
869 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.71 2015/01/30 01:28:19 wiz Exp $
DISTNAME= dialog-1.2-20150125
PKGNAME= ${DISTNAME:C/-2/.2/}
CATEGORIES= misc
MASTER_SITES= ftp://invisible-island.net/dialog/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://invisible-island.net/dialog/dialog.html
COMMENT= Display dialog boxes from shell scripts
Update to 1.1.20100119. Set LICENSE. 2010/01/19 + split up binding tables in inputbox and similar widgets to avoid conflict between cursor-key use for input-string versus navigation (report by slakmagik). + if strftime() is available, support --time-format option for timebox widget. + if strftime() is available, support --date-format option for calendar widget (request by Walter Harms). + build-fixes for linking to intl library in /usr/local + add --scrollbar option, use in most widgets to show a scrollbar on the right margin of the data. That is cosmetic, does not respond to the mouse. + reuse functions from msgbox to allow prompt for yesno box to be scrolled in a too-small window. + correct mapping of button-codes with --nook option (report by Lebedev Vadim). + cleanup sample scripts using new utility scripts setup-* and report-*, and allow command-line parameters to be added, for ad hoc testing. + correct change to tailbox widget from 2009/02/22 using dlg_button_layout(), which broke that widget. + document some of the portability caveats. + modify gauge widget to service callbacks (prompted by patch and comments by Frank Sorenson). + modify editbox to allow its input buffer to be larger than MAX_LEN unless bounded by the --max-input option, and add limit-checks for the buffer (report by slakmagik). + improve manpage description of --checklist (report by Isaac Good). + several improvements to configure script macros: CF_ADD_CFLAGS CF_CURSES_FUNCS CF_DISABLE_ECHO CF_GCC_ATTRIBUTES CF_MATH_LIB CF_POSIX_C_SOURCE CF_REMOVE_DEFINE CF_WITH_LIBTOOL CF_XOPEN_SOURCE + add is.po, lv.po, sw.po from http://translationproject.org/latest/dialog/ + update de.po, id.po, pl.po, pt_BR.po, vi.po from http://translationproject.org/latest/dialog/ 2009/02/22 + do not display top-arrows for scrolling if they would overwrite the title (report by slakmagik) + consistently use dlg_button_layout() when autosizing widgets (report by slakmagik). + add "-" and "+" bindings to timebox widget. + add "-" and "+" bindings to calendar widget (OpenSolaris #6739031). + review/fix other widgets to ensure that they exit on error, e.g., editbox.c + modify check in dlg_getc() to treat closure of either stdin or stdout as an error, rather than both. This is more stringent than the check added in 2007/07/04. + modify dlg_result_key() to map curses ERR to dialog's error exit (adapted from patch by Domagoj Pensa). + updated several configure script macros: + consistently append, rather then prepend, to $CFLAGS + add cases for AIX 6, mint, and dragonfly to CF_XOPEN_SOURCE + use $PATH_SEPARATOR rather than $PATHSEP + improve CF_FIND_LINKAGE, use in checks for more libraries, e.g., libutf8 and libiconv. + update da.po, ru.po from http://translationproject.org/latest/dialog/ + updated config.guess, config.sub
2010-02-03 20:05:24 +01:00
LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= yes
2006-09-09 04:41:53 +02:00
MAKE_FILE= makefile
USE_LIBTOOL= yes
CONFIGURE_ARGS+= --with-libtool
INCOMPAT_CURSES= NetBSD-1.5*-* NetBSD-1.6[-_.]*-* NetBSD-1.6[A-P]-*
2006-12-20 03:04:52 +01:00
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
SUBST_CLASSES+= rpath
SUBST_FILES.rpath= dialog-config.in
SUBST_MESSAGE.rpath= Fixing rpath in dialog-config
SUBST_SED.rpath= -e 's;-L\(.\);${_COMPILER_RPATH_FLAG}\1\{exec_prefix\}/lib -L\1;'
SUBST_STAGE.rpath= pre-configure
2014-03-09 12:59:09 +01:00
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"