Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2002 19:01:09 +0900 (JST)
From:      Kimura Fuyuki <fuyuki@hadaly.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40826: New port: net/p5-Net-Dict - a simple DICT client API
Message-ID:  <20020721100109.3C3C5553F@hadaly.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         40826
>Category:       ports
>Synopsis:       New port: net/p5-Net-Dict - a simple DICT client API
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 21 03:10:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 4.6-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD hadaly.dyndns.org 4.6-RELEASE-p3 FreeBSD 4.6-RELEASE-p3 #4: Thu Jul 18 20:19:25 JST 2002 root@hadaly.dyndns.org:/sack/tmp/obj/pub/src/sys/NS i386


	
>Description:
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
	
>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Net-Dict
#	p5-Net-Dict/Makefile
#	p5-Net-Dict/distinfo
#	p5-Net-Dict/pkg-comment
#	p5-Net-Dict/pkg-descr
#	p5-Net-Dict/pkg-plist
#	p5-Net-Dict/files
#	p5-Net-Dict/files/patch-tkdict
#
echo c - p5-Net-Dict
mkdir -p p5-Net-Dict > /dev/null 2>&1
echo x - p5-Net-Dict/Makefile
sed 's/^X//' >p5-Net-Dict/Makefile << 'END-of-p5-Net-Dict/Makefile'
X# New ports collection makefile for:   p5-Net-Dict
X# Date created:                21 July 2002
X# Whom:                        Kimura Fuyuki <fuyuki@hadaly.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Net-Dict
XPORTVERSION=	2.06
XCATEGORIES=	net perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Net
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	fuyuki@hadaly.org
X
XRUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/Cmd.pm:${PORTSDIR}/net/p5-Net
X# if you want to run dict(1):
X#RUN_DEPENDS+=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/AppConfig/Std.pm:${PORTSDIR}/devel/p5-AppConfig-Std
X# if you want to run tkdict(1) too:
X#RUN_DEPENDS+=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
X
XPERL_CONFIGURE=	yes
X
XMAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
XMAN1=		dict.1 tkdict.1
XMAN3=		Net::Dict.3
X
Xpost-patch:
X	${PERL} -pi -e 's/^&configure.*$$//' ${WRKSRC}/Makefile.PL
X
X.include <bsd.port.mk>
END-of-p5-Net-Dict/Makefile
echo x - p5-Net-Dict/distinfo
sed 's/^X//' >p5-Net-Dict/distinfo << 'END-of-p5-Net-Dict/distinfo'
XMD5 (Net-Dict-2.06.tar.gz) = 69861c93e5b56f5e9c7e0952c6b2bbe6
END-of-p5-Net-Dict/distinfo
echo x - p5-Net-Dict/pkg-comment
sed 's/^X//' >p5-Net-Dict/pkg-comment << 'END-of-p5-Net-Dict/pkg-comment'
XA simple client API for the DICT protocol
END-of-p5-Net-Dict/pkg-comment
echo x - p5-Net-Dict/pkg-descr
sed 's/^X//' >p5-Net-Dict/pkg-descr << 'END-of-p5-Net-Dict/pkg-descr'
XNet::Dict is a perl class for looking up words and their definitions
Xon network dictionary servers.  Net::Dict provides a simple DICT
Xclient API for the network protocol described in RFC2229.
X
XWWW: http://search.cpan.org/search?dist=Net-Dict
X
X- Kimura Fuyuki
Xfuyuki@hadaly.org
END-of-p5-Net-Dict/pkg-descr
echo x - p5-Net-Dict/pkg-plist
sed 's/^X//' >p5-Net-Dict/pkg-plist << 'END-of-p5-Net-Dict/pkg-plist'
Xbin/dict
Xbin/tkdict
Xlib/perl5/site_perl/%%PERL_VER%%/Net/Dict.pm
Xlib/perl5/site_perl/%%PERL_VER%%/Net/Dict.pod
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Dict/.packlist
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Dict
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
END-of-p5-Net-Dict/pkg-plist
echo c - p5-Net-Dict/files
mkdir -p p5-Net-Dict/files > /dev/null 2>&1
echo x - p5-Net-Dict/files/patch-tkdict
sed 's/^X//' >p5-Net-Dict/files/patch-tkdict << 'END-of-p5-Net-Dict/files/patch-tkdict'
X*** tkdict.orig	Sun Jul 21 17:55:46 2002
X--- tkdict	Sun Jul 21 17:56:11 2002
X***************
X*** 340,346 ****
X  #=======================================================================
X  sub set_mode
X  {
X! 
X      if ($lookup_mode eq 'match')
X      {
X  	$sframe->pack();
X--- 340,346 ----
X  #=======================================================================
X  sub set_mode
X  {
X!     return if (!defined($sframe));
X      if ($lookup_mode eq 'match')
X      {
X  	$sframe->pack();
END-of-p5-Net-Dict/files/patch-tkdict
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020721100109.3C3C5553F>