1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | PortSystem 1.0 |
---|
4 | name HDRSeeGlut |
---|
5 | version 0.65 |
---|
6 | categories x11 graphics |
---|
7 | license CeCILL CeCILL-C |
---|
8 | |
---|
9 | platforms darwin |
---|
10 | supported_archs x86_64 |
---|
11 | |
---|
12 | maintainers tuxfamily.org:pac |
---|
13 | description HDRSee is a GPU-based High Dynamic Range (HDR) Image viewer |
---|
14 | long_description HDRSee is a OpenGL/GLSL software that displays High Dynamic Range and Low Dynamic Range images. To display HDR images, HDRSee implements \ |
---|
15 | a few tone-mapping operators. Moreover, it is designed with a plugin mechanism \ |
---|
16 | that let developers add, as easily as possible, their own tone-mapping operator.\ |
---|
17 | All tone-mapping operations are done using Graphics Hardware thus maximing performance. |
---|
18 | |
---|
19 | homepage http://mhdrviewer.gforge.inria.fr/ |
---|
20 | |
---|
21 | master_sites https://gforge.inria.fr/frs/download.php/33356 |
---|
22 | |
---|
23 | checksums md5 93024f951458069bfb9054615136e90e \ |
---|
24 | sha1 3645d540308e321fd0ca1e4e8daf97ba20e243c9 \ |
---|
25 | rmd160 8869707c5d0c58605886de527648613035a3d140 |
---|
26 | |
---|
27 | depends_lib port:glew |
---|
28 | depends_build port:scons |
---|
29 | |
---|
30 | distfiles ${distname}.tar.tgz |
---|
31 | |
---|
32 | build.cmd scons |
---|
33 | build.pre_args -f SConstruct.HDRSeeGlut buildMode=release include=${prefix}/include/ libpath=${prefix}/lib/ |
---|
34 | use_parallel_build no |
---|
35 | build.target |
---|
36 | |
---|
37 | use_configure no |
---|
38 | destroot.violate_mtree yes |
---|
39 | |
---|
40 | destroot { |
---|
41 | |
---|
42 | # Create /opt/local/hdrseeGLUT |
---|
43 | xinstall -d -m 755 ${destroot}${prefix}/${name} |
---|
44 | xinstall -d -m 755 ${destroot}${prefix}/${name}/toneMaps/ |
---|
45 | xinstall -d -m 755 ${destroot}${prefix}/${name}/shaders/ |
---|
46 | |
---|
47 | xinstall -m 755 ${workpath}/${distname}/test-install/HDRSeeGlut ${destroot}${prefix}/${name} |
---|
48 | xinstall -m 755 ${workpath}/${distname}/test-install/shaders.shl ${destroot}${prefix}/${name} |
---|
49 | |
---|
50 | # eval xinstall -m 755 [ glob ${workpath}/${distname}/test-install/*.dylib ] ${destroot}${prefix}/${name} |
---|
51 | eval xinstall -m 755 [ glob ${workpath}/${distname}/test-install/toneMaps/*.plg ] ${destroot}${prefix}/${name}/tonemaps |
---|
52 | eval xinstall -m 755 [ glob ${workpath}/${distname}/test-install/shaders/*.frag ] ${destroot}${prefix}/${name}/shaders |
---|
53 | eval xinstall -m 755 [ glob ${workpath}/${distname}/test-install/shaders/*.vert ] ${destroot}${prefix}/${name}/shaders |
---|
54 | |
---|
55 | ui_msg "******************** INFO ********************" |
---|
56 | ui_msg " hdrsee has been installed in ${prefix}/${name} " |
---|
57 | ui_msg " Check that this directory is in your PATH !!! " |
---|
58 | ui_msg "***********************************************" |
---|
59 | |
---|
60 | ui_msg "******************** INFO ********************" |
---|
61 | ui_msg " hdrsee default plugins have been installed in ${prefix}/${name}/tonemaps/ " |
---|
62 | ui_msg " You can set HDRSEE_PATH if you would like to add another path from where plugins will be loaded !!! " |
---|
63 | ui_msg " export HDRSEE_PATH=YOUR_NEW_PATH_WHERE_YOUR_PLUGINS_ARE" |
---|
64 | ui_msg "***********************************************" |
---|
65 | |
---|
66 | |
---|
67 | } |
---|
68 | |
---|
69 | |
---|
70 | post-destroot { |
---|
71 | |
---|
72 | } |
---|