mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
729d9d232f
- While here get rid FreeBSD 6.X and md5 support
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
# New ports collection makefile for: mapnik
|
|
# Date created: Nov 10, 2008
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mapnik
|
|
PORTVERSION= 0.6.1
|
|
PORTREVISION= 5
|
|
CATEGORIES= graphics geography
|
|
MASTER_SITES= ${MASTER_SITE_BERLIOS}/${PORTNAME}/
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= A Free Toolkit For Developing Mapping Applications
|
|
|
|
LIB_DEPENDS= geos:${PORTSDIR}/graphics/geos \
|
|
proj:${PORTSDIR}/graphics/proj \
|
|
png:${PORTSDIR}/graphics/png \
|
|
tiff:${PORTSDIR}/graphics/tiff \
|
|
cairo.2:${PORTSDIR}/graphics/cairo \
|
|
iconv:${PORTSDIR}/converters/libiconv
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/freetype-config:${PORTSDIR}/print/freetype2 \
|
|
${PYTHON_PKGNAMEPREFIX}icu>=0.8.1:${PORTSDIR}/devel/py-icu \
|
|
${PYTHON_PKGNAMEPREFIX}cairo>=1.8.2:${PORTSDIR}/graphics/py-cairo \
|
|
${LOCALBASE}/include/cairomm-1.0/cairomm/cairomm.h:${PORTSDIR}/graphics/cairomm \
|
|
${LOCALBASE}/include/boost/python.hpp:${PORTSDIR}/devel/boost-python-libs
|
|
|
|
BROKEN= Does not build with boost-1.41
|
|
|
|
USE_PGSQL= yes
|
|
USE_BZIP2= yes
|
|
NO_BUILD= yes
|
|
USE_PYTHON= 2.5+
|
|
USE_LDCONFIG= yes
|
|
USE_AUTOTOOLS= libltdl
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
|
|
${WRKSRC}/SConstruct
|
|
|
|
do-install:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} scons/scons.py install
|
|
|
|
.include <bsd.port.post.mk>
|