diff options
| -rw-r--r-- | devel/p5-Sys-Virt/Makefile | 25 | ||||
| -rw-r--r-- | devel/p5-Sys-Virt/distinfo | 4 |
2 files changed, 20 insertions, 9 deletions
diff --git a/devel/p5-Sys-Virt/Makefile b/devel/p5-Sys-Virt/Makefile index d7025bfc8bcc..87f9014e0b79 100644 --- a/devel/p5-Sys-Virt/Makefile +++ b/devel/p5-Sys-Virt/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: Sys::Virt -# Date created: Nov 21 2011 -# Whom: Frank Wall <fw@moov.de> +# Created by: Frank Wall <fw@moov.de> # # $FreeBSD$ -# PORTNAME= Sys-Virt -PORTVERSION= 0.9.13 -PORTREVISION= 1 +PORTVERSION= 0.10.2 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -16,7 +12,7 @@ MAINTAINER= fw@moov.de COMMENT= Perl bindings for libvirt BUILD_DEPENDS= p5-XML-XPath>=0:${PORTSDIR}/textproc/p5-XML-XPath -LIB_DEPENDS= virt:${PORTSDIR}/devel/libvirt +LIB_DEPENDS= virt.10:${PORTSDIR}/devel/libvirt RUN_DEPENDS= p5-XML-XPath>=0:${PORTSDIR}/textproc/p5-XML-XPath TEST_DEPENDS= p5-CPAN-Changes>=0:${PORTSDIR}/devel/p5-CPAN-Changes \ p5-Test-Pod>=0:${PORTSDIR}/devel/p5-Test-Pod \ @@ -38,4 +34,19 @@ MAN3= Sys::Virt.3 \ Sys::Virt::StorageVol.3 \ Sys::Virt::Stream.3 +PORTEXAMPLES= * + +.include <bsd.port.options.mk> + +post-patch: +.if ${PORT_OPTIONS:MEXAMPLES} + @${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/examples/*.pl +.endif + +post-install: +.if ${PORT_OPTIONS:MEXAMPLES} + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${EXAMPLESDIR} +.endif + .include <bsd.port.mk> diff --git a/devel/p5-Sys-Virt/distinfo b/devel/p5-Sys-Virt/distinfo index 9c090e24d93f..60bf62bfb63f 100644 --- a/devel/p5-Sys-Virt/distinfo +++ b/devel/p5-Sys-Virt/distinfo @@ -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 |
