Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2001 13:39:07 -0400 (EDT)
From:      Pete Fritchman <petef@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29678: New port: net/p5-URI-Find
Message-ID:  <20010813173907.0A08CD925@electron.databits.net>

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

>Number:         29678
>Category:       ports
>Synopsis:       New port: net/p5-URI-Find
>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:   Mon Aug 13 10:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Pete Fritchman
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Databits Network Services, Inc.
>Environment:
System: FreeBSD entropy.databits.net 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Wed Aug 8 12:51:05 EDT 2001 root@entropy.databits.net:/usr/obj/usr/src/sys/ENTROPY i386

>Description:

This module does one thing:  finds URIs and URLs in plain text.  It
finds them quickly and it finds them all (or what URI::URL considers
a URI to be).  It employs a series of heuristics too:
  - Find schemeless URIs (ie. www.foo.com)
  - Avoid picking up trailing characters from the text
  - Avoid picking up URL-like things such as Perl module names.

WWW: http://search.cpan.org/search?dist=URI-Find

>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-URI-Find
#	p5-URI-Find/pkg-descr
#	p5-URI-Find/distinfo
#	p5-URI-Find/pkg-plist
#	p5-URI-Find/Makefile
#	p5-URI-Find/pkg-comment
#
echo c - p5-URI-Find
mkdir -p p5-URI-Find > /dev/null 2>&1
echo x - p5-URI-Find/pkg-descr
sed 's/^X//' >p5-URI-Find/pkg-descr << 'END-of-p5-URI-Find/pkg-descr'
XThis module does one thing:  finds URIs and URLs in plain text.  It
Xfinds them quickly and it finds them all (or what URI::URL considers
Xa URI to be).  It employs a series of heuristics too:
X  - Find schemeless URIs (ie. www.foo.com)
X  - Avoid picking up trailing characters from the text
X  - Avoid picking up URL-like things such as Perl module names.
X
XWWW: http://search.cpan.org/search?dist=URI-Find
X
X- Pete
Xpetef@databits.net
END-of-p5-URI-Find/pkg-descr
echo x - p5-URI-Find/distinfo
sed 's/^X//' >p5-URI-Find/distinfo << 'END-of-p5-URI-Find/distinfo'
XMD5 (URI-Find-0.11.tar.gz) = 7d17d6f420415f4b351cdec5e5c42a82
END-of-p5-URI-Find/distinfo
echo x - p5-URI-Find/pkg-plist
sed 's/^X//' >p5-URI-Find/pkg-plist << 'END-of-p5-URI-Find/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/URI/Find.pm
Xlib/perl5/site_perl/%%PERL_VER%%/URI/Find/Schemeless.pm
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/URI/Find/.packlist
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/URI/Find
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/URI 2>/dev/null || true
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/URI/Find
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/URI 2>/dev/null || true
END-of-p5-URI-Find/pkg-plist
echo x - p5-URI-Find/Makefile
sed 's/^X//' >p5-URI-Find/Makefile << 'END-of-p5-URI-Find/Makefile'
X# New ports collection makefile for:	p5-URI-Find
X# Date created:				13 August 2001
X# Whom:					Pete Fritchman <petef@databits.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	URI-Find
XPORTVERSION=	0.11
XCATEGORIES=	net perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	URI
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	petef@databits.net
X
XBUILD_DEPENDS=	${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XUSE_PERL5=	yes
X
XSITE_PERL=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
XPERL_CONFIGURE=	yes
X
XMAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
XMAN3=	URI::Find.3 \
X	URI::Find::Schemeless.3
X
X.include <bsd.port.mk>
END-of-p5-URI-Find/Makefile
echo x - p5-URI-Find/pkg-comment
sed 's/^X//' >p5-URI-Find/pkg-comment << 'END-of-p5-URI-Find/pkg-comment'
XPerl module to find URIs in arbitrary text
END-of-p5-URI-Find/pkg-comment
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?20010813173907.0A08CD925>