diff options
author | miwi <miwi@FreeBSD.org> | 2008-07-18 20:38:21 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-07-18 20:38:21 +0800 |
commit | 81e126763da0fb73ed357f12fe8dba1c52339a66 (patch) | |
tree | fc9a8291ecd559e935c577c5a244b2af644c1f2d /devel/py-geojson | |
parent | ded0597d146096a11c0a1775fc90a3d434c9e429 (diff) | |
download | freebsd-ports-gnome-81e126763da0fb73ed357f12fe8dba1c52339a66.tar.gz freebsd-ports-gnome-81e126763da0fb73ed357f12fe8dba1c52339a66.tar.zst freebsd-ports-gnome-81e126763da0fb73ed357f12fe8dba1c52339a66.zip |
A reference implementation of the PythonGeoInterface and
the GeoJSON.
WWW: http://pypi.python.org/pypi/geojson/
PR: ports/125208
Submitted by: Wen Heping <wenheping at gmail.com>
Diffstat (limited to 'devel/py-geojson')
-rw-r--r-- | devel/py-geojson/Makefile | 36 | ||||
-rw-r--r-- | devel/py-geojson/distinfo | 3 | ||||
-rw-r--r-- | devel/py-geojson/pkg-descr | 4 | ||||
-rw-r--r-- | devel/py-geojson/pkg-plist | 12 |
4 files changed, 55 insertions, 0 deletions
diff --git a/devel/py-geojson/Makefile b/devel/py-geojson/Makefile new file mode 100644 index 000000000000..5057f77395ce --- /dev/null +++ b/devel/py-geojson/Makefile @@ -0,0 +1,36 @@ +# Ports collection makefile for: py-geojson +# Date created: 03 July, 2008 +# Whom: Wen Heping <wenheping@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= geojson +PORTVERSION= 1.0b1 +CATEGORIES= devel geography python +MASTER_SITES= ${MASTER_SITE_CHEESESHOP} +MASTER_SITE_SUBDIR= source/g/geojson/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wenheping@gmail.com +COMMENT= Python's Encoder/decoder for simple GIS features + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>1.9:${PORTSDIR}/devel/py-simplejson + +DOCSFILE= CHANGES.txt CREDITS.txt DEPENDENCIES.txt FAQ.txt \ + GeoInterface.txt HISTORY.txt INSTALL.txt LICENSE.txt \ + README.txt VERSION.txt + +USE_PYTHON= 2.4+ +USE_PYDISTUTILS=easy_install +PYDISTUTILS_NOEGGINFO= yes + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for f in ${DOCSFILE} + @cd ${WRKSRC} && ${CP} ${f} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/devel/py-geojson/distinfo b/devel/py-geojson/distinfo new file mode 100644 index 000000000000..0892b8e3888b --- /dev/null +++ b/devel/py-geojson/distinfo @@ -0,0 +1,3 @@ +MD5 (geojson-1.0b1.tar.gz) = 10863efb628d2ea76c8d674951ce2063 +SHA256 (geojson-1.0b1.tar.gz) = 61549b5dc447dcecb6f9f20593a13e87f993d3382409a2275108b32b65462aef +SIZE (geojson-1.0b1.tar.gz) = 11586 diff --git a/devel/py-geojson/pkg-descr b/devel/py-geojson/pkg-descr new file mode 100644 index 000000000000..5d40e0d86cdb --- /dev/null +++ b/devel/py-geojson/pkg-descr @@ -0,0 +1,4 @@ +A reference implementation of the PythonGeoInterface and +the GeoJSON draft. + +WWW: http://pypi.python.org/pypi/geojson/ diff --git a/devel/py-geojson/pkg-plist b/devel/py-geojson/pkg-plist new file mode 100644 index 000000000000..43e33f853551 --- /dev/null +++ b/devel/py-geojson/pkg-plist @@ -0,0 +1,12 @@ +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% +%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt +%%PORTDOCS%%%%DOCSDIR%%/CREDITS.txt +%%PORTDOCS%%%%DOCSDIR%%/DEPENDENCIES.txt +%%PORTDOCS%%%%DOCSDIR%%/FAQ.txt +%%PORTDOCS%%%%DOCSDIR%%/GeoInterface.txt +%%PORTDOCS%%%%DOCSDIR%%/HISTORY.txt +%%PORTDOCS%%%%DOCSDIR%%/INSTALL.txt +%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt +%%PORTDOCS%%%%DOCSDIR%%/README.txt +%%PORTDOCS%%%%DOCSDIR%%/VERSION.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%% |