Index: head/editors/nano/Makefile =================================================================== --- head/editors/nano/Makefile (revision 479767) +++ head/editors/nano/Makefile (revision 479768) @@ -1,49 +1,50 @@ # Created by: Philippe Lefebvre # $FreeBSD$ PORTNAME= nano PORTVERSION= 3.0 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= http://www.nano-editor.org/dist/v${PORTVERSION:R}/ GNU MAINTAINER= danilo@FreeBSD.org COMMENT= Nano's ANOther editor, an enhanced free Pico clone LICENSE= GPLv3 CONFLICTS= nano-devel-2* USES= charsetfix ncurses GNU_CONFIGURE= yes CONFIGURE_ARGS= --docdir=${DOCSDIR} --enable-utf8 MAKE_ARGS+= install_htmlmanDATA=install-htmlmanDATA CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= DOCS EXAMPLES NLS OPTIONS_SUB= yes DOCS_USES= groff NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls INFO= nano PORTSCOUT= limitw:1,even post-configure: ${REINPLACE_CMD} -e 's/update_revision//g' ${WRKSRC}/src/Makefile post-build: cd ${WRKSRC}/doc; ${REINPLACE_CMD} \ -e 's:SYSCONFDIR:${PREFIX}/etc:g' \ -e 's:EXAMPLESDIR:${EXAMPLESDIR}:g' \ nano.1 rnano.1 nanorc.5 ${WRKSRC}/doc/${INFO:=.info} post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/sample.nanorc ${STAGEDIR}${EXAMPLESDIR} .include Index: head/editors/nano/files/patch-src_nano.c =================================================================== --- head/editors/nano/files/patch-src_nano.c (nonexistent) +++ head/editors/nano/files/patch-src_nano.c (revision 479768) @@ -0,0 +1,11 @@ +--- 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); Property changes on: head/editors/nano/files/patch-src_nano.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/editors/nano/files/patch-src_nano.h =================================================================== --- head/editors/nano/files/patch-src_nano.h (nonexistent) +++ head/editors/nano/files/patch-src_nano.h (revision 479768) @@ -0,0 +1,10 @@ +--- 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 Property changes on: head/editors/nano/files/patch-src_nano.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property