summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorYoichi NAKAYAMA <yoichi@FreeBSD.org>2002-03-24 13:20:01 +0000
committerYoichi NAKAYAMA <yoichi@FreeBSD.org>2002-03-24 13:20:01 +0000
commit85519daeaa9d50c710817949fb25dfbc091de346 (patch)
tree937745f249f06004c297f5ba2959498a1759b115 /textproc
parentLet machine/ansi.h know not to play glibc for us. (diff)
Add dictionary, a client provides access to a dictionary server
(RFC 2229) from Emacsen. PR: ports/36225 Submitted by: Kimura Fuyuki <fuyuki@mj.0038.net>
Notes
Notes: svn path=/head/; revision=56532
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/dictionary/Makefile35
-rw-r--r--textproc/dictionary/distinfo1
-rw-r--r--textproc/dictionary/pkg-comment1
-rw-r--r--textproc/dictionary/pkg-descr10
-rw-r--r--textproc/dictionary/pkg-message3
-rw-r--r--textproc/dictionary/pkg-plist10
7 files changed, 61 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c76a229afab8..8b91adc5af2d 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -25,6 +25,7 @@
SUBDIR += dadadodo
SUBDIR += dico
SUBDIR += dict
+ SUBDIR += dictionary
SUBDIR += diff-mode.el
SUBDIR += diffstat
SUBDIR += diffutils
diff --git a/textproc/dictionary/Makefile b/textproc/dictionary/Makefile
new file mode 100644
index 000000000000..39ba36c7c83b
--- /dev/null
+++ b/textproc/dictionary/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: dictionary
+# Date created: 23 March 2002
+# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dictionary
+PORTVERSION= 1.8
+CATEGORIES= textproc net elisp
+MASTER_SITES= http://me.in-berlin.de/~myrkr/dictionary/
+PKGNAMESUFFIX= -${EMACS_PORT_NAME}
+
+MAINTAINER= fuyuki@mj.0038.net
+
+EMACS_PORT_NAME?= emacs21
+
+LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
+
+do-install:
+ ${MKDIR} ${LISPDIR}
+.for i in connection.* dictionary-init.el dictionary.* link.*
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
+.endfor
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for i in README
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/textproc/dictionary/distinfo b/textproc/dictionary/distinfo
new file mode 100644
index 000000000000..18f588615ea1
--- /dev/null
+++ b/textproc/dictionary/distinfo
@@ -0,0 +1 @@
+MD5 (dictionary-1.8.tar.gz) = 477438681ef914c69ef44ce0776b4faf
diff --git a/textproc/dictionary/pkg-comment b/textproc/dictionary/pkg-comment
new file mode 100644
index 000000000000..01ab95bd3949
--- /dev/null
+++ b/textproc/dictionary/pkg-comment
@@ -0,0 +1 @@
+A dictionary client for Emacs
diff --git a/textproc/dictionary/pkg-descr b/textproc/dictionary/pkg-descr
new file mode 100644
index 000000000000..69c6b7dc9d29
--- /dev/null
+++ b/textproc/dictionary/pkg-descr
@@ -0,0 +1,10 @@
+This dictionary client provides access to a dictionary server (as
+defined in RFC 2229) from within Emacs or XEmacs.
+
+It supports utf-8 (currently available in Emacs 21) and allows to
+follow links within the definitions.
+
+WWW: http://www.myrkr.in-berlin.de/dictionary/
+
+- Kimura Fuyuki
+fuyuki@mj.0038.net
diff --git a/textproc/dictionary/pkg-message b/textproc/dictionary/pkg-message
new file mode 100644
index 000000000000..46b61df13787
--- /dev/null
+++ b/textproc/dictionary/pkg-message
@@ -0,0 +1,3 @@
+To use dictionary, add to your ~/.emacs the following line:
+
+(load "dictionary-init")
diff --git a/textproc/dictionary/pkg-plist b/textproc/dictionary/pkg-plist
new file mode 100644
index 000000000000..fed054aa2e65
--- /dev/null
+++ b/textproc/dictionary/pkg-plist
@@ -0,0 +1,10 @@
+%%EMACS_VERSION_SITE_LISPDIR%%/dictionary/connection.el
+%%EMACS_VERSION_SITE_LISPDIR%%/dictionary/connection.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/dictionary/dictionary-init.el
+%%EMACS_VERSION_SITE_LISPDIR%%/dictionary/dictionary.el
+%%EMACS_VERSION_SITE_LISPDIR%%/dictionary/dictionary.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/dictionary/link.el
+%%EMACS_VERSION_SITE_LISPDIR%%/dictionary/link.elc
+@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/dictionary
+%%PORTDOCS%%share/doc/dictionary/README
+%%PORTDOCS%%@dirrm share/doc/dictionary