Changeset 14433


Ignore:
Timestamp:
Oct 5, 2005, 3:25:25 PM (14 years ago)
Author:
mww
Message:

Bug: #2259
Submitted by: mww@

remove version-changing variant, update to 1.3.1, use libgif & sqlite3, use xinstall

Location:
trunk/dports/science/gdal
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/gdal/Portfile

    r11707 r14433  
    1 # $Id: Portfile,v 1.4 2005/04/08 19:24:27 mww Exp $
     1# $Id: Portfile,v 1.5 2005/10/05 15:25:24 mww Exp $
    22
    33PortSystem 1.0
    44name            gdal
    5 version         1.1.9
    6 revision        1
     5version         1.3.1
    76maintainers     fulton@cmu.edu
    87platforms       darwin
     
    1817master_sites    ftp://ftp.remotesensing.org/pub/gdal/
    1918categories      science
    20 checksums       md5 2183e206affc7bf25e0d33459ccb8572
     19checksums       md5 7ff1ceff745ee011793e1f860c02c172
    2120
    22 depends_lib     lib:libz.1:zlib lib:libpng:libpng lib:libtiff:tiff \
    23                 lib:libgeotiff:libgeotiff lib:libjpeg:jpeg lib:libproj.0:proj
     21depends_lib     port:zlib port:libpng port:tiff port:libgeotiff port:jpeg \
     22        port:giflib port:sqlite3 port:proj
    2423
    25 configure.args  --without-python   --with-libz=${prefix} --with-png=${prefix} \
     24configure.args  --without-python --with-libz=${prefix} --with-png=${prefix} \
    2625        --with-libtiff=${prefix} --with-geotiff=${prefix} --with-jpeg=${prefix} \
    27         --mandir=${prefix}/share/man
    28 configure.env   LIBS="-L/${prefix}/lib"
     26        --with-gif=${prefix} --without-pg --without-mysql --with-sqlite=${prefix} \
     27        --mandir=\\\${prefix}/share/man
    2928
     29platform darwin 8 {
     30        configure.env   CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
     31}
    3032
    31 build.cmd       make
    32 build.args      LD_SHARED="g++ -dynamiclib -install_name ${prefix}/lib/libgdal.1.1.dylib" \
    33                          SO_EXT="dylib"
    34 build.target    ""
     33build.target
    3534
    36 destroot.args   LD_SHARED="g++ -dynamiclib -install_name ${prefix}/lib/libgdal.1.1.dylib" \
    37                          SO_EXT="dylib" prefix="${destroot}${prefix}"
    38 
     35destroot.destdir        prefix=${destroot}${prefix}
    3936
    4037post-destroot {
    41         file mkdir ${destroot}${prefix}/share/doc/${name}
    42         file copy ${worksrcpath}/HOWTO-RELEASE ${worksrcpath}/NEWS \
    43                 ${worksrcpath}/Changelog ${worksrcpath}/VERSION \
     38        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     39        xinstall -m 644 -W ${worksrcpath} HOWTO-RELEASE NEWS Changelog VERSION \
    4440                ${destroot}${prefix}/share/doc/${name}
    45         system "ln -sf libgdal.1.1.dylib \
    46                     ${destroot}/${prefix}/lib/libgdal.1.dylib"
    47         system "ln -sf libgdal.1.1.dylib \
    48                     ${destroot}/${prefix}/lib/libgdal.dylib"
    4941}
    50 
    51 variant devel {
    52         fetch.type       cvs
    53         cvs.root         :pserver:anonymous@cvs.remotesensing.org:/cvsroot
    54         cvs.module       gdal
    55         cvs.password     anonymous
    56         cvs.tag          HEAD
    57         version          HEAD
    58         worksrcdir         ${cvs.module}
    59         patchfiles      patch-GDALmake.opt.in.diff
    60 }
    61 
Note: See TracChangeset for help on using the changeset viewer.