diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/Makefile | 1 | ||||
-rw-r--r-- | editors/diakonos/Makefile | 48 | ||||
-rw-r--r-- | editors/diakonos/distinfo | 3 | ||||
-rw-r--r-- | editors/diakonos/files/installation.rb.in | 11 | ||||
-rw-r--r-- | editors/diakonos/pkg-descr | 6 | ||||
-rw-r--r-- | editors/diakonos/pkg-plist | 110 |
6 files changed, 179 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile index e90ea49a21cb..8dce0f82b543 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -35,6 +35,7 @@ SUBDIR += cooledit SUBDIR += cream SUBDIR += dedit + SUBDIR += diakonos SUBDIR += dkns SUBDIR += doxymacs SUBDIR += drjava diff --git a/editors/diakonos/Makefile b/editors/diakonos/Makefile new file mode 100644 index 000000000000..faddbe328a5f --- /dev/null +++ b/editors/diakonos/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: diakonos +# Date created: 30 June 2009 +# Whom: chris@officialunix.com +# +# $FreeBSD$ +# + +PORTNAME= diakonos +PORTVERSION= 0.8.11 +CATEGORIES= editors ruby +MASTER_SITES= http://purepistos.net/diakonos/ + +MAINTAINER= chris@officialunix.com +COMMENT= A Linux editor for the masses + +USE_RUBY= yes +RUBY_VER= 1.9 + +NO_BUILD= yes +SUB_FILES= installation.rb +SUB_LIST= RUBY_SITELIBDIR=${RUBY_SITELIBDIR} + +post-patch: + @${REINPLACE_CMD} 's|/usr/bin/env ruby|${RUBY}|g' ${WRKSRC}/bin/${PORTNAME} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin/ + ${MKDIR} ${RUBY_SITELIBDIR}/${PORTNAME} + cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${RUBY_SITELIBDIR}/ + ${INSTALL_SCRIPT} ${WRKDIR}/installation.rb ${RUBY_SITELIBDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/diakonos.conf ${PREFIX}/etc/diakonos.conf.dist; \ + if [ ! -f ${PREFIX}/etc/diakonos.conf ]; then \ + ${INSTALL_DATA} ${PREFIX}/etc/diakonos.conf.dist ${PREFIX}/etc/diakonos.conf; \ + fi + ${INSTALL_DATA} ${WRKSRC}/diakonos-256-colour.conf ${PREFIX}/etc/diakonos-256-colour.conf.dist; \ + if [ ! -f ${PREFIX}/etc/diakonos-256-colour.conf ]; then \ + ${INSTALL_DATA} ${PREFIX}/etc/diakonos-256-colour.conf.dist ${PREFIX}/etc/diakonos-256-colour.conf; \ + fi + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR}/help + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/LICENCE ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/help/*.dhf ${DOCSDIR}/help/ +.endif + +.include <bsd.port.mk> diff --git a/editors/diakonos/distinfo b/editors/diakonos/distinfo new file mode 100644 index 000000000000..0ea46c356361 --- /dev/null +++ b/editors/diakonos/distinfo @@ -0,0 +1,3 @@ +MD5 (diakonos-0.8.11.tar.gz) = 6b9e9d682e9eb53eb9bac5643f267c93 +SHA256 (diakonos-0.8.11.tar.gz) = 0a9a937288e66ad2ca793815ee001b1b931f806402a988db2a7da46029e084ad +SIZE (diakonos-0.8.11.tar.gz) = 110472 diff --git a/editors/diakonos/files/installation.rb.in b/editors/diakonos/files/installation.rb.in new file mode 100644 index 000000000000..6f75ddc92d63 --- /dev/null +++ b/editors/diakonos/files/installation.rb.in @@ -0,0 +1,11 @@ + +module Diakonos + INSTALL_SETTINGS = { + :prefix => "%%PREFIX%%", + :bin_dir => "%%PREFIX%%/bin", + :doc_dir => "%%DOCSDIR%%", + :help_dir => "%%DOCSDIR%%/help", + :conf_dir => "%%PREFIX%%/etc", + :lib_dir => "%%RUBY_SITELIBDIR%%", + } +end diff --git a/editors/diakonos/pkg-descr b/editors/diakonos/pkg-descr new file mode 100644 index 000000000000..659b9b47f409 --- /dev/null +++ b/editors/diakonos/pkg-descr @@ -0,0 +1,6 @@ +Diakonos, the console text editor with a key mapping you practically +already know. Easy to use and easy to configure, but potent in the +hands of power users. + +Chris Petrik (chris@officialunix.com) +WWW: http://purepistos.net/diakonos diff --git a/editors/diakonos/pkg-plist b/editors/diakonos/pkg-plist new file mode 100644 index 000000000000..332c156466d2 --- /dev/null +++ b/editors/diakonos/pkg-plist @@ -0,0 +1,110 @@ +bin/diakonos +@unexec if cmp -s %D/etc/diakonos.conf.dist %D/etc/diakonos.conf; then rm -f %D/etc/diakonos.conf; fi +etc/diakonos.conf.dist +@exec if [ ! -f %B/diakonos.conf ]; then cp -p %D/%F %B/diakonos.conf; fi +@unexec if cmp -s %D/etc/diakonos-256-colour.conf.dist %D/etc/diakonos-256-colour.conf; then rm -f %D/etc/diakonos-256-colour.conf; fi +etc/diakonos-256-colour.conf.dist +@exec if [ ! -f %B/diakonos-256-colour.conf ]; then cp -p %D/%F %B/diakonos-256-colour.conf; fi +%%RUBY_SITELIBDIR%%/diakonos.rb +%%RUBY_SITELIBDIR%%/diakonos/about.rb +%%RUBY_SITELIBDIR%%/diakonos/bookmark.rb +%%RUBY_SITELIBDIR%%/diakonos/buffer-hash.rb +%%RUBY_SITELIBDIR%%/diakonos/buffer-management.rb +%%RUBY_SITELIBDIR%%/diakonos/buffer.rb +%%RUBY_SITELIBDIR%%/diakonos/buffer/bookmarking.rb +%%RUBY_SITELIBDIR%%/diakonos/buffer/cursor.rb +%%RUBY_SITELIBDIR%%/diakonos/buffer/delete.rb +%%RUBY_SITELIBDIR%%/diakonos/buffer/display.rb +%%RUBY_SITELIBDIR%%/diakonos/buffer/file.rb +%%RUBY_SITELIBDIR%%/diakonos/buffer/indentation.rb +%%RUBY_SITELIBDIR%%/diakonos/buffer/searching.rb +%%RUBY_SITELIBDIR%%/diakonos/buffer/selection.rb +%%RUBY_SITELIBDIR%%/diakonos/buffer/undo.rb +%%RUBY_SITELIBDIR%%/diakonos/clipboard-klipper.rb +%%RUBY_SITELIBDIR%%/diakonos/clipboard-xclip.rb +%%RUBY_SITELIBDIR%%/diakonos/clipboard.rb +%%RUBY_SITELIBDIR%%/diakonos/config.rb +%%RUBY_SITELIBDIR%%/diakonos/extension.rb +%%RUBY_SITELIBDIR%%/diakonos/extension-set.rb +%%RUBY_SITELIBDIR%%/diakonos/core-ext/bignum.rb +%%RUBY_SITELIBDIR%%/diakonos/core-ext/enumerable.rb +%%RUBY_SITELIBDIR%%/diakonos/core-ext/fixnum.rb +%%RUBY_SITELIBDIR%%/diakonos/core-ext/hash.rb +%%RUBY_SITELIBDIR%%/diakonos/core-ext/object.rb +%%RUBY_SITELIBDIR%%/diakonos/core-ext/regexp.rb +%%RUBY_SITELIBDIR%%/diakonos/core-ext/string.rb +%%RUBY_SITELIBDIR%%/diakonos/ctag.rb +%%RUBY_SITELIBDIR%%/diakonos/display.rb +%%RUBY_SITELIBDIR%%/diakonos/display/format.rb +%%RUBY_SITELIBDIR%%/diakonos/finding.rb +%%RUBY_SITELIBDIR%%/diakonos/functions-deprecated.rb +%%RUBY_SITELIBDIR%%/diakonos/functions.rb +%%RUBY_SITELIBDIR%%/diakonos/functions/basics.rb +%%RUBY_SITELIBDIR%%/diakonos/functions/bookmarking.rb +%%RUBY_SITELIBDIR%%/diakonos/functions/buffers.rb +%%RUBY_SITELIBDIR%%/diakonos/functions/clipboard.rb +%%RUBY_SITELIBDIR%%/diakonos/functions/cursor.rb +%%RUBY_SITELIBDIR%%/diakonos/functions/grepping.rb +%%RUBY_SITELIBDIR%%/diakonos/functions/indentation.rb +%%RUBY_SITELIBDIR%%/diakonos/functions/search.rb +%%RUBY_SITELIBDIR%%/diakonos/functions/selection.rb +%%RUBY_SITELIBDIR%%/diakonos/functions/sessions.rb +%%RUBY_SITELIBDIR%%/diakonos/functions/shell.rb +%%RUBY_SITELIBDIR%%/diakonos/functions/tags.rb +%%RUBY_SITELIBDIR%%/diakonos/functions/text-manipulation.rb +%%RUBY_SITELIBDIR%%/diakonos/grep.rb +%%RUBY_SITELIBDIR%%/diakonos/help.rb +%%RUBY_SITELIBDIR%%/diakonos/hooks.rb +%%RUBY_SITELIBDIR%%/diakonos/installation.rb +%%RUBY_SITELIBDIR%%/diakonos/interaction.rb +%%RUBY_SITELIBDIR%%/diakonos/keying.rb +%%RUBY_SITELIBDIR%%/diakonos/list.rb +%%RUBY_SITELIBDIR%%/diakonos/logging.rb +%%RUBY_SITELIBDIR%%/diakonos/readline.rb +%%RUBY_SITELIBDIR%%/diakonos/sessions.rb +%%RUBY_SITELIBDIR%%/diakonos/sized-array.rb +%%RUBY_SITELIBDIR%%/diakonos/text-mark.rb +%%RUBY_SITELIBDIR%%/diakonos/vendor/fuzzy_file_finder.rb +%%RUBY_SITELIBDIR%%/diakonos/version.rb +%%RUBY_SITELIBDIR%%/diakonos/window.rb +%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG +%%PORTDOCS%%%%DOCSDIR%%/LICENCE +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/help/about-help.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/clipboard.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/close-file.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/code-block-navigation.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/column-markers.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/config.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/cursor-stack.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/delete.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/extensions.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/file-type.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/key-mapping.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/line-numbers.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/macros.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/new-file.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/open-file.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/quit.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/resizing.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/ruby.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/save-file.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/scripting.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/search.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/shell.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/speed.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/support.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/switch-buffers.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/tabs.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/undo.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/uninstall.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/welcome.dhf +%%PORTDOCS%%%%DOCSDIR%%/help/word-wrap.dhf +%%PORTDOCS%%@dirrm %%DOCSDIR%%/help +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%RUBY_SITELIBDIR%%/diakonos/buffer +@dirrm %%RUBY_SITELIBDIR%%/diakonos/core-ext +@dirrm %%RUBY_SITELIBDIR%%/diakonos/display +@dirrm %%RUBY_SITELIBDIR%%/diakonos/functions +@dirrm %%RUBY_SITELIBDIR%%/diakonos/vendor +@dirrm %%RUBY_SITELIBDIR%%/diakonos |