From owner-svn-ports-all@FreeBSD.ORG Mon Oct 29 04:56:15 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E3E659D; Mon, 29 Oct 2012 04:56:15 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 02F408FC15; Mon, 29 Oct 2012 04:56:15 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9T4uERv080896; Mon, 29 Oct 2012 04:56:14 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9T4uEqi080893; Mon, 29 Oct 2012 04:56:14 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201210290456.q9T4uEqi080893@svn.freebsd.org> From: Jason Helfman Date: Mon, 29 Oct 2012 04:56:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306590 - head/devel/p5-Sys-Virt X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2012 04:56:15 -0000 Author: jgh Date: Mon Oct 29 04:56:14 2012 New Revision: 306590 URL: http://svn.freebsd.org/changeset/ports/306590 Log: - update to 0.10.2, install examples and trim header - while here, restore ABI version (unsafe to drop with libvirt) PR: 173067 Submitted by: maintainer, fw@moov.de Feature safe: yes Modified: head/devel/p5-Sys-Virt/Makefile head/devel/p5-Sys-Virt/distinfo Modified: head/devel/p5-Sys-Virt/Makefile ============================================================================== --- head/devel/p5-Sys-Virt/Makefile Mon Oct 29 02:47:21 2012 (r306589) +++ head/devel/p5-Sys-Virt/Makefile Mon Oct 29 04:56:14 2012 (r306590) @@ -1,13 +1,9 @@ -# New ports collection makefile for: Sys::Virt -# Date created: Nov 21 2011 -# Whom: Frank Wall +# Created by: Frank Wall # # $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 + +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 Modified: head/devel/p5-Sys-Virt/distinfo ============================================================================== --- head/devel/p5-Sys-Virt/distinfo Mon Oct 29 02:47:21 2012 (r306589) +++ head/devel/p5-Sys-Virt/distinfo Mon Oct 29 04:56:14 2012 (r306590) @@ -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