pkgsrc/editors/nano/Makefile
wiedi d7e425910b nano: update to 5.1
2020.08.12 - GNU nano 5.1 "Cantabria"
• M-Bsp (Alt+Backspace) deletes a word backwards, like in Bash.
• M-[ has become bindable.  (Be careful, though: as it is the
  starting combination of many escape sequences, avoid gluing
  it together with other keystrokes, like in a macro.)
• With --indicator and --softwrap, the first keystroke in an
  empty buffer does not crash.
• Invoking the formatter while text is marked does not crash.
• In UTF-8 locales, an anchor is shown as a diamond.

2020.07.29 - GNU nano 5.0 "Among the fields of barley"
• With --indicator (or -q or 'set indicator') nano will show a kind
  of scrollbar on the righthand side of the screen to indicate where
  in the buffer the viewport is located and how much it covers.
• With <Alt+Insert> any line can be "tagged" with an anchor, and
  <Alt+PageUp> and <Alt+PageDown> will jump to the nearest anchor.
  When using line numbers, an anchor is shown as "+" in the margin.
• The Execute Command prompt is now directly accessible from the
  main menu (with ^T, replacing the Spell Checker).  The Linter,
  Formatter, Spell Checker, Full Justification, Suspension, and
  Cut-Till-End functions are available in this menu too.
• On terminals that support at least 256 colors, nine new color
  names are available: pink, purple, mauve, lagoon, mint, lime,
  peach, orange, and latte.  These do not have lighter versions.
• For the color names red, green, blue, yellow, cyan, magenta,
  white, and black, the prefix 'light' gives a brighter color.
  Prefix 'bright' is deprecated, as it means both bold AND light.
• All color names can be preceded with "bold," and/or "italic,"
  (in that order) to get a bold and/or italic typeface.
• With --bookstyle (or -O or 'set bookstyle') nano considers any
  line that begins with whitespace as the start of a paragraph.
• Refreshing the screen with ^L now works in every menu.
• In the main menu, ^L also centers the line with the cursor.
• Toggling the help lines with M-X now works in all menus except
  in the help viewer and the linter.
• At a filename prompt, the first <Tab> lists the possibilities,
  and these are listed near the bottom instead of near the top.
• Bindable function 'curpos' has been renamed to 'location'.
• Long option --tempfile has been renamed to --saveonexit.
• Short option -S is now a synonym of --softwrap.
• The New Buffer toggle (M-F) has become non-persistent.  Options
  --multibuffer and 'set multibuffer' still make it default to on.
• Backup files will retain their group ownership (when possible).
• Data is synced to disk before "... lines written" is shown.
• The raw escape sequences for F13 to F16 are no longer recognized.
• Distro-specific syntaxes, and syntaxes of less common languages,
  have been moved down to subdirectory syntax/extra/.  The affected
  distros and others may wish to move wanted syntaxes one level up.
• Syntaxes for Markdown, Haskell, and Ada were added.
2020-08-23 23:09:01 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.89 2020/08/23 23:09:01 wiedi Exp $
DISTNAME= nano-5.1
CATEGORIES= editors
MASTER_SITES= https://www.nano-editor.org/dist/v${PKGVERSION_NOREV:C/\..*$//}/
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"