aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mapnik/Makefile
blob: 319ad0e4db7a22aeb726d3765f0b1ab570cfa262 (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
# New ports collection makefile for:    mapnik
# Date created:     Nov 10, 2008
# Whom:         Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   mapnik
PORTVERSION=    0.5.1
CATEGORIES= graphics geography
MASTER_SITES=   ${MASTER_SITE_BERLIOS}/${PORTNAME}/
DISTNAME=   mapnik_src-${PORTVERSION}

MAINTAINER= wenheping@gmail.com
COMMENT=    A Free Toolkit For Developing Mapping Applications

LIB_DEPENDS=    geos:${PORTSDIR}/graphics/geos \
        proj:${PORTSDIR}/graphics/proj \
        ltdl:${PORTSDIR}/devel/libltdl15 \
        png:${PORTSDIR}/graphics/png \
        tiff:${PORTSDIR}/graphics/tiff \
        iconv:${PORTSDIR}/converters/libiconv
BUILD_DEPENDS=  ${LOCALBASE}/bin/freetype-config:${PORTSDIR}/print/freetype2 \
        ${LOCALBASE}/include/boost/python.hpp:${PORTSDIR}/devel/boost-python

NO_BUILD=   yes
USE_PYTHON= 2.4+
USE_LDCONFIG=   yes
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

.include <bsd.port.pre.mk>

do-install:
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} scons/scons.py install

.include <bsd.port.post.mk>