svn commit: r306590 - head/devel/p5-Sys-Virt
Jason Helfman
jgh at FreeBSD.org
Mon Oct 29 04:56:15 UTC 2012
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 at 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 <fw at moov.de>
+# Created by: Frank Wall <fw at 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 at 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>
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
More information about the svn-ports-head
mailing list