aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-02-25 09:23:01 +0800
committersteve <steve@FreeBSD.org>1998-02-25 09:23:01 +0800
commit5f19b7c132e25ce68ede07624ca5003754b7ede6 (patch)
treee8b3e1405f7ef05d225360c9142c12c0a846a563
parent9966a715223c283a78d00db88ac58805c4c762a8 (diff)
downloadfreebsd-ports-graphics-5f19b7c132e25ce68ede07624ca5003754b7ede6.tar.gz
freebsd-ports-graphics-5f19b7c132e25ce68ede07624ca5003754b7ede6.tar.zst
freebsd-ports-graphics-5f19b7c132e25ce68ede07624ca5003754b7ede6.zip
Dictionary Server Protocol (RFC2229) client.
PR: 5835 Submitted by: Josh Giliam <josh@quick.net>
-rw-r--r--textproc/dict/Makefile23
-rw-r--r--textproc/dict/distinfo1
-rw-r--r--textproc/dict/files/patch-aa13
-rw-r--r--textproc/dict/files/patch-ab13
-rw-r--r--textproc/dict/files/patch-ac20
-rw-r--r--textproc/dict/pkg-comment1
-rw-r--r--textproc/dict/pkg-descr14
-rw-r--r--textproc/dict/pkg-plist2
8 files changed, 87 insertions, 0 deletions
diff --git a/textproc/dict/Makefile b/textproc/dict/Makefile
new file mode 100644
index 00000000000..6788be13e36
--- /dev/null
+++ b/textproc/dict/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: dict
+# Version required: 1.4.5
+# Date created: 19 February 1998
+# Whom: Josh Gilliam <josh@quick.net>
+#
+# $Id$
+#
+
+DISTNAME= dictd-1.4.5
+PKGNAME= dict-1.4.5
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.cs.unc.edu/pub/users/faith/dict/
+
+MAINTAINER= josh@quick.net
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= PREFIX=${PREFIX}
+USE_GMAKE= yes
+ALL_TARGET= dict
+INSTALL_TARGET= install.dict
+MAN1= dict.1
+
+.include <bsd.port.mk>
diff --git a/textproc/dict/distinfo b/textproc/dict/distinfo
new file mode 100644
index 00000000000..8b656aa42a3
--- /dev/null
+++ b/textproc/dict/distinfo
@@ -0,0 +1 @@
+MD5 (dictd-1.4.5.tar.gz) = 7e55118e7a3e62796da9cc2a87d48642
diff --git a/textproc/dict/files/patch-aa b/textproc/dict/files/patch-aa
new file mode 100644
index 00000000000..91175db49ac
--- /dev/null
+++ b/textproc/dict/files/patch-aa
@@ -0,0 +1,13 @@
+--- configure.orig Mon Feb 16 12:05:08 1998
++++ configure Thu Feb 19 23:48:55 1998
+@@ -549,8 +549,8 @@
+
+
+
+-prefix=/usr
+-etcdir=/etc
++prefix=${PREFIX}
++etcdir=${PREFIX}/etc
+ piddir=/var/run
+
+ echo Configuring for dict
diff --git a/textproc/dict/files/patch-ab b/textproc/dict/files/patch-ab
new file mode 100644
index 00000000000..b3394b77245
--- /dev/null
+++ b/textproc/dict/files/patch-ab
@@ -0,0 +1,13 @@
+--- Makefile.in.orig Mon Feb 16 12:00:09 1998
++++ Makefile.in Fri Feb 20 03:53:10 1998
+@@ -141,8 +141,8 @@
+ $(CC) -c $(XTRACFLAGS) $(CFLAGS) -Wno-implicit $<
+
+ install.dict: dict
+- install dict $(bindir)
+- install -m 644 dict.1 $(man1_prefix)
++ $(INSTALL) -m 755 -o bin -g bin dict $(bindir)
++ $(INSTALL) -m 644 -o bin -g bin dict.1 $(man1_prefix)
+
+ install.dictzip: dictzip
+ install dictzip $(bindir)
diff --git a/textproc/dict/files/patch-ac b/textproc/dict/files/patch-ac
new file mode 100644
index 00000000000..36c37c92216
--- /dev/null
+++ b/textproc/dict/files/patch-ac
@@ -0,0 +1,20 @@
+--- dict.1.orig Mon Feb 16 12:00:30 1998
++++ dict.1 Fri Feb 20 04:01:25 1998
+@@ -23,7 +23,7 @@
+ .\" Formatted or processed versions of this manual, if unaccompanied by
+ .\" the source, must acknowledge the copyright and authors of this work.
+ .\"
+-.TH DICT 1 "15 February 1998" "" "Linux Programmer's Manual"
++.TH DICT 1 "15 February 1998" "" ""
+ .SH NAME
+ dict \- DICT Protocol Client
+ .SH SYNOPSIS
+@@ -237,7 +237,7 @@
+ .SH FILES
+ .I ~/.dictrc
+ .br
+-.I /etc/dict.conf
++.I /usr/local/etc/dict.conf
+ .SH "SEE ALSO"
+ .BR dictd (8),
+ .BR dictzip (1),
diff --git a/textproc/dict/pkg-comment b/textproc/dict/pkg-comment
new file mode 100644
index 00000000000..95074ad6da4
--- /dev/null
+++ b/textproc/dict/pkg-comment
@@ -0,0 +1 @@
+Dictionary Server Protocol (RFC2229) client
diff --git a/textproc/dict/pkg-descr b/textproc/dict/pkg-descr
new file mode 100644
index 00000000000..ee61ed1ca4c
--- /dev/null
+++ b/textproc/dict/pkg-descr
@@ -0,0 +1,14 @@
+The Dictionary Server Protocol (DICT) is a TCP transaction based
+query/response protocol that allows a client to access dictionary
+definitions from a set of natural language dictionary databases.
+
+RFC 2229 describes the DICT client/server protocol.
+
+dict(1) is a client which can access DICT servers from the
+command line.
+
+http://www.dict.org/
+
+
+--
+Josh Gilliam josh@quick.net
diff --git a/textproc/dict/pkg-plist b/textproc/dict/pkg-plist
new file mode 100644
index 00000000000..f1333c1e10b
--- /dev/null
+++ b/textproc/dict/pkg-plist
@@ -0,0 +1,2 @@
+bin/dict
+man/man1/dict.1.gz