Package: mapserver5 Version: 5.6.5 Revision: 1005 Distribution: 10.5, 10.6 Architecture: i386 Description: Spatial Web Development Environment License: BSD Homepage: http://mapserver.org/ Maintainer: Kurt Schwehr DescDetail: << MapServer is an OpenSource development environment for constructing spatially enabled Internet-web applications. The software builds upon other popular OpenSource or freeware systems including Shapelib, FreeType, Proj.4, GDAL/OGR. << Conflicts: mapserver Replaces: mapserver DescUsage: << To use mapserver you either copy the directory or the file: cp %p/share/mapserver /Library/WebServer/CGI-Executables or cp %p/share/mapserver/mapserv /Library/WebServer/CGI-Executables You may, of course, add symlink to CGI-Executables after you edit httpd.conf to have Options: FollowSymLinks ExecCGI. The documents are available at: http://mapserver.gis.umn.edu/doc.html << # Dependencies. # do we really need proj if we have the proj-shlibs? # Switching to libgeos3 ... libgeosc1-shlibs. Was libgeos2-shlibs Depends: << libgeos3.3.0-shlibs, freetype219-shlibs (>= 2.3.12-1), gd2-shlibs (>=2.0.34), gdal-shlibs (>=1.4.0-1001), proj-shlibs (>=4.5.0), pdflib6-shlibs, libming1-shlibs, postgresql90-shlibs, postgis90, libcurl4-shlibs, libpng15-shlibs, libjpeg8-shlibs, libtiff-shlibs << # OpenGL support not yet ready # libftgl2-shlibs BuildDepends: << expat1, libiconv-dev, libgeos3.3.0, freetype219 (>= 2.3.12-1), gd2 (>=2.0.34), pkgconfig, proj (>=4.5.0), gdal-dev (>=1.4.0-1001), pdflib6, libming1-dev, postgresql90-dev (>= 1:0-0), postgis90, libcurl4, libssh2.1, libpng15, libjpeg8, libogdi3, hdf5, hdf, xerces-c-dev, sqlite3-dev, libspatialite1, libiconv-dev, cfitsio, netcdf, unixodbc2 | unixodbc2-nox, libjasper.1, giflib, libtiff, readline5, libxml2, libxslt, system-openssl-dev << # OpenGL support not yet ready # libftgl2 BuildConflicts: libgeos2, libgeos3 # Unpack Phase.g Source: http://download.osgeo.org/mapserver/mapserver-%v.tar.gz Source-MD5: 33abbf27fa8e3bf2c53257c2188a67b3 UseMaxBuildJobs: false SetCFLAGS: -O3 -funroll-loops -fexpensive-optimizations -ffast-math -MD #SetCPPFLAGS: -I%p/include/gdal1 #SetCPPFLAGS: -I/usr/X11R6/include #SetLDFLAGS: -L/usr/X11/lib # Compile Phase. ConfigureParams: --mandir=%i/share/man --with-gd=%p --with-pdf=%p --with-gdal=%p/bin/gdal-config --with-ogr=%p/bin/gdal-config --with-png=%p --with-proj=%p --with-ming=%p --with-curl-config=%p/bin/curl-config --with-wfs --with-wcs --with-wmsclient --with-wfsclient --with-sos --with-geos=%p/opt/libgeos3.3.0/bin/geos-config --with-postgis=%p/opt/postgresql-9.0/bin/pg_config # --with-tiff Tiff not needed... used through gdal # --with-fastcgi=%p # apache not configured with fastcgi in fink # --with-opengl --with-ftgl=%p/include/FTGL # not yet ready # Xpm support not available. Collisions with png in /usr/X11/lib. Fixes welcome! CompileScript: << #!/bin/bash -ev #printenv echo $PATH OPT_FLAGS="-O3 -funroll-loops -fexpensive-optimizations -ffast-math" CXXFLAGS="-I%p/include/gdal1 $OPT_FLAGS" CPPFLAGS="-I%p/include/gdal1 $OPT_FLAGS" CFLAGS="-I%p/include/gdal1 $OPT_FLAGS" ./configure %c CXXFLAGS="-I%p/include/gdal1 $OPT_FLAGS" CPPFLAGS="-I%p/include/gdal1" CFLAGS="-I%p/include/gdal1 $OPT_FLAGS" make << # Install Phase. InstallScript: << mkdir -p %i/share/%n %i/bin cp mapserv scalebar shp2img shp2mysql.pl shp2pdf shptree shptreetst sortshp tile4ms %i/bin/ echo "Creating links for backward compatibility to older fink versions" (cd %i/share/%n && ln -s ../../bin/* .) << DocFiles: GD-COPYING HISTORY.TXT INSTALL README README.CONFIGURE DescPort: << Need to look into mapscript again. The binaries are now also installed in bin so that they can be used from the command line. Should mapserver depend on apache2 and put it into the apache2 cgi directory? Kurt Schwehr 5/2006 The previous maintainer followed README.CONFIGURE and the webiste: http://www.kyngchaos.com/macosx/mapservinstall.html <<