summaryrefslogtreecommitdiff
path: root/net/p5-Net-Dict
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2002-07-25 23:18:10 +0000
committerAnton Berezin <tobez@FreeBSD.org>2002-07-25 23:18:10 +0000
commitd6d910afe6e239d8e52e0efccc318f14b6611af1 (patch)
tree356b6307fbd576cefb75f0a06f51a75e4bd9e1f9 /net/p5-Net-Dict
parentAdd p5-AppConfig-Std 1.07, a subclass of AppConfig that provides a set (diff)
Add p5-Net-Dict 2.06, a simple client API for the DICT protocol.
PR: 40826 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Notes
Notes: svn path=/head/; revision=63576
Diffstat (limited to 'net/p5-Net-Dict')
-rw-r--r--net/p5-Net-Dict/Makefile32
-rw-r--r--net/p5-Net-Dict/distinfo1
-rw-r--r--net/p5-Net-Dict/files/patch-tkdict19
-rw-r--r--net/p5-Net-Dict/pkg-comment1
-rw-r--r--net/p5-Net-Dict/pkg-descr8
-rw-r--r--net/p5-Net-Dict/pkg-plist8
6 files changed, 69 insertions, 0 deletions
diff --git a/net/p5-Net-Dict/Makefile b/net/p5-Net-Dict/Makefile
new file mode 100644
index 000000000000..14d4854166cc
--- /dev/null
+++ b/net/p5-Net-Dict/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: p5-Net-Dict
+# Date created: 21 July 2002
+# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-Dict
+PORTVERSION= 2.06
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= fuyuki@hadaly.org
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/Cmd.pm:${PORTSDIR}/net/p5-Net
+# if you want to run dict(1):
+#RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/AppConfig/Std.pm:${PORTSDIR}/devel/p5-AppConfig-Std
+# if you want to run tkdict(1) too:
+#RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
+
+PERL_CONFIGURE= yes
+
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN1= dict.1 tkdict.1
+MAN3= Net::Dict.3
+
+post-patch:
+ ${PERL} -pi -e 's/^&configure.*$$//' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/net/p5-Net-Dict/distinfo b/net/p5-Net-Dict/distinfo
new file mode 100644
index 000000000000..64ebed261aba
--- /dev/null
+++ b/net/p5-Net-Dict/distinfo
@@ -0,0 +1 @@
+MD5 (Net-Dict-2.06.tar.gz) = 69861c93e5b56f5e9c7e0952c6b2bbe6
diff --git a/net/p5-Net-Dict/files/patch-tkdict b/net/p5-Net-Dict/files/patch-tkdict
new file mode 100644
index 000000000000..fe47f2740a96
--- /dev/null
+++ b/net/p5-Net-Dict/files/patch-tkdict
@@ -0,0 +1,19 @@
+*** tkdict.orig Sun Jul 21 17:55:46 2002
+--- tkdict Sun Jul 21 17:56:11 2002
+***************
+*** 340,346 ****
+ #=======================================================================
+ sub set_mode
+ {
+!
+ if ($lookup_mode eq 'match')
+ {
+ $sframe->pack();
+--- 340,346 ----
+ #=======================================================================
+ sub set_mode
+ {
+! return if (!defined($sframe));
+ if ($lookup_mode eq 'match')
+ {
+ $sframe->pack();
diff --git a/net/p5-Net-Dict/pkg-comment b/net/p5-Net-Dict/pkg-comment
new file mode 100644
index 000000000000..50f1cf0c8ee7
--- /dev/null
+++ b/net/p5-Net-Dict/pkg-comment
@@ -0,0 +1 @@
+A simple client API for the DICT protocol
diff --git a/net/p5-Net-Dict/pkg-descr b/net/p5-Net-Dict/pkg-descr
new file mode 100644
index 000000000000..4318e940d125
--- /dev/null
+++ b/net/p5-Net-Dict/pkg-descr
@@ -0,0 +1,8 @@
+Net::Dict is a perl class for looking up words and their definitions
+on network dictionary servers. Net::Dict provides a simple DICT
+client API for the network protocol described in RFC2229.
+
+WWW: http://search.cpan.org/search?dist=Net-Dict
+
+- Kimura Fuyuki
+fuyuki@hadaly.org
diff --git a/net/p5-Net-Dict/pkg-plist b/net/p5-Net-Dict/pkg-plist
new file mode 100644
index 000000000000..1727ecaded0d
--- /dev/null
+++ b/net/p5-Net-Dict/pkg-plist
@@ -0,0 +1,8 @@
+bin/dict
+bin/tkdict
+lib/perl5/site_perl/%%PERL_VER%%/Net/Dict.pm
+lib/perl5/site_perl/%%PERL_VER%%/Net/Dict.pod
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Dict/.packlist
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Dict
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true