diff options
author | Frederic Culot <culot@FreeBSD.org> | 2015-10-16 14:38:45 +0000 |
---|---|---|
committer | Frederic Culot <culot@FreeBSD.org> | 2015-10-16 14:38:45 +0000 |
commit | f2f78ed8819427ebf9bd4c0495ad765df392fe0a (patch) | |
tree | 39ab9e3c691373e1ec0ea619477c952f1b1e9bab | |
parent | Update to 4.8.1. (diff) |
- Update to 2.60
- Add LICENSE (Artistic 1 & GPL 1)
- Add NO_ARCH
- Add patch to be able to run tests without the need to install rlib,
which is not in ports and which can easily be replaced by the FindBin
core module (see http://search.cpan.org/~gaas/rlib-0.01/rlib.pm#DESCRIPTION)
Changes: http://search.cpan.org/dist/Geo-ShapeFile/Changes
-rw-r--r-- | devel/p5-Geo-ShapeFile/Makefile | 11 | ||||
-rw-r--r-- | devel/p5-Geo-ShapeFile/distinfo | 4 | ||||
-rw-r--r-- | devel/p5-Geo-ShapeFile/files/patch-t_main__tests.t | 14 | ||||
-rw-r--r-- | devel/p5-Geo-ShapeFile/pkg-plist | 2 |
4 files changed, 27 insertions, 4 deletions
diff --git a/devel/p5-Geo-ShapeFile/Makefile b/devel/p5-Geo-ShapeFile/Makefile index e8278447506f..7b9037b5d2d6 100644 --- a/devel/p5-Geo-ShapeFile/Makefile +++ b/devel/p5-Geo-ShapeFile/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= Geo-ShapeFile -PORTVERSION= 2.52 -PORTREVISION= 1 +PORTVERSION= 2.60 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -11,6 +10,14 @@ PKGNAMEPREFIX= p5- MAINTAINER= culot@FreeBSD.org COMMENT= Perl extension for handling ESRI GIS Shapefiles +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Tree-R>0:${PORTSDIR}/devel/p5-Tree-R \ + p5-autovivification>0:${PORTSDIR}/devel/p5-autovivification +RUN_DEPENDS:= ${BUILD_DEPENDS} + +NO_ARCH= yes USES= perl5 USE_PERL5= configure diff --git a/devel/p5-Geo-ShapeFile/distinfo b/devel/p5-Geo-ShapeFile/distinfo index 43365df8590f..4bd214dcdd41 100644 --- a/devel/p5-Geo-ShapeFile/distinfo +++ b/devel/p5-Geo-ShapeFile/distinfo @@ -1,2 +1,2 @@ -SHA256 (Geo-ShapeFile-2.52.tar.gz) = 6ccc2bd992d8474f473b3b33064baabd906d5a45afc75db035ab0136058a1edb -SIZE (Geo-ShapeFile-2.52.tar.gz) = 278581 +SHA256 (Geo-ShapeFile-2.60.tar.gz) = 90ad66df2a408d4ee91ba3e7b382fe40056a086c1abf51cd48ce2cde2c9047bc +SIZE (Geo-ShapeFile-2.60.tar.gz) = 331941 diff --git a/devel/p5-Geo-ShapeFile/files/patch-t_main__tests.t b/devel/p5-Geo-ShapeFile/files/patch-t_main__tests.t new file mode 100644 index 000000000000..cc100bfbb574 --- /dev/null +++ b/devel/p5-Geo-ShapeFile/files/patch-t_main__tests.t @@ -0,0 +1,14 @@ +--- t/main_tests.t.orig 2015-10-16 16:34:06.906634577 +0200 ++++ t/main_tests.t 2015-10-16 16:34:56.598631573 +0200 +@@ -3,7 +3,10 @@ + use Test::More;
+ use strict;
+ use warnings;
+-use rlib '../lib', './lib';
++#use rlib '../lib', './lib';
++use FindBin;
++use lib "$FindBin::Bin/lib";
++use lib "$FindBin::Bin/../lib";
+
+ use Geo::ShapeFile;
+ use Geo::ShapeFile::Shape;
diff --git a/devel/p5-Geo-ShapeFile/pkg-plist b/devel/p5-Geo-ShapeFile/pkg-plist index 3827f866b9f9..0dab18fcb417 100644 --- a/devel/p5-Geo-ShapeFile/pkg-plist +++ b/devel/p5-Geo-ShapeFile/pkg-plist @@ -1,6 +1,8 @@ %%SITE_PERL%%/Geo/ShapeFile.pm %%SITE_PERL%%/Geo/ShapeFile/Point.pm %%SITE_PERL%%/Geo/ShapeFile/Shape.pm +%%SITE_PERL%%/Geo/ShapeFile/Shape/Index.pm %%PERL5_MAN3%%/Geo::ShapeFile.3.gz %%PERL5_MAN3%%/Geo::ShapeFile::Point.3.gz %%PERL5_MAN3%%/Geo::ShapeFile::Shape.3.gz +%%PERL5_MAN3%%/Geo::ShapeFile::Shape::Index.3.gz |