97e7d02642
2021.12.15 - GNU nano 6.0 "Humor heeft ook zijn leuke kanten" • Option --zero hides the title bar, status bar and help lines, and uses all rows of the terminal as editing area. The title bar and status bar can be toggled with M-Z. • Colors can now be specified also as three-digit hexadecimal numbers, in the format #rgb. This picks from the 216 index colors (that most terminals know) the color that is nearest to the given values. • For users who dislike numbers, there are fourteen new color names: rosy, beet, plum, sea, sky, slate, teal, sage, brown, ocher, sand, tawny, brick, and crimson. • Suspension is enabled by default, invokable with ^T^Z. The options -z, --suspendable, and 'set suspendable' are obsolete and ignored. (In case you want to be able to suspend nano with a single keystroke, you can put 'bind ^Z suspend main' in your nanorc.) • When automatic hard-wrapping is in effect, pasting just a few words (without a line break) will now hard-wrap the line when needed. • Toggling Append or Prepend clears the current filename. • The word count as shown by M-D is now affected by option --wordbounds; with it, nano counts words as 'wc' does; without it (the new default), words are counted in a more human way: seeing punctuation as space. • The YAML syntax file is now actually included in the tarball.
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.102 2021/12/15 18:00:19 wiedi Exp $
|
|
|
|
DISTNAME= nano-6.0
|
|
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 msgmerge xgettext gmake
|
|
USE_TOOLS+= pkg-config
|
|
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
|
|
|
|
SUBST_CLASSES+= man
|
|
SUBST_STAGE.man= pre-configure
|
|
SUBST_MESSAGE.man= Fixing paths in manpages.
|
|
SUBST_FILES.man= doc/nano.1 doc/nanorc.5
|
|
SUBST_VARS.man= PKG_SYSCONFDIR PREFIX
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/doc/sample.nanorc ${DESTDIR}${PREFIX}/share/examples/nano/nanorc
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|