--- devel/p5-Sys-Virt/Makefile.orig 2012-09-05 23:48:20.000000000 +0200 +++ devel/p5-Sys-Virt/Makefile 2012-10-25 12:03:36.000000000 +0200 @@ -6,8 +6,7 @@ # PORTNAME= Sys-Virt -PORTVERSION= 0.9.13 -PORTREVISION= 1 +PORTVERSION= 0.10.2 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -38,4 +37,17 @@ Sys::Virt::StorageVol.3 \ Sys::Virt::Stream.3 +PORTEXAMPLES= * + +post-patch: +.if !defined(NOPORTEXAMPLES) + @${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/examples/*.pl +.endif + +post-install: +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR}/ + ${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${EXAMPLESDIR}/ +.endif + .include --- devel/p5-Sys-Virt/distinfo.orig 2012-07-10 19:39:37.000000000 +0200 +++ devel/p5-Sys-Virt/distinfo 2012-10-25 11:25:01.000000000 +0200 @@ -1,2 +1,2 @@ -SHA256 (Sys-Virt-0.9.13.tar.gz) = a9132ce6bfd7ad9b81ba1724064c32aef73296fa777767727989038c9a989a5e -SIZE (Sys-Virt-0.9.13.tar.gz) = 80647 +SHA256 (Sys-Virt-0.10.2.tar.gz) = 42ef1c81e52e1c4ed4b2fff46011536736b669ff8019c9a91bd10145c2f48b0a +SIZE (Sys-Virt-0.10.2.tar.gz) = 87154