openbsd-ports/geo/mapserver/pkg/MESSAGE-php
landry f9d07dde64 Import mapserver 5.4.0:
MapServer is a system for developing web-based GIS applications.
The basic system consists of a CGI program that can be configured to
respond to a variety of spatial requests like making maps, scalebars,
and point, area and feature queries.
This port is splitted in 4 packages: -main contains the mapserv CGI,
-php contains the PHP Mapscript extension, -perl contains Mapscript perl
bindings and -utils contains various utilities and examples of use.
ok ajacoutot@
2009-06-04 17:55:39 +00:00

16 lines
686 B
Plaintext

You can enable this module by creating a symbolic
link from ${PREFIX-php}/conf/php5.sample/mapscript.ini to
${PREFIX-php}/conf/php5/mapscript.ini.
#ln -fs ${PREFIX-php}/conf/php5.sample/mapscript.ini \
${PREFIX-php}/conf/php5/mapscript.ini
If you plan to use PHP mapscript extension with a chrooted httpd, make
sure to copy the libs needed by mapscript.so file binary from ${LOCALBASE}/lib,
but also the projection definitions from libgeotiff and proj packages to the
chroot:
# mkdir -p ${PREFIX-php}/${LOCALBASE}/share/{epsg_csv,proj}
# cp ${LOCALBASE}/share/epsg_csv/* ${PREFIX-php}/${LOCALBASE}/share/epsg_csv
# cp ${LOCALBASE}/share/proj/* ${PREFIX-php}/${LOCALBASE}/share/proj