- fix build with pod2x from perl5.18+

- bump PORTREVISION
- make portlint happy
This commit is contained in:
Olli Hauer 2014-10-28 23:17:46 +00:00
parent afdc1a1030
commit 68d911b9de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371657
2 changed files with 12 additions and 12 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= rrdtool
PORTVERSION= 1.0.50
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= databases
MASTER_SITES= http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.0.x/
PKGNAMESUFFIX= 10
@ -11,9 +11,11 @@ PKGNAMESUFFIX= 10
MAINTAINER= ports@FreeBSD.org
COMMENT= Round Robin Database Tools
LICENSE= GPLv2
MAKE_ENV= PERL=${PERL}
CONFLICTS= rrdtool12-* rrdtool-1.*
CONFLICTS= rrdtool12-1.* rrdtool-1.*
USES= pkgconfig perl5 libtool
USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
@ -34,10 +36,12 @@ LATIN2_DESC= ISO-8859-2 fonts support
LATIN2_CONFIGURE_ENABLE= latin2
.include <bsd.port.pre.mk>
post-patch:
# fix perl5.18+ pod2x tool
${REINPLACE_CMD} -e 's|IMG<|IMG ... E<|' \
${WRKSRC}/doc/rrdcgi.pod
${REINPLACE_CMD} -e 's|rrdtutorial.es.pod||' \
${WRKSRC}/doc/Makefile.am \
${WRKSRC}/doc/Makefile.in
.if ${PERL_VER} >= 5.18
BROKEN= Does not build with Perl 5.18 or above
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -34,7 +34,6 @@ man/man1/rrdrestore.1.gz
man/man1/rrdtool.1.gz
man/man1/rrdtune.1.gz
man/man1/rrdtutorial.1.gz
man/man1/rrdtutorial.es.1.gz
man/man1/rrdupdate.1.gz
man/man1/rrdxport.1.gz
%%PORTDOCS%%%%DOCSDIR%%/RRDp.txt
@ -61,7 +60,6 @@ man/man1/rrdxport.1.gz
%%PORTDOCS%%%%DOCSDIR%%/html/rrdrestore.html
%%PORTDOCS%%%%DOCSDIR%%/html/rrdtool.html
%%PORTDOCS%%%%DOCSDIR%%/html/rrdtune.html
%%PORTDOCS%%%%DOCSDIR%%/html/rrdtutorial.es.html
%%PORTDOCS%%%%DOCSDIR%%/html/rrdtutorial.html
%%PORTDOCS%%%%DOCSDIR%%/html/rrdupdate.html
%%PORTDOCS%%%%DOCSDIR%%/html/rrdxport.html
@ -93,8 +91,6 @@ man/man1/rrdxport.1.gz
%%PORTDOCS%%%%DOCSDIR%%/rrdtool.txt
%%PORTDOCS%%%%DOCSDIR%%/rrdtune.pod
%%PORTDOCS%%%%DOCSDIR%%/rrdtune.txt
%%PORTDOCS%%%%DOCSDIR%%/rrdtutorial.es.pod
%%PORTDOCS%%%%DOCSDIR%%/rrdtutorial.es.txt
%%PORTDOCS%%%%DOCSDIR%%/rrdtutorial.pod
%%PORTDOCS%%%%DOCSDIR%%/rrdtutorial.txt
%%PORTDOCS%%%%DOCSDIR%%/rrdupdate.pod