From owner-svn-ports-all@FreeBSD.ORG Sat Jan 3 07:11:21 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BF46F110; Sat, 3 Jan 2015 07:11:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 91594106D; Sat, 3 Jan 2015 07:11:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t037BLnM051925; Sat, 3 Jan 2015 07:11:21 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t037BLoR051922; Sat, 3 Jan 2015 07:11:21 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201501030711.t037BLoR051922@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 3 Jan 2015 07:11:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376086 - in head/devel/p5-Device-USB: . files 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.18-1 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: Sat, 03 Jan 2015 07:11:21 -0000 Author: sunpoet Date: Sat Jan 3 07:11:20 2015 New Revision: 376086 URL: https://svnweb.freebsd.org/changeset/ports/376086 QAT: https://qat.redports.org/buildarchive/r376086/ Log: - Update *_DEPENDS - Add LICENSE [1] - Fix build with newer Inline::MakeMaker [2] - Bump PORTREVISION for dependency change - While I'm here, add tweak to build dump_usb.pl and its manpage Approved by: portmgr (implicit) [1] Obtained from: Tim Retout [2] With hat: perl Added: head/devel/p5-Device-USB/files/ head/devel/p5-Device-USB/files/patch-Makefile.PL (contents, props changed) Modified: head/devel/p5-Device-USB/Makefile Modified: head/devel/p5-Device-USB/Makefile ============================================================================== --- head/devel/p5-Device-USB/Makefile Sat Jan 3 07:11:14 2015 (r376085) +++ head/devel/p5-Device-USB/Makefile Sat Jan 3 07:11:20 2015 (r376086) @@ -3,7 +3,7 @@ PORTNAME= Device-USB PORTVERSION= 0.35 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel perl5 MASTER_SITES= CPAN \ http://personalpages.tds.net/~jwbacon/Ports/distfiles/ @@ -12,11 +12,19 @@ PKGNAMEPREFIX= p5- MAINTAINER= josh.carroll@gmail.com COMMENT= Perl wrapper for libusb -BUILD_DEPENDS= p5-Inline>=0:${PORTSDIR}/devel/p5-Inline -RUN_DEPENDS= p5-Inline>=0:${PORTSDIR}/devel/p5-Inline +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Inline>=0:${PORTSDIR}/devel/p5-Inline \ + p5-Inline-C>=0:${PORTSDIR}/devel/p5-Inline-C +RUN_DEPENDS:= ${BUILD_DEPENDS} MAKE_JOBS_UNSAFE=yes USES= perl5 USE_PERL5= configure +post-patch: + @${REINPLACE_CMD} -e 's|dump_usb.pl|lib/Device/&|' ${WRKSRC}/MANIFEST + @${MV} ${WRKSRC}/dump_usb.pl ${WRKSRC}/lib/Device/ + .include Added: head/devel/p5-Device-USB/files/patch-Makefile.PL ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Device-USB/files/patch-Makefile.PL Sat Jan 3 07:11:20 2015 (r376086) @@ -0,0 +1,14 @@ +--- Makefile.PL.orig 2010-03-21 23:29:00.000000000 +0800 +--- Makefile.PL 2015-01-03 03:18:10.000000000 +0800 +@@ -2,6 +2,11 @@ + use warnings; + use Inline::MakeMaker; + ++sub MY::libscan { ++ return if ($_[1] eq 'USB.pm' or $_[1] eq 'lib/Device/dump_usb.pl'); ++ return $_[1]; ++} ++ + if($^O eq 'MSWin32') + { + if(!$ENV{LIBUSB_LIBDIR} or !$ENV{LIBUSB_INCDIR})