884edfd13f
written in C++ and there are Python bindings to facilitate fast-paced agile development. It can comfortably be used for both desktop and web development, which was something wanted from the beginning. Mapnik is about making beautiful maps. It uses the AGG library and offers world class anti-aliasing rendering with subpixel accuracy for geographic data. It is written from scratch in modern C++ and doesn't suffer from design decisions made a decade ago. When it comes to handling common software tasks such as memory management, filesystem access, regular expressions, parsing and so on, Mapnik doesn't re-invent the wheel, but utilizes best of breed industry standard libraries from boost.org. WWW: http://www.mapnik.org/ PR: ports/128746 Submitted by: Wen Heping <wenheping at gmail.com>
36 lines
999 B
Makefile
36 lines
999 B
Makefile
# 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>
|