Changeset 74992 for trunk/dports/gis


Ignore:
Timestamp:
Jan 11, 2011, 9:27:58 AM (9 years ago)
Author:
ryandesign@…
Message:

grass: update to 6.4.0; re-add mesa dependency (see #26355); add postgresql84 and postgresql90 variants; improve variant descriptions; fix livecheck

File:
1 edited

Legend:

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

    r74991 r74992  
    44
    55name              grass
    6 version           6.4.0RC6
     6epoch             1
     7version           6.4.0
    78maintainers       nomaintainer
    89categories        gis
     
    1314                  geospatial data management and analysis.
    1415
    15 homepage          http://grass.osgeo.org
    16 master_sites      http://grass.osgeo.org/grass64/source/
     16homepage          http://grass.osgeo.org/
     17master_sites      ${homepage}grass[join [lrange [split ${version} .] 0 1] {}]/source/
    1718
    18 checksums         md5     cbb98b579155f8e9864b4e98e4423568 \
    19                   sha1    4e82d7211ac85dbefa15ff27397d896d1955db64 \
    20                   rmd160  6c8a0cd56b72b11395cf97953bc74672939225f3
     19checksums         sha1    c91e8501c7a756a94d2be47729f640d33b2a7468 \
     20                  rmd160  b0bd2d2ce048a5f10f345786bc81fa4bd22df019
    2121
    2222depends_lib       port:fftw-3 \
     
    2626                  port:jpeg \
    2727                  port:libpng \
     28                  port:mesa \
    2829                  port:openmotif \
    2930                  port:proj \
     
    8182build.target    default
    8283
    83 # installs into /opt/local/grass-6.3.0
    84 #destroot.violate_mtree  yes
    85 
    86 variant mysql5 description "Install grass with mysql 5 support" {
     84variant mysql5 description {Add MySQL 5 support} {
    8785    depends_lib-append    path:bin/mysql_config5:mysql5
    8886    configure.args-append --with-mysql
     
    9290}
    9391
    94 variant postgresql83 description "Install grass with postgresql 8.3 support" {
     92variant postgresql83 conflicts postgresql84 postgresql90 description {Add PostgreSQL 8.3 support} {
    9593    depends_lib-append    port:postgresql83
    9694    configure.args-delete --without-postgres
     
    10098}
    10199
    102 variant sqlite3 description "Install grass with sqlite 3 support" {
     100variant postgresql84 conflicts postgresql83 postgresql90 description {Add PostgreSQL 8.4 support} {
     101    depends_lib-append    port:postgresql84
     102    configure.args-delete --without-postgres
     103    configure.args-append --with-postgres
     104    configure.args-append --with-postgres-includes=${prefix}/include/postgresql84
     105    configure.args-append --with-postgres-libs=${prefix}/lib/postgresql84
     106}
     107
     108variant postgresql90 conflicts postgresql83 postgresql84 description {Add PostgreSQL 9.0 support} {
     109    depends_lib-append    port:postgresql90
     110    configure.args-delete --without-postgres
     111    configure.args-append --with-postgres
     112    configure.args-append --with-postgres-includes=${prefix}/include/postgresql90
     113    configure.args-append --with-postgres-libs=${prefix}/lib/postgresql90
     114}
     115
     116variant sqlite3 description {Add SQLite 3 support} {
    103117    depends_lib-append    port:sqlite3
    104118    configure.args-append --with-sqlite
     
    107121}
    108122
    109 variant ffmpeg description {Install grass with ffmpeg suport} {
     123variant ffmpeg description {Add ffmpeg support} {
    110124    depends_lib-append    port:ffmpeg
    111125    configure.args-append --with-ffmpeg \
     
    115129                          --with-ffmpeglibs=${prefix}/lib
    116130}
     131
     132livecheck.type      regex
     133livecheck.url       http://grass.osgeo.org/devel/svntags.php
     134livecheck.regex     {GRASS ([0-9.]+):}
Note: See TracChangeset for help on using the changeset viewer.