aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-geojson/Makefile
blob: 0dfde8747189e1b31a753447c76f873021e9ae53 (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
35
36
37
# Ports collection makefile for:        py-geojson
# Date created:                 03 July, 2008
# Whom:                         Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   geojson
PORTVERSION=    1.0
PORTEPOCH=  1
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>