diff options
-rw-r--r-- | editors/Makefile | 1 | ||||
-rw-r--r-- | editors/dte/Makefile | 35 | ||||
-rw-r--r-- | editors/dte/distinfo | 3 | ||||
-rw-r--r-- | editors/dte/files/patch-config_binding_default | 10 | ||||
-rw-r--r-- | editors/dte/pkg-descr | 13 |
5 files changed, 62 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile index e9a9f3eec6d7..5defd02c0d7d 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -29,6 +29,7 @@ SUBDIR += dkns SUBDIR += dlangide SUBDIR += drjava + SUBDIR += dte SUBDIR += e3 SUBDIR += ecce SUBDIR += edith diff --git a/editors/dte/Makefile b/editors/dte/Makefile new file mode 100644 index 000000000000..995d139e9460 --- /dev/null +++ b/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 <bsd.port.mk> diff --git a/editors/dte/distinfo b/editors/dte/distinfo new file mode 100644 index 000000000000..1804fd4a9939 --- /dev/null +++ b/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 diff --git a/editors/dte/files/patch-config_binding_default b/editors/dte/files/patch-config_binding_default new file mode 100644 index 000000000000..bfabbfba4899 --- /dev/null +++ b/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' diff --git a/editors/dte/pkg-descr b/editors/dte/pkg-descr new file mode 100644 index 000000000000..e8c1e9fc202b --- /dev/null +++ b/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/ |