freebsd-ports/devel/py-pyshapelib/Makefile
Cheng-Lung Sung 208e17e88f Python bindings for Shapelib
============================

These are three python modules for shapelib:

   shapelib     read/write shapefiles

   dbflib       read/write dbf files

   shptree      quadtree for shapes

Shapelib is a free software library for reading and writing ESRI shape
files and can be found at http://gdal.velocet.ca/projects/shapelib.

The bindings were partly created with SWIG, a tool that can generate
wrappers of C and C++ libraries for a variety of scripting languages.
It's homepage is http://www.swig.org.

The bindings themselves don't have a homepage at the moment, but the
source tarballs/zip files can be downloaded from
http://ftp.intevation.de/users/bh/pyshapelib/

WWW: http://ftp.intevation.de/users/bh/pyshapelib/

PR:		ports/121067
Submitted by:	TAOKA Fumiyoshi <fmysh at iijmio-mail.jp>
2008-04-10 09:17:32 +00:00

46 lines
1,002 B
Makefile

# New ports collection makefile for: pyshapelib
# Date created: 03 Feb 2008
# Whom: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
#
# $FreeBSD$
#
PORTNAME= pyshapelib
PORTVERSION= 0.3
CATEGORIES= devel python geography
MASTER_SITES= http://ftp.intevation.de/users/bh/pyshapelib/:py \
http://dl.maptools.org/dl/shapelib/:c
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:py ${SHAPELIB}${EXTRACT_SUFX}:c
MAINTAINER= fmysh@iijmio-mail.jp
COMMENT= Python bindings for Shapelib
USE_PYTHON= yes
USE_PYDISTUTILS= yes
SHAPELIB= shapelib-1.2.10
USE_LDCONFIG= yes
PORTDOCS= NEWS README
PORTEXAMPLES= pytest.py
post-extract:
${LN} -s ${WRKDIR}/${SHAPELIB} ${WRKDIR}/shapelib
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
.endfor
.endif
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/$f ${EXAMPLESDIR}
.endfor
.endif
.include <bsd.port.mk>