Ticket #35949: povray-3.7.0.RC6.diff
File povray-3.7.0.RC6.diff, 2.9 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
Portfile
5 5 PortGroup muniversal 1.0 6 6 7 7 name povray 8 version 3. 6.18 version 3.7.0.RC6 9 9 set branch [join [lrange [split ${version} .] 0 1] .] 10 revision 711 10 categories graphics 12 11 platforms darwin 13 12 maintainers nomaintainer … … 19 18 UNIX version, not the graphical Mac OS X version. 20 19 21 20 homepage 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 21 master_sites ${homepage}beta/source/ 25 22 26 checksums md5 b5789bb7eeaed0809c5c82d0efda571d\27 sha 1 1fab3ccbdedafbf77e3a66087709bbdf60bc643d23 checksums rmd160 1015f19cb48a7dea7dc51b842e3e391aa7eec450 \ 24 sha256 374957bdb90fb7be5f36f839b3f04ab0a4340f6e8cf369f658d6592a342803e3 28 25 29 26 depends_build port:pkgconfig 30 27 31 depends_lib port:xorg-libsm \ 28 depends_lib port:boost \ 29 port:openexr \ 30 port:xorg-libsm \ 32 31 port:xpm \ 33 32 port:libpng \ 34 33 port:jpeg \ 35 34 port:zlib \ 36 35 port:tiff 37 36 38 patchfiles patch-configure \ 39 patch-source_png_pov.cpp \ 40 povray-3.6.1-libpng14.patch 37 patchfiles patch-boost-1.50.diff 41 38 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" 39 post-patch { 40 reinplace "s|3.7.0.RC5|${version}|g" ${worksrcpath}/VERSION ${worksrcpath}/configure 41 } 47 42 43 configure.env COMPILED_BY="MacPorts" 44 configure.libs -lboost_system-mt 45 configure.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} 53 48 54 post-destroot { 49 55 foreach f {povray.conf povray.ini} { 50 56 move ${destroot}${prefix}/etc/povray/${branch}/${f} \ … … 83 89 } 84 90 85 91 platform darwin { 92 patchfiles-append patch-configure-stat.diff \ 93 patch-lseek64.diff \ 94 patch-vfe-uint.diff 95 86 96 if {[variant_isset universal]} { 87 97 set merger_host(x86_64) x86_64-apple-${os.platform}${os.major} 88 98 set merger_host(i386) i686-apple-${os.platform}${os.major}