Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2016 12:59:31 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425736 - head/textproc/p5-xmltv
Message-ID:  <201611081259.uA8CxVvK006223@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Tue Nov  8 12:59:30 2016
New Revision: 425736
URL: https://svnweb.freebsd.org/changeset/ports/425736

Log:
  Fix plist.
  
  While there, fix dependency on www/p5-CGI.
  
  Reported by:	qat
  Sponsored by:	Absolight

Modified:
  head/textproc/p5-xmltv/Makefile   (contents, props changed)
  head/textproc/p5-xmltv/pkg-plist   (contents, props changed)

Modified: head/textproc/p5-xmltv/Makefile
==============================================================================
--- head/textproc/p5-xmltv/Makefile	Tue Nov  8 12:56:00 2016	(r425735)
+++ head/textproc/p5-xmltv/Makefile	Tue Nov  8 12:59:30 2016	(r425736)
@@ -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>

Modified: head/textproc/p5-xmltv/pkg-plist
==============================================================================
--- head/textproc/p5-xmltv/pkg-plist	Tue Nov  8 12:56:00 2016	(r425735)
+++ head/textproc/p5-xmltv/pkg-plist	Tue Nov  8 12:59:30 2016	(r425736)
@@ -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



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