Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2007 03:37:35 GMT
From:      Ditesh Shashikant Gathani <ditesh@gathani.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/118064: New port: devel/pecl-shape A PECL extension that wraps libshape
Message-ID:  <200711150337.lAF3bYLC058278@www.freebsd.org>
Resent-Message-ID: <200711150340.lAF3e1C8088447@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         118064
>Category:       ports
>Synopsis:       New port: devel/pecl-shape A PECL extension that wraps libshape
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 15 03:40:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ditesh Shashikant Gathani
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
FreeBSD neela.qubeconnect.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386
>Description:
The shape extension wraps libshape and provides the ability to write programs for manipulating ESRI shapefiles.
>How-To-Repeat:
Not applicable.
>Fix:
shar file, as attached.

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./pkg-descr
#	./distinfo
#	./Makefile
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XThe shape extension wraps libshape and provides the ability to write programs
Xfor manipulating ESRI shapefiles.
X
XWWW: http://pecl.php.net/package/shape/
X
X- Ditesh Shashikant Gathani
Xditesh@gathani.org
END-of-./pkg-descr
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XSHA256 (PECL/shape-0.9.1.tgz) = f40723324e0483a255e960975d7bfe01e1f52ab520754f311cd9809bc82acc22
XMD5 (PECL/shape-0.9.1.tgz) = a1d5143a4ce455131a3d3a6dc3fff2ed
XSIZE (PECL/shape-0.9.1.tgz) = 8514
END-of-./distinfo
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	pecl-shape
X# Date created:			15 Nov 2007
X# Whom:				Ditesh Shashikant Gathani <ditesh@gathani.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	shape
XPORTVERSION=	0.9.1
XCATEGORIES=	devel pear
XMASTER_SITES=	http://pecl.php.net/get/
XPKGNAMEPREFIX=	pecl-
XEXTRACT_SUFX=	.tgz
XDIST_SUBDIR=	PECL
X
XMAINTAINER=	ditesh@gathani.org
XCOMMENT=	A PECL extension that wraps libshape
X
XLIB_DEPENDS=	shp:${PORTSDIR}/devel/shapelib
X
XUSE_PHP=	yes
XUSE_PHP_BUILD=	yes
XUSE_PHPEXT=	yes
XPHP_MODNAME=	shp
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|include/libshp|include|g' ${WRKSRC}/config.m4
X	@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/config.m4
X	@${REINPLACE_CMD} -e 's|include "libshp/|include "|g' ${WRKSRC}/php_shp.h
X
X.include <bsd.port.mk>
END-of-./Makefile
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711150337.lAF3bYLC058278>