aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/dictionary
diff options
context:
space:
mode:
authoryoichi <yoichi@FreeBSD.org>2002-03-24 21:20:01 +0800
committeryoichi <yoichi@FreeBSD.org>2002-03-24 21:20:01 +0800
commit133aa6039ddf076f267c8dfeb846d860d3d6764f (patch)
tree5cceac7b24e6a6988eaf24c50a4da315ed9d685c /textproc/dictionary
parentcf798e750a0b7c82dda02f440a375967426bfe84 (diff)
downloadfreebsd-ports-gnome-133aa6039ddf076f267c8dfeb846d860d3d6764f.tar.gz
freebsd-ports-gnome-133aa6039ddf076f267c8dfeb846d860d3d6764f.tar.zst
freebsd-ports-gnome-133aa6039ddf076f267c8dfeb846d860d3d6764f.zip
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>
Diffstat (limited to 'textproc/dictionary')
-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
6 files changed, 60 insertions, 0 deletions
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