Index: head/editors/Makefile =================================================================== --- head/editors/Makefile +++ head/editors/Makefile @@ -29,6 +29,7 @@ SUBDIR += dkns SUBDIR += dlangide SUBDIR += drjava + SUBDIR += dte SUBDIR += e3 SUBDIR += ecce SUBDIR += edith Index: head/editors/dte/Makefile =================================================================== --- head/editors/dte/Makefile +++ head/editors/dte/Makefile @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= dte +DISTVERSIONPREFIX= v +DISTVERSION= 1.5 +CATEGORIES= editors + +MAINTAINER= dg@syrec.org +COMMENT= Small and easy to use console text editor + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= iconv gmake ncurses +MAKEFILE= ${WRKSRC}/GNUmakefile +MAKE_ARGS= V=1 prefix=${PREFIX} mandir=${PREFIX}/man +USE_GITHUB= yes +GH_ACCOUNT= craigbarnes +TEST_TARGET= check + +PLIST_FILES= bin/dte \ + man/man1/dte.1.gz \ + man/man5/dte-syntax.5.gz \ + man/man5/dterc.5.gz \ + +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dte + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include Index: head/editors/dte/distinfo =================================================================== --- head/editors/dte/distinfo +++ head/editors/dte/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1513255480 +SHA256 (craigbarnes-dte-v1.5_GH0.tar.gz) = a59a52bac1d7400c10a13f9b1f45c584efb90bd7315f59b70445498abed889ca +SIZE (craigbarnes-dte-v1.5_GH0.tar.gz) = 223623 Index: head/editors/dte/files/patch-config_binding_default =================================================================== --- head/editors/dte/files/patch-config_binding_default +++ head/editors/dte/files/patch-config_binding_default @@ -0,0 +1,10 @@ +--- config/binding/default.orig 2017-12-14 13:44:20 UTC ++++ config/binding/default +@@ -9,6 +9,7 @@ bind pgdown pgdown + bind delete delete + bind ^\[ unselect + bind ^\? erase ++bind ^H erase + + bind C-left 'word-bwd -s' + bind C-right 'word-fwd -s' Index: head/editors/dte/pkg-descr =================================================================== --- head/editors/dte/pkg-descr +++ head/editors/dte/pkg-descr @@ -0,0 +1,13 @@ +A small and easy to use console text editor, featuring + + - Multiple buffers/tabs + - Unlimited undo/redo + - Search and replace + - Syntax highlighting + - Customizable color schemes + - Customizable key bindings + - Command language with auto-completion + - Jump to definition (using ctags) + - Jump to compiler error + +WWW: https://craigbarnes.gitlab.io/dte/