From d6d910afe6e239d8e52e0efccc318f14b6611af1 Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Thu, 25 Jul 2002 23:18:10 +0000 Subject: Add p5-Net-Dict 2.06, a simple client API for the DICT protocol. PR: 40826 Submitted by: Kimura Fuyuki --- net/p5-Net-Dict/Makefile | 32 ++++++++++++++++++++++++++++++++ net/p5-Net-Dict/distinfo | 1 + net/p5-Net-Dict/files/patch-tkdict | 19 +++++++++++++++++++ net/p5-Net-Dict/pkg-comment | 1 + net/p5-Net-Dict/pkg-descr | 8 ++++++++ net/p5-Net-Dict/pkg-plist | 8 ++++++++ 6 files changed, 69 insertions(+) create mode 100644 net/p5-Net-Dict/Makefile create mode 100644 net/p5-Net-Dict/distinfo create mode 100644 net/p5-Net-Dict/files/patch-tkdict create mode 100644 net/p5-Net-Dict/pkg-comment create mode 100644 net/p5-Net-Dict/pkg-descr create mode 100644 net/p5-Net-Dict/pkg-plist (limited to 'net/p5-Net-Dict') 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 +# +# $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 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 -- cgit v1.2.3