aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-11-08 20:59:30 +0800
committermat <mat@FreeBSD.org>2016-11-08 20:59:30 +0800
commitfd1825c0cf2a28d4f17e27a1014a7ad4c8d5bcd4 (patch)
tree949f5a688d7f2e21bc041280c44928941173613d /textproc
parentca957546c2a8d21d46d312462781f776a55d3bb6 (diff)
downloadfreebsd-ports-gnome-fd1825c0cf2a28d4f17e27a1014a7ad4c8d5bcd4.tar.gz
freebsd-ports-gnome-fd1825c0cf2a28d4f17e27a1014a7ad4c8d5bcd4.tar.zst
freebsd-ports-gnome-fd1825c0cf2a28d4f17e27a1014a7ad4c8d5bcd4.zip
Fix plist.
While there, fix dependency on www/p5-CGI. Reported by: qat Sponsored by: Absolight
Diffstat (limited to 'textproc')
-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