Changeset 96046 for trunk/dports/gis


Ignore:
Timestamp:
Jul 30, 2012, 10:48:03 AM (7 years ago)
Author:
and.damore@…
Message:

port mapserver: abandonment ticket #35424, updated to 6.0.3 according to patch #30250 #34033 and #34614, closes the aforementioned tickets

Location:
trunk/dports/gis/mapserver
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gis/mapserver/Portfile

    r42074 r96046  
    44
    55name             mapserver
    6 version          5.2.0
    7 maintainers      googlemail.com:mbarchfe
     6version          6.0.3
     7maintainers      and.damore hbaspecto.com:jea openmaintainer
    88categories       gis
     9license          permissive
    910platforms        darwin
    1011
     
    1516homepage         http://mapserver.gis.umn.edu/
    1617master_sites     http://download.osgeo.org/mapserver
     18distname         mapserver-${version}
    1719
    18 checksums        md5 6c0f210eb6510f0a43b6d5b09df8bb83
     20checksums        md5     0d2ad6f56e8a1b5755e856a54f90071c \
     21                 rmd160  a1bf9a90e889c17ad95f7c52de1e6523189bcd8d \
     22                 sha256  a939d5e207017ff87e115816a0a8a13fb2751069feb90e12fe594c537a917199
    1923
    2024depends_lib      port:gd2 \
    21                  port:geos
     25                 port:jpeg \
     26                 port:libpng \
     27                 port:freetype \
     28                 port:giflib \
    2229
    23 patchfiles       patch-Makefile.in.diff
     30patchfiles       patch-Makefile.in.diff \
     31                 patch-renderers-agg-include-agg_renderer_outline_aa.h.diff
    2432
    25 configure.args   --with-gd=${prefix}
    26 variant gdalogr description {Add raster formats from gdal (Geospatial Data Abstraction Library) and vector formats from OGR Simple Features Library} {
    27     depends_lib-append      port:gdal
    28     configure.args-append   --with-gdal=${prefix}/bin/gdal-config \
    29                             --with-ogr=${prefix}/bin/gdal-config
     33configure.args   --with-gd=${prefix} \
     34                 --with-png=${prefix} \
     35                 --with-zlib=${prefix} \
     36                 --with-jpeg=${prefix} \
     37                 --with-gif=${prefix} \
     38
     39default_variants +wms +gdal +ogr +proj +cairo +wfs +proj \
     40                 +geos +postgis +wmsclient +wfsclient \
     41                 +wcs +sos +kml +fastcgi
     42
     43if {[variant_isset postgis]} {
     44       #check for most recent version of postgresql installed
     45       set HAVE_PGCONFIG [llength [glob -nocomplain -d ${prefix}/lib postgresql*/bin/pg_config]]
     46       #if not found, intall the postgresql port
     47       if {$HAVE_PGCONFIG == 0} {
     48         depends_lib-append port:postgresql90
     49       }
    3050}
    3151
    32 variant proj description {Add projection and Web Map Service support} {
    33     depends_lib-append      port:proj
    34     configure.args-append   --with-proj=${prefix}
     52variant postgis description {Add support for postgis sources} {
     53       set PGSQL_DIR [lindex [lsort -dec [glob -d ${prefix}/lib postgresql*]] 0]
     54       configure.args-append "--with-postgis=${PGSQL_DIR}/bin/pg_config"
     55}
     56
     57variant wms description {Add WMS server support} {
     58   default_variants-append    +proj
     59}
     60
     61variant wfs description {Add WFS server support} {
     62   depends_lib-append port:libxml2
     63   default_variants-append +proj +ogr +geos
     64   configure.args-append   --with-wfs
     65}
     66
     67variant sos description {Add SOS server support} {
     68   depends_lib-append port:libxml2
     69   default_variants-append +proj +ogr
     70   configure.args-append   --with-sos
     71}
     72
     73variant wcs description {Add WCS server support} {
     74   default_variants-append +proj +gdal
     75   configure.args-append   --with-wcs
     76}
     77
     78variant wmsclient description {Add WMS client support} {
     79   depends_lib-append port:curl
     80   default_variants-append +proj +gdal
     81   configure.args-append   --with-wmsclient
     82}
     83
     84variant kml description {Add KML output support} {
     85   configure.args-append   --with-kml
     86}
     87
     88variant wfsclient description {Add WFS client support} {
     89   depends_lib-append port:libxml2 \
     90                      port:curl
     91   default_variants-append    +proj +ogr +geos
     92   configure.args-append   --with-wfsclient
     93}
     94
     95variant cairo description {Add SVG and PDF support through cairo} {
     96    depends_lib-append      path:lib/pkgconfig/cairo.pc:cairo
     97    configure.args-append   --with-cairo
     98}
     99
     100variant gdal description {Add GDAL input format support} {
     101   depends_lib-append   port:gdal
     102   configure.args-append    --with-gdal
     103}
     104
     105variant ogr description {Add OGR input format support} {
     106   depends_lib-append   port:gdal
     107   configure.args-append    --with-ogr
     108}
     109
     110
     111variant proj description {Proj.4 reprojection support} {
     112   depends_lib-append   port:proj
     113   configure.args-append    --with-proj=${prefix}
     114}
     115
     116variant fastcgi description {FastCGI support} {
     117   depends_lib-append   port:fcgi
     118   configure.args-append    --with-fastcgi=${prefix}
     119}
     120
     121variant geos description {Add GEOS operations support} {
     122   depends_lib-append   port:geos
     123   configure.args-append    --with-geos
    35124}
    36125
     
    53142
    54143if {![variant_isset apache] && ![variant_isset apache2] && ![variant_isset apache_apple]} {
    55         default_variants +apache2
     144   #default to the apple apache version if none specified
     145   default_variants +apache_apple
    56146}
    57147
     
    60150post-destroot {
    61151    file mkdir ${destroot}${cgi_path}
    62     xinstall -m 755 ${worksrcpath}/mapserv ${destroot}${cgi_path}
     152    xinstall -m 755 ${worksrcpath}/mapserv ${destroot}${cgi_path}/mapserv
    63153}
Note: See TracChangeset for help on using the changeset viewer.