1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add p5-Net-Dict 2.06, a simple client API for the DICT protocol.

PR:		40826
Submitted by:	Kimura Fuyuki <fuyuki@hadaly.org>
This commit is contained in:
Anton Berezin 2002-07-25 23:18:10 +00:00
parent 867df7cdac
commit d6d910afe6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63576
7 changed files with 70 additions and 0 deletions

View File

@ -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

32
net/p5-Net-Dict/Makefile Normal file
View File

@ -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>

1
net/p5-Net-Dict/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (Net-Dict-2.06.tar.gz) = 69861c93e5b56f5e9c7e0952c6b2bbe6

View File

@ -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();

View File

@ -0,0 +1 @@
A simple client API for the DICT protocol

View File

@ -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

View File

@ -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