Changeset 97762


Ignore:
Timestamp:
Sep 14, 2012, 6:55:49 PM (12 years ago)
Author:
ryandesign@…
Message:

povray: update to 3.7.0RC6 (#35949); add boost and openexr dependencies

Location:
trunk/dports/graphics/povray
Files:
4 added
3 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/povray/Portfile

    r97417 r97762  
    66
    77name                povray
    8 version             3.6.1
     8version             3.7.0.RC6
    99set branch          [join [lrange [split ${version} .] 0 1] .]
    10 revision            7
    1110categories          graphics
    1211platforms           darwin
     
    2019
    2120homepage            http://www.povray.org/
    22 master_sites        ${homepage}ftp/pub/povray/Official/Unix/ \
    23                     ftp://ftp.povray.org/pub/povray/Official/Unix/
    24 use_bzip2           yes
     21master_sites        ${homepage}beta/source/
    2522
    26 checksums           md5     b5789bb7eeaed0809c5c82d0efda571d \
    27                     sha1    1fab3ccbdedafbf77e3a66087709bbdf60bc643d
     23checksums           rmd160  1015f19cb48a7dea7dc51b842e3e391aa7eec450 \
     24                    sha256  374957bdb90fb7be5f36f839b3f04ab0a4340f6e8cf369f658d6592a342803e3
    2825
    2926depends_build       port:pkgconfig
    3027
    31 depends_lib         port:xorg-libsm \
     28depends_lib         port:boost \
     29                    port:openexr \
     30                    port:xorg-libsm \
    3231                    port:xpm \
    3332                    port:libpng \
     
    3635                    port:tiff
    3736
    38 patchfiles          patch-configure \
    39                     patch-source_png_pov.cpp \
    40                     povray-3.6.1-libpng14.patch
     37patchfiles          patch-boost-1.50.diff
    4138
    42 # uses its own cflags in addition to the ones we pass anyway
    43 configure.optflags
    44 configure.args      --includedir=${prefix}/include \
    45                     --mandir=${prefix}/share/man \
    46                     COMPILED_BY="MacPorts"
     39post-patch {
     40    reinplace "s|3.7.0.RC5|${version}|g" ${worksrcpath}/VERSION ${worksrcpath}/configure
     41}
     42
     43configure.env       COMPILED_BY="MacPorts"
     44configure.libs      -lboost_system-mt
     45configure.args      --with-boost=${prefix} \
     46                    --with-boost-thread \
     47                    --with-libjpeg=${prefix} \
     48                    --with-libpng=${prefix} \
     49                    --with-libsdl=${prefix} \
     50                    --with-libtiff=${prefix} \
     51                    --with-openexr=${prefix} \
     52                    --with-zlib=${prefix}
    4753
    4854post-destroot {
     
    8490
    8591platform darwin {
     92    patchfiles-append   patch-configure-stat.diff \
     93                        patch-lseek64.diff \
     94                        patch-vfe-uint.diff
     95   
    8696    if {[variant_isset universal]} {
    8797        set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
Note: See TracChangeset for help on using the changeset viewer.