Add www/p5-URI-Title, a Perl module to get the titles of things on the
web in a sensible way.
This commit is contained in:
parent
a73a57c4d0
commit
cee92c572f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216140
@ -952,6 +952,7 @@
|
||||
SUBDIR += p5-Tie-TinyURL
|
||||
SUBDIR += p5-URI-Fetch
|
||||
SUBDIR += p5-URI-Sequin
|
||||
SUBDIR += p5-URI-Title
|
||||
SUBDIR += p5-URI-ToDisk
|
||||
SUBDIR += p5-W3C-LinkChecker
|
||||
SUBDIR += p5-W3C-LogValidator
|
||||
|
30
www/p5-URI-Title/Makefile
Normal file
30
www/p5-URI-Title/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# New ports collection makefile for: www/p5-URI-Title
|
||||
# Date created: 20 June 2008
|
||||
# Whom: Anton Berezin <tobez@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= URI-Title
|
||||
PORTVERSION= 1.80
|
||||
CATEGORIES= www perl5
|
||||
MASTER_SITES= CPAN
|
||||
MASTER_SITE_SUBDIR= URI
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= tobez@FreeBSD.org
|
||||
COMMENT= Get the titles of things on the web in a sensible way
|
||||
|
||||
BUILD_DEPENDS= p5-Module-Pluggable>=1.2:${PORTSDIR}/devel/p5-Module-Pluggable \
|
||||
p5-libwww>0:${PORTSDIR}/www/p5-libwww \
|
||||
p5-File-Type>=0.22:${PORTSDIR}/devel/p5-File-Type \
|
||||
p5-HTML-Parser>=3.45:${PORTSDIR}/www/p5-HTML-Parser \
|
||||
p5-Image-Size>0:${PORTSDIR}/graphics/p5-Image-Size \
|
||||
p5-MP3-Info>0:${PORTSDIR}/audio/p5-MP3-Info
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= 5.8.1+
|
||||
|
||||
MAN3= URI::Title.3
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/p5-URI-Title/distinfo
Normal file
3
www/p5-URI-Title/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (URI-Title-1.80.tar.gz) = 77646327e30bfdcda9594793d96e16ba
|
||||
SHA256 (URI-Title-1.80.tar.gz) = 4831e9fb50606f2584310ed7230d7104140014c9a361fcaffec4daa4e72be695
|
||||
SIZE (URI-Title-1.80.tar.gz) = 6276
|
18
www/p5-URI-Title/pkg-descr
Normal file
18
www/p5-URI-Title/pkg-descr
Normal file
@ -0,0 +1,18 @@
|
||||
Let's suppose you want to find the title of things on the web. This
|
||||
seems like a really simple request, just get() the object, parse for a
|
||||
title tag, you're done. There are several problems with this approach:
|
||||
|
||||
- What if the resource is on a very slow server? Do we wait for ever or
|
||||
what?
|
||||
|
||||
- What if the resource is a 900 gig file? You don't want to download
|
||||
that.
|
||||
|
||||
- What if the page title isn't in a title tag, but is buried in the HTML
|
||||
somewhere?
|
||||
|
||||
- What if the resource is an MP3 file, or a word document or something?
|
||||
|
||||
This module attempts to solve this problem.
|
||||
|
||||
WWW: http://search.cpan.org/dist/URI-Title/
|
11
www/p5-URI-Title/pkg-plist
Normal file
11
www/p5-URI-Title/pkg-plist
Normal file
@ -0,0 +1,11 @@
|
||||
%%SITE_PERL%%/URI/Title.pm
|
||||
%%SITE_PERL%%/URI/Title/HTML.pm
|
||||
%%SITE_PERL%%/URI/Title/Image.pm
|
||||
%%SITE_PERL%%/URI/Title/MP3.pm
|
||||
%%SITE_PERL%%/URI/Title/PDF.pm
|
||||
%%SITE_PERL%%/URI/title.pl
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/URI/Title/.packlist
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/URI/Title
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/URI
|
||||
@dirrmtry %%SITE_PERL%%/URI/Title
|
||||
@dirrmtry %%SITE_PERL%%/URI
|
Loading…
Reference in New Issue
Block a user