From c017b4ac8a31f835da77d353fa8488dc8058b14b Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Fri, 21 Jul 2006 14:18:45 +0000 Subject: [PATCH] Add p5-WWW-Google-Video 0.3, this's a interface for fetch the Google Video Information. PR: ports/100551 Submitted by: Tsung-Han Yeh --- www/Makefile | 1 + www/p5-WWW-Google-Video/Makefile | 31 +++++++++++++++++++++++++++++++ www/p5-WWW-Google-Video/distinfo | 3 +++ www/p5-WWW-Google-Video/pkg-descr | 8 ++++++++ www/p5-WWW-Google-Video/pkg-plist | 7 +++++++ 5 files changed, 50 insertions(+) create mode 100644 www/p5-WWW-Google-Video/Makefile create mode 100644 www/p5-WWW-Google-Video/distinfo create mode 100644 www/p5-WWW-Google-Video/pkg-descr create mode 100644 www/p5-WWW-Google-Video/pkg-plist diff --git a/www/Makefile b/www/Makefile index d7807ab9d70d..a0e400549b4e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -764,6 +764,7 @@ SUBDIR += p5-WWW-Dilbert SUBDIR += p5-WWW-Google-News SUBDIR += p5-WWW-Google-News-TW + SUBDIR += p5-WWW-Google-Video SUBDIR += p5-WWW-IMDb SUBDIR += p5-WWW-Link SUBDIR += p5-WWW-Mechanize diff --git a/www/p5-WWW-Google-Video/Makefile b/www/p5-WWW-Google-Video/Makefile new file mode 100644 index 000000000000..076e479506f4 --- /dev/null +++ b/www/p5-WWW-Google-Video/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: p5-WWW-Google-Video +# Date created: 2006-07-19 +# Whom: Tsung-Han Yeh +# +# $FreeBSD$ +# + +PORTNAME= WWW-Google-Video +PORTVERSION= 0.3 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= WWW/KENWU +PKGNAMEPREFIX= p5- + +MAINTAINER= snowfly@yuntech.edu.tw +COMMENT= This's a interface for fetch the Google Video Information + +BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= WWW::Google::Video.3 + +.include + +.if ${PERL_LEVEL} < 500600 +IGNORE= requires at least Perl 5.6 due to dependencies. Please install lang/perl5.8 and try again +.endif + +.include diff --git a/www/p5-WWW-Google-Video/distinfo b/www/p5-WWW-Google-Video/distinfo new file mode 100644 index 000000000000..29c42699df24 --- /dev/null +++ b/www/p5-WWW-Google-Video/distinfo @@ -0,0 +1,3 @@ +MD5 (WWW-Google-Video-0.3.tar.gz) = 46fe988f621fb90fe7de6cf16cd1e5f0 +SHA256 (WWW-Google-Video-0.3.tar.gz) = b94d1b818f03ee3bf23a761dbd50aadfd94caeb347c0bb27fe15aa418914e62a +SIZE (WWW-Google-Video-0.3.tar.gz) = 7949 diff --git a/www/p5-WWW-Google-Video/pkg-descr b/www/p5-WWW-Google-Video/pkg-descr new file mode 100644 index 000000000000..b3a6749a1966 --- /dev/null +++ b/www/p5-WWW-Google-Video/pkg-descr @@ -0,0 +1,8 @@ +The WWW::Google::Video is a class implementing a interface +for fetch the Google Video Information. +To use it, you should create WWW::Google::Video object +and use its method fetch(), to fetch the information of Video. +It uses LWP::Simple for making request to Google. + +Author: Lilo Huang +WWW: http://search.cpan.org/~kenwu/WWW-Google-Video/ diff --git a/www/p5-WWW-Google-Video/pkg-plist b/www/p5-WWW-Google-Video/pkg-plist new file mode 100644 index 000000000000..a946db4ebf1b --- /dev/null +++ b/www/p5-WWW-Google-Video/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/WWW/Google/Video.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Google/Video/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Google/Video +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Google +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW +@dirrmtry %%SITE_PERL%%/WWW/Google +@dirrmtry %%SITE_PERL%%/WWW