aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-pyproj
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-02-09 06:35:31 +0800
committermiwi <miwi@FreeBSD.org>2007-02-09 06:35:31 +0800
commit3509333c9f7b738f8c7684f98b63b99b0bb83d2e (patch)
treebcf4232b25a8aa4e748e61aeb21b6d3ab52053a4 /graphics/py-pyproj
parentbf58e7a612d4579e485668082672252ee2da8477 (diff)
downloadfreebsd-ports-gnome-3509333c9f7b738f8c7684f98b63b99b0bb83d2e.tar.gz
freebsd-ports-gnome-3509333c9f7b738f8c7684f98b63b99b0bb83d2e.tar.zst
freebsd-ports-gnome-3509333c9f7b738f8c7684f98b63b99b0bb83d2e.zip
Pyrex wrapper to provide python interfaces to
PROJ.4 (http://proj.maptools.org) functions. Performs cartographic transformations (converts from longitude,latitude to native map projection x,y coordinates and vice versa, or from one map projection coordinate system directly to another). WWW: http://code.google.com/p/pyproj PR: ports/108879 Submitted by: TAOKA Fumiyoshi
Diffstat (limited to 'graphics/py-pyproj')
-rw-r--r--graphics/py-pyproj/Makefile36
-rw-r--r--graphics/py-pyproj/distinfo3
-rw-r--r--graphics/py-pyproj/pkg-descr8
-rw-r--r--graphics/py-pyproj/pkg-plist10
4 files changed, 57 insertions, 0 deletions
diff --git a/graphics/py-pyproj/Makefile b/graphics/py-pyproj/Makefile
new file mode 100644
index 000000000000..61efaa2a9f1d
--- /dev/null
+++ b/graphics/py-pyproj/Makefile
@@ -0,0 +1,36 @@
+# Ports collection makefile for: pyproj
+# Date created: Feb 8, 2007
+# Whom: TAOKA Fumiyoshi
+#
+# $FreeBSD$
+#
+
+PORTNAME= pyproj
+PORTVERSION= 1.8.1
+CATEGORIES= graphics python
+MASTER_SITES= http://cheeseshop.python.org/packages/source/p/pyproj/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= fmysh@iijmio-mail.jp
+COMMENT= Pyrex wrapper to provide python interfaces to PROJ.4
+
+LIB_DEPENDS= proj.5:${PORTSDIR}/graphics/proj
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+MAKE_ENV= PROJ_DIR=${LOCALBASE}
+
+PORTDOCS= Changelog README README.html
+
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/test/* ${EXAMPLESDIR}
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/py-pyproj/distinfo b/graphics/py-pyproj/distinfo
new file mode 100644
index 000000000000..a065b5bc7712
--- /dev/null
+++ b/graphics/py-pyproj/distinfo
@@ -0,0 +1,3 @@
+MD5 (pyproj-1.8.1.tar.gz) = 1b28a593e5868e314cd07f4d291ab1a3
+SHA256 (pyproj-1.8.1.tar.gz) = a9fcdc2c6df7df5b5c60e5c6f10ef968c8a30ba3f80d2bc42963eeb411261c9a
+SIZE (pyproj-1.8.1.tar.gz) = 24212
diff --git a/graphics/py-pyproj/pkg-descr b/graphics/py-pyproj/pkg-descr
new file mode 100644
index 000000000000..6a417d07a1a7
--- /dev/null
+++ b/graphics/py-pyproj/pkg-descr
@@ -0,0 +1,8 @@
+Pyrex wrapper to provide python interfaces to
+PROJ.4 (http://proj.maptools.org) functions.
+
+Performs cartographic transformations (converts from longitude,latitude
+to native map projection x,y coordinates and vice versa, or from
+one map projection coordinate system directly to another).
+
+WWW: http://code.google.com/p/pyproj
diff --git a/graphics/py-pyproj/pkg-plist b/graphics/py-pyproj/pkg-plist
new file mode 100644
index 000000000000..c70909880cfa
--- /dev/null
+++ b/graphics/py-pyproj/pkg-plist
@@ -0,0 +1,10 @@
+%%PYTHON_SITELIBDIR%%/_pyproj.so
+%%PYTHON_SITELIBDIR%%/pyproj.py
+%%PYTHON_SITELIBDIR%%/pyproj.pyc
+%%PYTHON_SITELIBDIR%%/pyproj.pyo
+%%EXAMPLESDIR%%/datum_shift.py
+%%EXAMPLESDIR%%/sample.out
+%%EXAMPLESDIR%%/test.py
+%%EXAMPLESDIR%%/test2.py
+%%EXAMPLESDIR%%/test_transform.py
+@dirrm %%EXAMPLESDIR%%