diff options
-rw-r--r-- | net/Makefile | 1 | ||||
-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 |
7 files changed, 70 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 96b3d437f576..3f12d22b16dc 100644 --- a/net/Makefile +++ b/net/Makefile @@ -351,6 +351,7 @@ SUBDIR += p5-Net-DNS SUBDIR += p5-Net-DNS-ZoneFile SUBDIR += p5-Net-Daemon + SUBDIR += p5-Net-Dict SUBDIR += p5-Net-Google SUBDIR += p5-Net-ICQ2000 SUBDIR += p5-Net-IP 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 |