aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-geojson/Makefile
blob: f9aa05af500f172e2238a3e4dc21ee08a54d1de4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=   geojson
PORTVERSION=    1.0.1
PORTREVISION=   1
PORTEPOCH=  1
CATEGORIES= devel geography python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= wen@FreeBSD.org
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 INSTALL.txt LICENSE.txt \
        README.txt VERSION.txt

USE_PYTHON= 2.5+
USE_PYDISTUTILS=easy_install
PYDISTUTILS_NOEGGINFO=  yes

NO_STAGE=   yes
post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for f in ${DOCSFILE}
    @cd ${WRKSRC} && ${CP} ${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>