summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryoichi <yoichi@FreeBSD.org>2002-03-24 13:20:01 +0000
committeryoichi <yoichi@FreeBSD.org>2002-03-24 13:20:01 +0000
commit133aa6039ddf076f267c8dfeb846d860d3d6764f (patch)
tree5cceac7b24e6a6988eaf24c50a4da315ed9d685c
parentcf798e750a0b7c82dda02f440a375967426bfe84 (diff)
downloadFreeBSD-ports-133aa6039ddf076f267c8dfeb846d860d3d6764f.zip
FreeBSD-ports-133aa6039ddf076f267c8dfeb846d860d3d6764f.tar.gz
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>
-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 c76a229..8b91adc 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 0000000..39ba36c
--- /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 0000000..18f5886
--- /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 0000000..01ab95b
--- /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 0000000..69c6b7d
--- /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 0000000..46b61df
--- /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 0000000..fed054a
--- /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
OpenPOWER on IntegriCloud