diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2003-10-07 05:06:03 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2003-10-07 05:06:03 +0000 |
commit | 813c29a033160609d6ea6cbc898a39b546ee1f35 (patch) | |
tree | b40ac4477722fa864ae1f62c4a32770d989d043b /devel/p5-Shape | |
parent | Upgrade to 1.2.10. (diff) |
Add p5-Shape 0.04,
perl5 module to read and write shapefiles via
shapelib.
PR: 51098
Submitted by: Leif Pedersen <pedersen@meridian-enviro.com>
Notes
Notes:
svn path=/head/; revision=90489
Diffstat (limited to 'devel/p5-Shape')
-rw-r--r-- | devel/p5-Shape/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-Shape/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Shape/files/patch-Shape.xs | 11 | ||||
-rw-r--r-- | devel/p5-Shape/pkg-descr | 5 | ||||
-rw-r--r-- | devel/p5-Shape/pkg-plist | 7 |
5 files changed, 46 insertions, 0 deletions
diff --git a/devel/p5-Shape/Makefile b/devel/p5-Shape/Makefile new file mode 100644 index 000000000000..1331a3d43559 --- /dev/null +++ b/devel/p5-Shape/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-Shape +# Date created: April 17th 2003 +# Whom: Leif Pedersen <pedersen@meridian-enviro.com> +# +# $FreeBSD$ +# + +PORTNAME= Shape +PORTVERSION= 0.04 +CATEGORIES= devel perl5 +MASTER_SITES= http://www.water.hut.fi/pub/Grid/ +PKGNAMEPREFIX= p5- + +MAINTAINER= pedersen@meridian-enviro.com +COMMENT= Perl5 module to read and write shapefiles via shapelib + +LIB_DEPENDS= shp:${PORTSDIR}/devel/shapelib + +PERL_CONFIGURE= yes +MAN3= Shape.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Shape/distinfo b/devel/p5-Shape/distinfo new file mode 100644 index 000000000000..e83dafc68500 --- /dev/null +++ b/devel/p5-Shape/distinfo @@ -0,0 +1 @@ +MD5 (Shape-0.04.tar.gz) = c55b699cbac1c4850e0966860a9db444 diff --git a/devel/p5-Shape/files/patch-Shape.xs b/devel/p5-Shape/files/patch-Shape.xs new file mode 100644 index 000000000000..bb3c71acd5a1 --- /dev/null +++ b/devel/p5-Shape/files/patch-Shape.xs @@ -0,0 +1,11 @@ +--- Shape.xs.orig Tue Oct 7 05:38:12 2003 ++++ Shape.xs Tue Oct 7 05:38:19 2003 +@@ -2,7 +2,7 @@ + #include "perl.h" + #include "XSUB.h" + +-#include <libshp/shapefil.h> ++#include <shapefil.h> + + + MODULE = Shape PACKAGE = Shape diff --git a/devel/p5-Shape/pkg-descr b/devel/p5-Shape/pkg-descr new file mode 100644 index 000000000000..faca1026c6b2 --- /dev/null +++ b/devel/p5-Shape/pkg-descr @@ -0,0 +1,5 @@ +This is a library for reading, creating, and writing ArcView(c) +shapefiles using Perl. The Perl code uses Frank Warmerdam's Shapefile +C Library. + +WWW: http://www.water.hut.fi/pub/Grid/Shape.html diff --git a/devel/p5-Shape/pkg-plist b/devel/p5-Shape/pkg-plist new file mode 100644 index 000000000000..9f1f2dde67af --- /dev/null +++ b/devel/p5-Shape/pkg-plist @@ -0,0 +1,7 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Shape.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Shape/Shape.so +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Shape/Shape.bs +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Shape/autosplit.ix +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Shape/.packlist +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Shape +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Shape 2>/dev/null || true |