aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-xmltv
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-11-08 12:59:30 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-11-08 12:59:30 +0000
commit992921f9e5e0d6e60a272ffead43120fcfe59e35 (patch)
tree949f5a688d7f2e21bc041280c44928941173613d /textproc/p5-xmltv
parentf83515d7e1aa223b424165e48aab7d45a3865ff5 (diff)
downloadports-992921f9e5e0d6e60a272ffead43120fcfe59e35.tar.gz
ports-992921f9e5e0d6e60a272ffead43120fcfe59e35.zip
Fix plist.
While there, fix dependency on www/p5-CGI. Reported by: qat Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=425736
Diffstat (limited to 'textproc/p5-xmltv')
-rw-r--r--textproc/p5-xmltv/Makefile9
-rw-r--r--textproc/p5-xmltv/pkg-plist1
2 files changed, 7 insertions, 3 deletions
diff --git a/textproc/p5-xmltv/Makefile b/textproc/p5-xmltv/Makefile
index 85bb18075a87..edba35b71163 100644
--- a/textproc/p5-xmltv/Makefile
+++ b/textproc/p5-xmltv/Makefile
@@ -20,7 +20,6 @@ XMLTV_DEPENDS= \
p5-XML-Writer>=0:textproc/p5-XML-Writer \
p5-Date-Manip>=0:devel/p5-Date-Manip \
p5-PerlIO-gzip>=0:archivers/p5-PerlIO-gzip \
- p5-CGI>=0:www/p5-CGI \
p5-IO-Compress>=0:archivers/p5-IO-Compress \
p5-libwww>=0:www/p5-libwww \
p5-Parse-RecDescent>=0:devel/p5-Parse-RecDescent \
@@ -97,4 +96,10 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/choose/tv_pick/tv_pick_cgi \
${STAGEDIR}${PREFIX}/${CGIDIR}/tv_pick.cgi
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 502100
+XMLTV_DEPENDS+= p5-CGI>=0:www/p5-CGI
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-xmltv/pkg-plist b/textproc/p5-xmltv/pkg-plist
index a0554a631e4d..fcd4e9c272ad 100644
--- a/textproc/p5-xmltv/pkg-plist
+++ b/textproc/p5-xmltv/pkg-plist
@@ -85,7 +85,6 @@ bin/tv_validate_grabber
%%SITE_PERL%%/XMLTV/ValidateFile.pm
%%SITE_PERL%%/XMLTV/ValidateGrabber.pm
%%SITE_PERL%%/XMLTV/Version.pm
-%%SITE_ARCH%%/auto/XMLTV/.packlist
%%PERL5_MAN1%%/tv_augment.1.gz
%%PERL5_MAN1%%/tv_augment_tz.1.gz
%%PERL5_MAN1%%/tv_cat.1.gz