pkgsrc/editors/nano/Makefile
wiedi 21967c8abf Update editors/nano to 2.6.0
2016.06.17 - nano 2.6.0 "Rubicon" fixes more than fifty little bugs -- and
		some of them not so little.  It improves moving about in
		the file browser, corrects failings of the internal spell
		checker, adds a new feature (comment/uncomment lines, with
		default binding M-3), makes some error messages clearer,
		shows more of a file when positionlog is used and the cursor
		is near the end, displays all error messages at startup if
		there are multiple ones, does not misinterpret keystrokes
		when typing very fast, is less eager to trim the filename
		on narrow terminals, speeds up case-insensitive searches,
		and allows to abort re-searches.  Among bunches of other
		things.  It is worth the trouble to upgrade.
2016-06-19 10:43:34 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.55 2016/06/19 10:43:34 wiedi Exp $
DISTNAME= nano-2.6.0
CATEGORIES= editors
MASTER_SITES= http://www.nano-editor.org/dist/v2.6/
MAINTAINER= wiedi@frubar.net
HOMEPAGE= http://www.nano-editor.org/
COMMENT= Small and friendly text editor (a free replacement for Pico)
LICENSE= gnu-gpl-v3
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt
INFO_FILES= yes
CONFIGURE_ARGS+= --enable-color
CONFIGURE_ARGS+= --enable-multibuffer
CONFIGURE_ARGS+= --enable-nanorc
CONFIGURE_ARGS+= --enable-extra
# 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/nanorc.sample ${DESTDIR}${PREFIX}/share/examples/nano/nanorc
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"