svn commit: r498313 - in head/devel/p5-Inline-CPP: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Apr 7 20:06:01 UTC 2019


Author: sunpoet
Date: Sun Apr  7 20:05:57 2019
New Revision: 498313
URL: https://svnweb.freebsd.org/changeset/ports/498313

Log:
  Update to 0.79
  
  - Fix LICENSE
  - Add LICENSE_FILE
  - Take maintainership
  
  Changes:	https://metacpan.org/changes/distribution/Inline-CPP

Modified:
  head/devel/p5-Inline-CPP/Makefile
  head/devel/p5-Inline-CPP/distinfo
  head/devel/p5-Inline-CPP/files/patch-Makefile.PL

Modified: head/devel/p5-Inline-CPP/Makefile
==============================================================================
--- head/devel/p5-Inline-CPP/Makefile	Sun Apr  7 20:05:51 2019	(r498312)
+++ head/devel/p5-Inline-CPP/Makefile	Sun Apr  7 20:05:57 2019	(r498313)
@@ -2,25 +2,29 @@
 # $FreeBSD$
 
 PORTNAME=	Inline-CPP
-PORTVERSION=	0.75
+PORTVERSION=	0.79
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
 
-MAINTAINER=	perl at FreeBSD.org
+MAINTAINER=	sunpoet at FreeBSD.org
 COMMENT=	Write Perl subroutines and classes in C++
 
-LICENSE=	ART10
+LICENSE=	ART20
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	p5-ExtUtils-CppGuess>=0.11:devel/p5-ExtUtils-CppGuess \
+BUILD_DEPENDS=	p5-ExtUtils-CppGuess>=0.15:devel/p5-ExtUtils-CppGuess \
 		${RUN_DEPENDS}
 RUN_DEPENDS=	p5-Inline>=0.78:devel/p5-Inline \
-		p5-Inline-C>=0.67:devel/p5-Inline-C \
+		p5-Inline-C>=0.78:devel/p5-Inline-C \
 		p5-Parse-RecDescent>=0:devel/p5-Parse-RecDescent
 
 USES=		perl5
 USE_PERL5=	configure
 
 NO_ARCH=	yes
+
+post-install:
+	${RM} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Inline/CPP/Config.pm.in
 
 .include <bsd.port.mk>

Modified: head/devel/p5-Inline-CPP/distinfo
==============================================================================
--- head/devel/p5-Inline-CPP/distinfo	Sun Apr  7 20:05:51 2019	(r498312)
+++ head/devel/p5-Inline-CPP/distinfo	Sun Apr  7 20:05:57 2019	(r498313)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1537366615
-SHA256 (Inline-CPP-0.75.tar.gz) = 664b400139ae042853133c84fd435485dc9a29b3a93eaab49e981e2e8842a37c
-SIZE (Inline-CPP-0.75.tar.gz) = 63924
+TIMESTAMP = 1554399640
+SHA256 (Inline-CPP-0.79.tar.gz) = bef6d1254c83fce452606b86ce60e37d5d462762f13ca79728c3112f76ddba03
+SIZE (Inline-CPP-0.79.tar.gz) = 63633

Modified: head/devel/p5-Inline-CPP/files/patch-Makefile.PL
==============================================================================
--- head/devel/p5-Inline-CPP/files/patch-Makefile.PL	Sun Apr  7 20:05:51 2019	(r498312)
+++ head/devel/p5-Inline-CPP/files/patch-Makefile.PL	Sun Apr  7 20:05:57 2019	(r498313)
@@ -1,15 +1,23 @@
---- Makefile.PL.orig	2018-09-18 22:19:47 UTC
+--- Makefile.PL.orig	2019-04-02 14:50:25 UTC
 +++ Makefile.PL
-@@ -37,10 +37,10 @@ check_prereqs(\%PREREQ_PM) or warn "!!! 
- my($cc_guess, $libs_guess) = guess_compiler();
+@@ -10,7 +10,7 @@ my $CPP_Config_path = 'lib/Inline/CPP/Co
  
- my $cpp_compiler
--  = prompt("What C++ compiler would you like to use?", $cc_guess);
-+  = $cc_guess;
+ my %PREREQ_PM = (
+   'Inline'            => '0.78',
+-  'Inline::C'         => '0.78_003', # supports 5.8.1
++  'Inline::C'         => '0.78', # supports 5.8.1
+   'Parse::RecDescent' => '0',
+   'Carp'              => '0',
+   'Config'            => '0',
+@@ -22,11 +22,6 @@ my $guess = ExtUtils::CppGuess->new;
+ my @info = map $guess->$_,
+   qw(compiler_command linker_flags iostream_fname cpp_flavor_defs);
  
- my $libs
--  = prompt("What default libraries would you like to include?", $libs_guess);
-+  = $libs_guess;
+-$info[0] = prompt("What C++ compiler would you like to use?", $info[0]);
+-
+-$info[1]
+-  = prompt("What default libraries would you like to include?", $info[1]);
+-
+ configure_distribution(@info);
  
- configure_distribution($test_cpp_filename, $cpp_compiler, $libs);
- 
+ WriteMakefile(


More information about the svn-ports-all mailing list