From 8ecf6a15d99696e6f1871dcf7f7843bc692ff152 Mon Sep 17 00:00:00 2001 From: obache Date: Wed, 10 Jan 2007 14:53:11 +0000 Subject: [PATCH] Import dictem version 0.81 from pkgsrc-wip, packaged by Aleksey Cheusov. This is newer version than PR 33203. DictEm is a customizable DICT client for (X)Emacs. It implements all functions of the client part of the DICT protocol (RFC-2229). Unlike dictionary.el, it widely uses autocompletion that is used for selecting a dictionary and search strategy. It also provides several hooks that may be used for buffer postprocessing. Built-in hyperlinking and a highlighting mechanisms are based on this ability. Also, DictEm supports the mechanism of virtual dictionaries that can be used for grouping dictionaries from _different_ DICT servers into the client-side virtual dictionary. Fore information about dictionary protocol and DICT project, see http://www.dict.org. --- textproc/dictem/DESCR | 12 ++++++++++++ textproc/dictem/MESSAGE | 8 ++++++++ textproc/dictem/Makefile | 36 ++++++++++++++++++++++++++++++++++++ textproc/dictem/PLIST | 8 ++++++++ textproc/dictem/distinfo | 5 +++++ 5 files changed, 69 insertions(+) create mode 100644 textproc/dictem/DESCR create mode 100644 textproc/dictem/MESSAGE create mode 100644 textproc/dictem/Makefile create mode 100644 textproc/dictem/PLIST create mode 100644 textproc/dictem/distinfo diff --git a/textproc/dictem/DESCR b/textproc/dictem/DESCR new file mode 100644 index 000000000000..37586e7c7202 --- /dev/null +++ b/textproc/dictem/DESCR @@ -0,0 +1,12 @@ +DictEm is a customizable DICT client for (X)Emacs. It implements all +functions of the client part of the DICT protocol (RFC-2229). Unlike +dictionary.el, it widely uses autocompletion that is used for +selecting a dictionary and search strategy. It also provides several +hooks that may be used for buffer postprocessing. Built-in +hyperlinking and a highlighting mechanisms are based on this +ability. Also, DictEm supports the mechanism of virtual dictionaries +that can be used for grouping dictionaries from _different_ DICT +servers into the client-side virtual dictionary. + +Fore information about dictionary protocol and DICT project, see +http://www.dict.org. diff --git a/textproc/dictem/MESSAGE b/textproc/dictem/MESSAGE new file mode 100644 index 000000000000..3c567e276916 --- /dev/null +++ b/textproc/dictem/MESSAGE @@ -0,0 +1,8 @@ +=========================================================================== +$NetBSD$ + +Documentation for DICTEM is available +in ${PREFIX}/share/doc/dictem/README file. +Also see ${PREFIX}/share/doc/dictem/NEWS file. + +=========================================================================== diff --git a/textproc/dictem/Makefile b/textproc/dictem/Makefile new file mode 100644 index 000000000000..8fe61a295021 --- /dev/null +++ b/textproc/dictem/Makefile @@ -0,0 +1,36 @@ +# $NetBSD$ + +DISTNAME= dictem-0.81 +PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME} +#PKGREVISION= 1 +CATEGORIES= textproc editors +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dictem/} \ + http://www.mova.org/~cheusov/pub/dictem/ + +MAINTAINER= cheusov@tut.by +HOMEPAGE= http://freshmeat.net/projects/dictem/ +COMMENT= Dictionary client (RFC-2229) for [X]Emacs + +DEPENDS+= dict-client>=1.9.14:../../textproc/dict-client +#MESSAGE_SUBST+= PREFIX=${PREFIX} + +SRCS= dictem.el +DOCS= README NEWS COPYING ChangeLog + +INSTALLATION_DIRS+= share/doc/${PKGBASE} ${EMACS_LISPPREFIX:Q} + +do-build: +.for f in ${SRCS} + ${EMACS_BIN:Q} --no-init-file --no-site-file -batch \ + -f batch-byte-compile ${WRKSRC}/${f} +.endfor + +do-install: + set -e; \ + cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \ + ${EMACS_LISPPREFIX:Q}; \ + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} \ + ${PREFIX}/share/doc/${PKGBASE} + +.include "../../mk/emacs.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/dictem/PLIST b/textproc/dictem/PLIST new file mode 100644 index 000000000000..e96b5e59cf4b --- /dev/null +++ b/textproc/dictem/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD$ +share/doc/${PKGBASE}/COPYING +share/doc/${PKGBASE}/ChangeLog +share/doc/${PKGBASE}/NEWS +share/doc/${PKGBASE}/README +${EMACS_LISPPREFIX}/dictem.el +${EMACS_LISPPREFIX}/dictem.elc +@dirrm share/doc/${PKGBASE} diff --git a/textproc/dictem/distinfo b/textproc/dictem/distinfo new file mode 100644 index 000000000000..f99912cb2a28 --- /dev/null +++ b/textproc/dictem/distinfo @@ -0,0 +1,5 @@ +$NetBSD$ + +SHA1 (dictem-0.81.tar.gz) = 31b23a532fb47757086b3cff9a4c8a7b284c6f14 +RMD160 (dictem-0.81.tar.gz) = 3edd0915f8d97a32bce2197db1bcd9b06831b6a1 +Size (dictem-0.81.tar.gz) = 33091 bytes -- 2.41.0