Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  5 Nov 2003 00:30:02 +0800 (CST)
From:      Cheng-Lung Sung <clsung@dragon2.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        clsung@tiger2.net
Subject:   ports/58929: New port: www/p5-IMDB-Movie
Message-ID:  <20031104163002.095D8157AE@mail.dragon2.net>
Resent-Message-ID: <200311041630.hA4GUNu8023936@freefall.freebsd.org>

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

>Number:         58929
>Category:       ports
>Synopsis:       New port: www/p5-IMDB-Movie
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 04 08:30:23 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Cheng-Lung Sung
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD sungsung.csie.nctu.edu.tw 4.9-RELEASE FreeBSD 4.9-RELEASE #5: Wed Oct 29 20:13:25 CST 2003 root@sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386

>Description:
- new port: A Perl module to fetch movie info from www.imdb.com
- Also note: devel/p5-Clone should better update to 0.15 first.
>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-IMDB-Movie
#	p5-IMDB-Movie/pkg-descr
#	p5-IMDB-Movie/Makefile
#	p5-IMDB-Movie/pkg-plist
#	p5-IMDB-Movie/distinfo
#
echo c - p5-IMDB-Movie
mkdir -p p5-IMDB-Movie > /dev/null 2>&1
echo x - p5-IMDB-Movie/pkg-descr
sed 's/^X//' >p5-IMDB-Movie/pkg-descr << 'END-of-p5-IMDB-Movie/pkg-descr'
XThis is a module that uses LWP and HTML::TokeParser to parse the 
Xweb page for the requested movie. You can use an IMDB identification 
Xnumber or the name of the movie. IMDB.pm will try to return the 
Xbest match.
X
XAuthor:	Jeffrey Hayes Anderson <captvanhalen@yahoo.com>
X
XWWW:	http://search.cpan.org/~jeffa/IMDB-Movie/
END-of-p5-IMDB-Movie/pkg-descr
echo x - p5-IMDB-Movie/Makefile
sed 's/^X//' >p5-IMDB-Movie/Makefile << 'END-of-p5-IMDB-Movie/Makefile'
X# New ports collection makefile for:	p5-IMDB-Movie
X# Date created:		2003-11-04
X# Whom:			Cheng-Lung Sung <clsung@dragon2.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	IMDB-Movie
XPORTVERSION=	0.09
XCATEGORIES=	www perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	../by-authors/id/J/JE/JEFFA
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	ports@FreeBSD.ORG
XCOMMENT=	Perl module to fetch movie info from www.imdb.com
X
XBUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/Clone.pm:${PORTSDIR}/devel/p5-Clone \
X		${SITE_PERL}/${PERL_ARCH}/HTML/TokeParser.pm:${PORTSDIR}/www/p5-HTML-Parser \
X		${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww \
X		${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
XRUN_DEPENDS=    ${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=		IMDB::Movie.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500601
XIGNORE=		This port requires perl 5.6.1 or later. Install lang/perl5 then try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-IMDB-Movie/Makefile
echo x - p5-IMDB-Movie/pkg-plist
sed 's/^X//' >p5-IMDB-Movie/pkg-plist << 'END-of-p5-IMDB-Movie/pkg-plist'
X@comment $FreeBSD$
X%%SITE_PERL%%/IMDB/Movie.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/IMDB/Movie/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IMDB/Movie
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IMDB 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/IMDB 2>/dev/null || true
END-of-p5-IMDB-Movie/pkg-plist
echo x - p5-IMDB-Movie/distinfo
sed 's/^X//' >p5-IMDB-Movie/distinfo << 'END-of-p5-IMDB-Movie/distinfo'
XMD5 (IMDB-Movie-0.09.tar.gz) = 9f27fe50eda14df397396b8a1ec3d45d
END-of-p5-IMDB-Movie/distinfo
exit


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



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