summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-03-15 15:41:29 +0000
committerobache <obache@pkgsrc.org>2007-03-15 15:41:29 +0000
commit5bebcaeddea8a4f07b139f5489e037facf8e5066 (patch)
treed574d5872ab944e6ea546d69728abe90418e04b8 /textproc
parent27ececf5031c9bf3b4929007e2fc510bf4db93d6 (diff)
downloadpkgsrc-5bebcaeddea8a4f07b139f5489e037facf8e5066.tar.gz
Import p5-Net-Dict version 2.07 from pkgsrc-wip.
Pakcaged by Aleksey Cheusov and requested in PR 35469. This distribution contains the Net::Dict module for Perl. Net::Dict is a class implementing a simple client API for the DICT protocol defined in RFC2229.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-Net-Dict/DESCR3
-rw-r--r--textproc/p5-Net-Dict/Makefile22
-rw-r--r--textproc/p5-Net-Dict/PLIST1
-rw-r--r--textproc/p5-Net-Dict/distinfo6
-rw-r--r--textproc/p5-Net-Dict/patches/patch-aa15
5 files changed, 47 insertions, 0 deletions
diff --git a/textproc/p5-Net-Dict/DESCR b/textproc/p5-Net-Dict/DESCR
new file mode 100644
index 00000000000..f72d3c63bcc
--- /dev/null
+++ b/textproc/p5-Net-Dict/DESCR
@@ -0,0 +1,3 @@
+This distribution contains the Net::Dict module for Perl.
+Net::Dict is a class implementing a simple client API
+for the DICT protocol defined in RFC2229.
diff --git a/textproc/p5-Net-Dict/Makefile b/textproc/p5-Net-Dict/Makefile
new file mode 100644
index 00000000000..4a00667eccc
--- /dev/null
+++ b/textproc/p5-Net-Dict/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/03/15 15:41:29 obache Exp $
+#
+
+DISTNAME= Net-Dict-2.07
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= net textproc
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/~neilb/Net-Dict/
+COMMENT= Client API for the DICT protocol defined in RFC2229
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PERL5_PACKLIST= auto/Net/Dict/.packlist
+
+CONFLICTS= dict-client-[0-9]*
+
+DEPENDS+= p5-AppConfig-Std-[0-9]*:../../devel/p5-AppConfig-Std
+DEPENDS+= p5-Tk-[0-9]*:../../x11/p5-Tk
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Net-Dict/PLIST b/textproc/p5-Net-Dict/PLIST
new file mode 100644
index 00000000000..64f6cc3a3ff
--- /dev/null
+++ b/textproc/p5-Net-Dict/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/15 15:41:29 obache Exp $
diff --git a/textproc/p5-Net-Dict/distinfo b/textproc/p5-Net-Dict/distinfo
new file mode 100644
index 00000000000..2d4a035197e
--- /dev/null
+++ b/textproc/p5-Net-Dict/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/03/15 15:41:29 obache Exp $
+
+SHA1 (Net-Dict-2.07.tar.gz) = e96735711be9704b83f165470813bd23f1be7ca5
+RMD160 (Net-Dict-2.07.tar.gz) = 417d440c7278e6ebb5a778e5483dc409846aaa70
+Size (Net-Dict-2.07.tar.gz) = 30284 bytes
+SHA1 (patch-aa) = ed579c715c33e158d51bbf0cfd03021eaed476e7
diff --git a/textproc/p5-Net-Dict/patches/patch-aa b/textproc/p5-Net-Dict/patches/patch-aa
new file mode 100644
index 00000000000..4299cc4f55b
--- /dev/null
+++ b/textproc/p5-Net-Dict/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/03/15 15:41:29 obache Exp $
+
+--- Makefile.PL.orig 2003-05-06 02:56:17.000000000 +0300
++++ Makefile.PL
+@@ -48,8 +48,8 @@ to skip "make test", then just hit retur
+
+ EOF
+
+- $host = prompt('what is the hostname for the DICT server?', $DEFAULT_HOST);
+- $port = prompt('what is the port for the DICT server?', $DEFAULT_PORT);
++ $host = "test.dict.org";
++ $port = 2628;
+ print "\nWriting test config $test_config_file\n\n";
+
+ open(CFGFILE, "> $test_config_file")