pkgsrc/editors/nano/Makefile
schwarz 0b05dedf31 updated editors/nano to 4.9.3
Changes between v4.9.2 and v4.9.3:
Benno Schulenberg (6):
     bump version numbers and add a news item for the 4.9.3 release
     counting: count words correctly also when --wordchars is used
     display: do not try to draw content when there is no open buffer yet
     feedback: skip wiping the prompt bar when the shortcut printed a message
     po: update translations and regenerate POT file and PO files
     prompt: at Yes-No, do not treat a screen resize as an invalid keystroke
2020-05-23 20:07:07 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.88 2020/05/23 20:07:07 schwarz Exp $
DISTNAME= nano-4.9.3
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"