1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Add p5-URI-Find 0.11, perl module to find URIs in arbitrary text.

PR:		29678
Submitted by:	Pete Fritchman <petef@databits.net>
This commit is contained in:
Anton Berezin 2001-08-15 11:33:32 +00:00
parent 05a66bcaf3
commit b8c21a03d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46279
6 changed files with 47 additions and 0 deletions

View File

@ -122,6 +122,7 @@
SUBDIR += p5-Text-Wrapper
SUBDIR += p5-Tk-XMLViewer
SUBDIR += p5-Tree-Nary
SUBDIR += p5-URI-Find
SUBDIR += p5-XML-DOM
SUBDIR += p5-XML-DT
SUBDIR += p5-XML-Dumper

View File

@ -0,0 +1,26 @@
# New ports collection makefile for: p5-URI-Find
# Date created: 13 August 2001
# Whom: Pete Fritchman <petef@databits.net>
#
# $FreeBSD$
#
PORTNAME= URI-Find
PORTVERSION= 0.11
CATEGORIES= textproc net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= URI
PKGNAMEPREFIX= p5-
MAINTAINER= petef@databits.net
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= URI::Find.3 \
URI::Find::Schemeless.3
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (URI-Find-0.11.tar.gz) = 7d17d6f420415f4b351cdec5e5c42a82

View File

@ -0,0 +1 @@
Perl module to find URIs in arbitrary text

View File

@ -0,0 +1,11 @@
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
- Pete
petef@databits.net

View File

@ -0,0 +1,7 @@
lib/perl5/site_perl/%%PERL_VER%%/URI/Find.pm
lib/perl5/site_perl/%%PERL_VER%%/URI/Find/Schemeless.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/URI/Find/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/URI/Find
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/URI 2>/dev/null || true
@dirrm lib/perl5/site_perl/%%PERL_VER%%/URI/Find
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/URI 2>/dev/null || true