summaryrefslogtreecommitdiff
path: root/textproc/dict-client
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-07-27 22:00:21 +0000
committertron <tron@pkgsrc.org>1999-07-27 22:00:21 +0000
commitff20873c5206c4967ba53f0df9ea8f08cc24305e (patch)
tree7730e8db356d08691510c5cd6393fc4ab6349672 /textproc/dict-client
parent2b9914f78de28b9982a795e56b6700d357a40d16 (diff)
downloadpkgsrc-ff20873c5206c4967ba53f0df9ea8f08cc24305e.tar.gz
Import "dict-client" package submitted by Michael Santos in PR pkg/7998:
Dictionary Service Protocol client.
Diffstat (limited to 'textproc/dict-client')
-rw-r--r--textproc/dict-client/Makefile18
-rw-r--r--textproc/dict-client/files/md53
-rw-r--r--textproc/dict-client/files/patch-sum5
-rw-r--r--textproc/dict-client/patches/patch-aa16
-rw-r--r--textproc/dict-client/patches/patch-ab30
-rw-r--r--textproc/dict-client/patches/patch-ac15
-rw-r--r--textproc/dict-client/pkg/COMMENT1
-rw-r--r--textproc/dict-client/pkg/DESCR6
-rw-r--r--textproc/dict-client/pkg/PLIST3
9 files changed, 97 insertions, 0 deletions
diff --git a/textproc/dict-client/Makefile b/textproc/dict-client/Makefile
new file mode 100644
index 00000000000..ec9e2c069db
--- /dev/null
+++ b/textproc/dict-client/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/07/27 22:00:21 tron Exp $
+
+DISTNAME= dictd-1.4.9
+PKGNAME= dict-client-1.4.9
+CATEGORIES= textproc
+MASTER_SITES= ftp://ftp.cs.unc.edu/pub/users/faith/dict/ \
+ ftp://ftp.dict.org/pub/dict/
+
+MAINTAINER= mike@ethmoid.org
+HOMEPAGE= http://www.dict.org/
+
+ALL_TARGET= dict
+INSTALL_TARGET= install.dict
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/dict-client/files/md5 b/textproc/dict-client/files/md5
new file mode 100644
index 00000000000..3d925d0e006
--- /dev/null
+++ b/textproc/dict-client/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/07/27 22:00:21 tron Exp $
+
+MD5 (dictd-1.4.9.tar.gz) = 90e69ac4783b8836dbe98f8367b5f391
diff --git a/textproc/dict-client/files/patch-sum b/textproc/dict-client/files/patch-sum
new file mode 100644
index 00000000000..d06a0eb1b80
--- /dev/null
+++ b/textproc/dict-client/files/patch-sum
@@ -0,0 +1,5 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/07/27 22:00:21 tron Exp $
+
+MD5 (patch-aa) = 497f18d240f14633e3f015c923ae4bab
+MD5 (patch-ab) = d4819948345574ae7185c730489a173e
+MD5 (patch-ac) = f7bec0b55edec5037ded0e0ee3697e96
diff --git a/textproc/dict-client/patches/patch-aa b/textproc/dict-client/patches/patch-aa
new file mode 100644
index 00000000000..fde77707635
--- /dev/null
+++ b/textproc/dict-client/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/07/27 22:00:22 tron Exp $
+
+*** libmaa/maaP.h.orig Sun Jul 11 21:58:17 1999
+--- libmaa/maaP.h Sun Jul 11 18:06:52 1999
+***************
+*** 104,110 ****
+--- 104,112 ----
+ #if !defined(__FreeBSD__) && !defined(__DGUX__) && !defined(__hpux__)
+ #if !defined(__bsdi__) && !(defined(__sparc) && defined(__svr4__))
++ #if !defined(__NetBSD__)
+ extern int getopt( int, char **, char * );
+ extern int optind;
+ extern char *optarg;
++ #endif
+ #endif
+ #endif
diff --git a/textproc/dict-client/patches/patch-ab b/textproc/dict-client/patches/patch-ab
new file mode 100644
index 00000000000..eec1005f343
--- /dev/null
+++ b/textproc/dict-client/patches/patch-ab
@@ -0,0 +1,30 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/07/27 22:00:22 tron Exp $
+
+*** configure.orig Tue Jul 13 23:04:36 1999
+--- configure Tue Jul 13 23:06:29 1999
+***************
+*** 47,50 ****
+--- 47,51 ----
+ build=NONE
+ cache_file=./config.cache
++ etcdir=/etc
+ exec_prefix=NONE
+ host=NONE
+***************
+*** 52,55 ****
+--- 53,57 ----
+ nonopt=NONE
+ no_recursion=
++ piddir=/var/run
+ prefix=NONE
+ program_prefix=NONE
+***************
+*** 550,556 ****
+
+
+- prefix=/usr
+- etcdir=/etc
+- piddir=/var/run
+
+ echo Configuring for dict
+--- 552,555 ----
diff --git a/textproc/dict-client/patches/patch-ac b/textproc/dict-client/patches/patch-ac
new file mode 100644
index 00000000000..e6e0f524608
--- /dev/null
+++ b/textproc/dict-client/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/07/27 22:00:22 tron Exp $
+
+--- Makefile.in.orig Mon Jul 6 00:09:59 1998
++++ Makefile.in Tue Jul 27 23:55:26 1999
+@@ -141,8 +141,8 @@
+ $(CC) -c $(XTRACFLAGS) $(CFLAGS) -Wno-implicit $<
+
+ install.dict: dict
+- install dict $(bindir)
+- install -m 644 dict.1 $(man1_prefix)
++ ${BSD_INSTALL_PROGRAM} dict $(bindir)
++ ${BSD_INSTALL_MAN} dict.1 $(man1_prefix)
+
+ install.dictzip: dictzip
+ install dictzip $(bindir)
diff --git a/textproc/dict-client/pkg/COMMENT b/textproc/dict-client/pkg/COMMENT
new file mode 100644
index 00000000000..8a518f8f9fd
--- /dev/null
+++ b/textproc/dict-client/pkg/COMMENT
@@ -0,0 +1 @@
+Dictionary Service Protocol client.
diff --git a/textproc/dict-client/pkg/DESCR b/textproc/dict-client/pkg/DESCR
new file mode 100644
index 00000000000..8b542727ae4
--- /dev/null
+++ b/textproc/dict-client/pkg/DESCR
@@ -0,0 +1,6 @@
+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.
+
+dict(1) is a client which can access DICT servers from the command
+line.
diff --git a/textproc/dict-client/pkg/PLIST b/textproc/dict-client/pkg/PLIST
new file mode 100644
index 00000000000..828c333441d
--- /dev/null
+++ b/textproc/dict-client/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/07/27 22:00:21 tron Exp $
+bin/dict
+man/man1/dict.1