ports/121067: New port: devel/py-pyshapelib

TAOKA Fumiyoshi fmysh at iijmio-mail.jp
Mon Feb 25 03:20:01 UTC 2008


>Number:         121067
>Category:       ports
>Synopsis:       New port: devel/py-pyshapelib
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 25 03:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     TAOKA Fumiyoshi
>Release:        
>Organization:
>Environment:
>Description:
Python bindings for Shapelib.

>How-To-Repeat:
>Fix:

# 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:
#
#	py-pyshapelib/
#	py-pyshapelib/Makefile
#	py-pyshapelib/distinfo
#	py-pyshapelib/pkg-descr
#	py-pyshapelib/pkg-plist
#
echo c - py-pyshapelib/
mkdir -p py-pyshapelib/ > /dev/null 2>&1
echo x - py-pyshapelib/Makefile
sed 's/^X//' >py-pyshapelib/Makefile << 'END-of-py-pyshapelib/Makefile'
X# New ports collection makefile for:	pyshapelib
X# Date created:		03 Feb 2008
X# Whom:			TAOKA Fumiyoshi <fmysh at iijmio-mail.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pyshapelib
XPORTVERSION=	0.3
XCATEGORIES=	devel python geography
XMASTER_SITES=	http://ftp.intevation.de/users/bh/pyshapelib/:py \
X		http://dl.maptools.org/dl/shapelib/:c
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTFILES=	${DISTNAME}${EXTRACT_SUFX}:py ${SHAPELIB}${EXTRACT_SUFX}:c
X
XMAINTAINER=	fmysh at iijmio-mail.jp
XCOMMENT=	Python bindings for Shapelib
X
XUSE_PYTHON=		yes
XUSE_PYDISTUTILS=	yes
X
XSHAPELIB=	shapelib-1.2.10
X
XPORTDOCS=	NEWS README
XPORTEXAMPLES=	pytest.py
X
Xpost-extract:
X	${LN} -s ${WRKDIR}/${SHAPELIB} ${WRKDIR}/shapelib
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for f in ${PORTDOCS}
X	${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
X.endfor
X.endif
X
X.if !defined(NOPORTEXAMPLES)
X	${MKDIR} ${EXAMPLESDIR}
X.for f in ${PORTEXAMPLES}
X	${INSTALL_DATA} ${WRKSRC}/$f ${EXAMPLESDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-py-pyshapelib/Makefile
echo x - py-pyshapelib/distinfo
sed 's/^X//' >py-pyshapelib/distinfo << 'END-of-py-pyshapelib/distinfo'
XMD5 (pyshapelib-0.3.tar.gz) = 41372e56f96167ed8202eb6f747360a4
XSHA256 (pyshapelib-0.3.tar.gz) = 492d5050135c05e8213eecfcaedbccebf8e960a4407615a5d72af4696f409ad1
XSIZE (pyshapelib-0.3.tar.gz) = 40427
XMD5 (shapelib-1.2.10.tar.gz) = 4d96bd926167193d27bf14d56e2d484e
XSHA256 (shapelib-1.2.10.tar.gz) = afa54d60369e49a3d2ebcd1ffca75104bdc85d7f539b81aec8a6e2d311ca6b78
XSIZE (shapelib-1.2.10.tar.gz) = 167219
END-of-py-pyshapelib/distinfo
echo x - py-pyshapelib/pkg-descr
sed 's/^X//' >py-pyshapelib/pkg-descr << 'END-of-py-pyshapelib/pkg-descr'
X
XPython bindings for Shapelib
X============================
X
XThese are three python modules for shapelib:
X
X   shapelib     read/write shapefiles
X
X   dbflib       read/write dbf files
X
X   shptree      quadtree for shapes
X
XShapelib is a free software library for reading and writing ESRI shape
Xfiles and can be found at http://gdal.velocet.ca/projects/shapelib. 
X
XThe bindings were partly created with SWIG, a tool that can generate
Xwrappers of C and C++ libraries for a variety of scripting languages.
XIt's homepage is http://www.swig.org.
X
XThe bindings themselves don't have a homepage at the moment, but the
Xsource tarballs/zip files can be downloaded from
Xhttp://ftp.intevation.de/users/bh/pyshapelib/
X
XWWW: http://ftp.intevation.de/users/bh/pyshapelib/
END-of-py-pyshapelib/pkg-descr
echo x - py-pyshapelib/pkg-plist
sed 's/^X//' >py-pyshapelib/pkg-plist << 'END-of-py-pyshapelib/pkg-plist'
X%%PYTHON_SITELIBDIR%%/dbflib.py
X%%PYTHON_SITELIBDIR%%/dbflib.pyc
X%%PYTHON_SITELIBDIR%%/dbflib.pyo
X%%PYTHON_SITELIBDIR%%/dbflibc.so
X%%PYTHON_SITELIBDIR%%/shapelib.py
X%%PYTHON_SITELIBDIR%%/shapelib.pyc
X%%PYTHON_SITELIBDIR%%/shapelib.pyo
X%%PYTHON_SITELIBDIR%%/shapelibc.so
X%%PYTHON_SITELIBDIR%%/shptree.so
END-of-py-pyshapelib/pkg-plist
exit


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



More information about the freebsd-ports-bugs mailing list