1 # $NetBSD: Makefile,v 1.25 2009/09/13 10:29:00 sno Exp $
4 PKGNAME= p5-${DISTNAME}
5 CATEGORIES= multimedia perl5
6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmltv/}
9 MAINTAINER= pkgsrc-users@NetBSD.org
10 HOMEPAGE= http://xmltv.org/wiki/
11 COMMENT= Set of utilities to manage your TV viewing
15 DEPENDS+= p5-Date-Manip>=5.42a:../../devel/p5-Date-Manip
16 DEPENDS+= p5-File-Slurp-[0-9]*:../../devel/p5-File-Slurp
17 DEPENDS+= p5-XML-Parser>=2.34:../../textproc/p5-XML-Parser
18 DEPENDS+= p5-XML-Twig>=3.10:../../textproc/p5-XML-Twig
19 DEPENDS+= p5-XML-Writer>=0.600:../../textproc/p5-XML-Writer
20 DEPENDS+= {perl>=5.10,p5-Memoize-[0-9]*}:../../devel/p5-Memoize
21 DEPENDS+= {perl>=5.10,p5-Storable>=2.04}:../../devel/p5-Storable
22 DEPENDS+= p5-libwww>=5.65:../../www/p5-libwww
24 DEPENDS+= p5-Lingua-EN-Numbers-Ordinate-[0-9]*:../../textproc/p5-Lingua-EN-Numbers-Ordinate
25 DEPENDS+= p5-Lingua-Preferred>=0.2.4:../../textproc/p5-Lingua-Preferred
26 DEPENDS+= p5-Term-ProgressBar>=2.03:../../devel/p5-Term-ProgressBar
27 DEPENDS+= p5-Unicode-String-[0-9]*:../../converters/p5-Unicode-String
28 # needed by se, uk grabbers
29 DEPENDS+= p5-IO-stringy-[0-9]*:../../devel/p5-IO-stringy
30 # needed by uk grabber
31 DEPENDS+= p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip
32 DEPENDS+= p5-HTTP-Cache-Transparent>=1.0:../../www/p5-HTTP-Cache-Transparent
33 # needed by us grabbers
34 DEPENDS+= p5-SOAP-Lite-[0-9]*:../../net/p5-SOAP-Lite
35 DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey
36 DEPENDS+= p5-HTML-TableExtract-[0-9]*:../../www/p5-HTML-TableExtract
37 DEPENDS+= p5-WWW-Mechanize>=1.02:../../www/p5-WWW-Mechanize
38 # needed by DirectTV grabbers in us
39 DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate
40 # needed by de, dk, es, fi, fr, huro, jp, nl, pt grabbers
41 DEPENDS+= p5-HTML-Tree-[0-9]*:../../www/p5-HTML-Tree
42 DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
43 # needed to grab for some european countries (epgdata.com)
44 DEPENDS+= p5-DateTime-Format-Strptime-[0-9]*:../../time/p5-DateTime-Format-Strptime
45 # needed by jp grabber
46 DEPENDS+= p5-Text-Kakasi-[0-9]*:../../textproc/p5-Text-Kakasi
47 # needed by se grabber
48 DEPENDS+= p5-XML-LibXML-[0-9]*:../../textproc/p5-XML-LibXML
49 DEPENDS+= p5-IO-Compress-[0-9]*:../../devel/p5-IO-Compress
50 DEPENDS+= p5-HTTP-Cache-Transparent-[0-9]*:../../www/p5-HTTP-Cache-Transparent
51 # needed by pt grabber
52 DEPENDS+= p5-Unicode-UTF8simple-[0-9]*:../../converters/p5-Unicode-UTF8simple
53 # needed by is grabbers
54 DEPENDS+= p5-XML-LibXSLT-[0-9]*:../../textproc/p5-XML-LibXSLT
55 DEPENDS+= p5-XML-DOM-[0-9]*:../../textproc/p5-XML-DOM
56 # Tk::TableMatrix missing for tv_check (report exceptions & changes in schedule)
58 PKG_INSTALLATION_TYPES= overwrite pkgviews
59 PKG_DESTDIR_SUPPORT= user-destdir
61 PERL5_PACKLIST= auto/XMLTV/.packlist
64 MAKE_PARAMS+= PREFIX=${PREFIX:Q}
65 PLIST_SUBST+= DISTNAME=${DISTNAME:Q}
67 .include "../../lang/perl5/module.mk"
68 .include "../../mk/bsd.pkg.mk"