diff options
author | tobez <tobez@FreeBSD.org> | 2002-07-26 07:18:10 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2002-07-26 07:18:10 +0800 |
commit | 90a93e632ae01df8eb09850993213018a9544688 (patch) | |
tree | 2fda4ce44ea8f66ddfc2a96fc33f94c7660ea1fb /net/p5-Net-Dict | |
parent | 6cf6aed4203efbda208bc29babeeb5bd95231d33 (diff) | |
download | freebsd-ports-gnome-90a93e632ae01df8eb09850993213018a9544688.tar.gz freebsd-ports-gnome-90a93e632ae01df8eb09850993213018a9544688.tar.zst freebsd-ports-gnome-90a93e632ae01df8eb09850993213018a9544688.zip |
Add p5-Net-Dict 2.06, a simple client API for the DICT protocol.
PR: 40826
Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Diffstat (limited to 'net/p5-Net-Dict')
-rw-r--r-- | net/p5-Net-Dict/Makefile | 32 | ||||
-rw-r--r-- | net/p5-Net-Dict/distinfo | 1 | ||||
-rw-r--r-- | net/p5-Net-Dict/files/patch-tkdict | 19 | ||||
-rw-r--r-- | net/p5-Net-Dict/pkg-comment | 1 | ||||
-rw-r--r-- | net/p5-Net-Dict/pkg-descr | 8 | ||||
-rw-r--r-- | net/p5-Net-Dict/pkg-plist | 8 |
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 |