mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Update to 3.1
This commit is contained in:
parent
0056a48f71
commit
d5ff68dac6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480818
4 changed files with 6 additions and 27 deletions
|
@ -2,8 +2,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= nano
|
PORTNAME= nano
|
||||||
PORTVERSION= 3.0
|
PORTVERSION= 3.1
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= editors
|
CATEGORIES= editors
|
||||||
MASTER_SITES= http://www.nano-editor.org/dist/v${PORTVERSION:R}/ GNU
|
MASTER_SITES= http://www.nano-editor.org/dist/v${PORTVERSION:R}/ GNU
|
||||||
|
|
||||||
|
@ -12,9 +11,10 @@ COMMENT= Nano's ANOther editor, an enhanced free Pico clone
|
||||||
|
|
||||||
LICENSE= GPLv3
|
LICENSE= GPLv3
|
||||||
|
|
||||||
|
USES= charsetfix ncurses
|
||||||
|
|
||||||
CONFLICTS= nano-devel-2*
|
CONFLICTS= nano-devel-2*
|
||||||
|
|
||||||
USES= charsetfix ncurses
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
CONFIGURE_ARGS= --docdir=${DOCSDIR} --enable-utf8
|
CONFIGURE_ARGS= --docdir=${DOCSDIR} --enable-utf8
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1536705832
|
TIMESTAMP = 1538080224
|
||||||
SHA256 (nano-3.0.tar.gz) = 3f5f7713665155d9089ffde814ca89b3795104892af2ce8db2c1a70b82fa84a3
|
SHA256 (nano-3.1.tar.gz) = cc99372b6e3f38a86617143cbf5987f33641f541334070146dc2648aba1fa42f
|
||||||
SIZE (nano-3.0.tar.gz) = 2921245
|
SIZE (nano-3.1.tar.gz) = 2923258
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- src/nano.c.orig 2018-09-14 11:02:24 UTC
|
|
||||||
+++ src/nano.c
|
|
||||||
@@ -2580,7 +2580,7 @@ int main(int argc, char **argv)
|
|
||||||
controlhome = get_keycode("kHOM5", CONTROL_HOME);
|
|
||||||
controlend = get_keycode("kEND5", CONTROL_END);
|
|
||||||
controldelete = get_keycode("kDC5", CONTROL_DELETE);
|
|
||||||
- controlshiftdelete = get_keycode("kDC6", KEY_BACKSPACE);
|
|
||||||
+ controlshiftdelete = get_keycode("kDC6", CONTROL_SHIFT_DELETE);
|
|
||||||
#ifndef NANO_TINY
|
|
||||||
/* Ask for the codes for Shift+Control+Left/Right/Up/Down. */
|
|
||||||
shiftcontrolleft = get_keycode("kLFT6", SHIFT_CONTROL_LEFT);
|
|
|
@ -1,10 +0,0 @@
|
||||||
--- src/nano.h.orig 2018-09-14 11:02:29 UTC
|
|
||||||
+++ src/nano.h
|
|
||||||
@@ -588,6 +588,7 @@ enum
|
|
||||||
#define SHIFT_CONTROL_DOWN 0x414
|
|
||||||
#define SHIFT_CONTROL_HOME 0x415
|
|
||||||
#define SHIFT_CONTROL_END 0x416
|
|
||||||
+#define CONTROL_SHIFT_DELETE 0x417
|
|
||||||
#define ALT_LEFT 0x421
|
|
||||||
#define ALT_RIGHT 0x422
|
|
||||||
#define ALT_UP 0x423
|
|
Loading…
Add table
Reference in a new issue