1 | # $Id: Portfile 16 2008-06-06 13:34:47Z lovelace $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name qtpfsgui |
---|
6 | version 1.9.2 |
---|
7 | categories aqua |
---|
8 | maintainers clubjuggler@gmail.com openmaintainer |
---|
9 | description Qtpfsgui is an open source graphical user interface application that aims to provide a workflow for HDR imaging. |
---|
10 | long_description Qtpfsgui is an open source graphical user interface application that aims to provide a workflow for HDR imaging. |
---|
11 | platforms darwin |
---|
12 | homepage http://qtpfsgui.sourceforge.net/ |
---|
13 | master_sites sourceforge |
---|
14 | use_bzip2 no |
---|
15 | distname qtpfsgui-${version} |
---|
16 | patchfiles qtpfsgui-1.9.2-app-path.patch qtpfsgui-1.9.2-exp10f.patch |
---|
17 | patch.pre_args -p1 |
---|
18 | |
---|
19 | depends_lib port:qt4-mac port:exiv2 port:openexr port:ilmbase port:fftw-3-single port:tiff |
---|
20 | |
---|
21 | checksums ${distname}.tar.gz md5 8a037c1dc75f04752dc36a59e7237fc4 |
---|
22 | |
---|
23 | |
---|
24 | # This shouldn't be this hard. Taken from portconfigure.tcl because |
---|
25 | # I couldn't see any other way to set this. |
---|
26 | # Set pre-compiler filter to use (ccache/distcc), if any. |
---|
27 | if {[tbool configure.ccache] && [tbool configure.distcc]} { |
---|
28 | set filter "ccache " |
---|
29 | append_list_to_environment_value configure "CCACHE_PREFIX" "distcc" |
---|
30 | } elseif {[tbool configure.ccache]} { |
---|
31 | set filter "ccache " |
---|
32 | } elseif {[tbool configure.distcc]} { |
---|
33 | set filter "distcc " |
---|
34 | } else { |
---|
35 | set filter "" |
---|
36 | } |
---|
37 | |
---|
38 | # This also shouldn't be this hard. All I want to do is set QMAKE_CC to the |
---|
39 | # environment variable CC (and QMAKE_CXX to CXX) that are set in portconfigure.tcl. |
---|
40 | # However, I couldn't figure out how to get the environment variable here so |
---|
41 | # this is a kludge to replicate what's done in portconfigure.tcl. It should |
---|
42 | # be fixed as soon as possible. |
---|
43 | configure.pre_args "PREFIX=${prefix} QMAKE_CC=\"${filter}gcc\" QMAKE_CXX=\"${filter}g++\"" |
---|
44 | configure.cmd "LOCALSOFT=${prefix} qmake" |
---|
45 | destroot.destdir INSTALL_ROOT=${destroot} |
---|
46 | |
---|