summaryrefslogtreecommitdiff
path: root/devel/py-pyshapelib/Makefile
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2008-04-10 09:17:32 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2008-04-10 09:17:32 +0000
commit208e17e88fe723d7bad8a2d3816a2ec3cbfc7e40 (patch)
tree105efb016abf297f25d5d25677529e8339a0a39b /devel/py-pyshapelib/Makefile
parentReset maintainership. (diff)
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>
Diffstat (limited to 'devel/py-pyshapelib/Makefile')
-rw-r--r--devel/py-pyshapelib/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/devel/py-pyshapelib/Makefile b/devel/py-pyshapelib/Makefile
new file mode 100644
index 000000000000..c82c5a816988
--- /dev/null
+++ b/devel/py-pyshapelib/Makefile
@@ -0,0 +1,46 @@
+# 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>