mapnik/localize.sh

13 lines
547 B
Bash
Raw Normal View History

#!/bin/bash
UNAME=$(uname -s)
export CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ ${UNAME} = 'Darwin' ]; then
export DYLD_LIBRARY_PATH="${CURRENT_DIR}/src/"
else
export LD_LIBRARY_PATH="${CURRENT_DIR}/src/"
fi
2014-04-29 05:17:38 +02:00
export PYTHONPATH="${CURRENT_DIR}/bindings/python/":$PYTHONPATH
export MAPNIK_FONT_DIRECTORY="${CURRENT_DIR}/fonts/dejavu-fonts-ttf-2.33/ttf/"
export MAPNIK_INPUT_PLUGINS_DIRECTORY="${CURRENT_DIR}/plugins/input/"
2014-02-10 19:46:48 +01:00
export PATH="${CURRENT_DIR}/bin/":${PATH}
export PATH="${CURRENT_DIR}/utils/nik2img":${PATH}