pkgsrc/editors/nano/Makefile
wen bbb45bcc59 Update to 3.2
Upstream changes:
2018 November 11

GNU nano 3.2 "Het kromme hout" changes the default binding
for the linter to M-B so that the spell checker (^T) can
always be used, and changes (when linting) the text in the
title bar and the color of the status bar to make linting
mode more obvious.  It also adds a bindable 'zap' function
for deleting a line or marked region without changing the
cutbuffer, adds --zap to bind the <Del> and <Backspace>
keys to the zap function when something is marked, and
hard-binds <Alt+Del> to 'zap'.  Furthermore, it shows the
cursor also in the help viewer (when --showcursor is used),
renames the bindable functions 'prevhistory' to 'older' and
'nexthistory' to 'newer' (update your nanorcs when needed),
reads the nanorc files also in restricted mode to allow
customization by the user (if this should not be allowed,
use --ignorercfiles in addition to --restricted), allows
in view mode to open also other files (if this should not
be allowed, use --restricted in addition to --view), makes
resizes respect a relative --fill again, no longer binds
F13...F15 by default, properly re-highlights a misspelled
word after invoking help in the internal spell checker,
and does not skip Unicode characters in string binds.
2018-12-31 09:58:36 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.77 2018/12/31 09:58:36 wen Exp $
DISTNAME= nano-3.2
CATEGORIES= editors
MASTER_SITES= https://www.nano-editor.org/dist/v${PKGVERSION_NOREV:R}/
EXTRACT_SUFX= .tar.xz
MAINTAINER= wiedi@frubar.net
HOMEPAGE= https://www.nano-editor.org/
COMMENT= Small and friendly text editor (a free replacement for Pico)
LICENSE= gnu-gpl-v3
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-color
CONFIGURE_ARGS+= --enable-multibuffer
CONFIGURE_ARGS+= --enable-nanorc
CONFIGURE_ARGS+= --enable-extra
INFO_FILES= yes
# Looks like that IRIX 5.x lacks vsnprintf() functions,
# which are required to make this work, so glib2 is used instead.
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MIRIX-5*)
. include "../../devel/glib2/buildlink3.mk"
.endif
.include "options.mk"
INSTALLATION_DIRS+= share/examples/nano
CONF_FILES+= share/examples/nano/nanorc ${PKG_SYSCONFDIR}/nanorc
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/sample.nanorc ${DESTDIR}${PREFIX}/share/examples/nano/nanorc
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"