53bfb7c1fb
2017.11.18 - GNU nano 2.9.0 "Eta" introduces the ability to record and replay keystrokes (M-: to start and stop recording, M-; to play the macro back), makes ^Q and ^S do something useful by default (^Q starts a backward search, and ^S saves the current file), changes ^W to start always a forward search, shows the number of open buffers (when more than one) in the title bar, no longer asks to press Enter when there are errors in an rc file, retires the options '--quiet' and 'set quiet' and 'set backwards', makes indenting and unindenting undoable, will look in $XDG_CONFIG_HOME for a nanorc file and in $XDG_DATA_HOME for the history files, adds a history stack for executed commands (^R^X), does not overwrite the position-history file of another nano, and fixes a score of tiny bugs.
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.67 2017/11/19 12:57:24 wiedi Exp $
|
|
|
|
DISTNAME= nano-2.9.0
|
|
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"
|