[62213] trunk/dports/aqua/qtpfsgui
ryandesign at macports.org
ryandesign at macports.org
Thu Dec 31 15:12:40 PST 2009
Revision: 62213
http://trac.macports.org/changeset/62213
Author: ryandesign at macports.org
Date: 2009-12-31 15:12:37 -0800 (Thu, 31 Dec 2009)
Log Message:
-----------
svn ci -m "qtpfsgui: update to 1.9.3, put application in ${applications_dir}, put doc files in ${prefix}/share/doc/${name}"
Modified Paths:
--------------
trunk/dports/aqua/qtpfsgui/Portfile
Added Paths:
-----------
trunk/dports/aqua/qtpfsgui/files/patch-app-path.diff
Removed Paths:
-------------
trunk/dports/aqua/qtpfsgui/files/patch-qtpfsgui-1.9.2-app-path.diff
trunk/dports/aqua/qtpfsgui/files/patch-qtpfsgui-1.9.2-exp10f.diff
Modified: trunk/dports/aqua/qtpfsgui/Portfile
===================================================================
--- trunk/dports/aqua/qtpfsgui/Portfile 2009-12-31 21:54:40 UTC (rev 62212)
+++ trunk/dports/aqua/qtpfsgui/Portfile 2009-12-31 23:12:37 UTC (rev 62213)
@@ -3,8 +3,7 @@
PortSystem 1.0
name qtpfsgui
-version 1.9.2
-revision 1
+version 1.9.3
categories aqua graphics
maintainers gmail.com:clubjuggler openmaintainer
description GUI for HDR imaging workflow
@@ -13,14 +12,14 @@
platforms darwin
homepage http://qtpfsgui.sourceforge.net/
master_sites sourceforge
-patchfiles patch-qtpfsgui-1.9.2-app-path.diff patch-qtpfsgui-1.9.2-exp10f.diff
-patch.pre_args -p1
+patchfiles patch-app-path.diff
depends_lib path:bin/qmake-mac:qt4-mac port:exiv2 port:openexr port:ilmbase port:fftw-3-single port:tiff
-checksums md5 8a037c1dc75f04752dc36a59e7237fc4
+checksums md5 5a6421391e373c912e4a793e131151c8 \
+ sha1 adf037c54f55be50d931fa484cca169c01d0384d \
+ rmd160 5188b2f1679d6788358067fe761d0c72c475bfe9
-
# This shouldn't be this hard. Taken from portconfigure.tcl because
# I couldn't see any other way to set this.
# Set pre-compiler filter to use (ccache/distcc), if any.
@@ -40,6 +39,10 @@
# However, I couldn't figure out how to get the environment variable here so
# this is a kludge to replicate what's done in portconfigure.tcl. It should
# be fixed as soon as possible.
-configure.pre_args "PREFIX=${prefix} QMAKE_CC=\"${filter}gcc\" QMAKE_CXX=\"${filter}g++\""
+configure.pre_args PREFIX=${prefix}
+configure.args APPLICATIONS_DIR="${applications_dir}" \
+ DOCDIR=${prefix}/share/doc/${name} \
+ QMAKE_CC="${filter}gcc" \
+ QMAKE_CXX="${filter}g++"
configure.cmd "LOCALSOFT=${prefix} ${prefix}/libexec/qt4-mac/bin/qmake"
destroot.destdir INSTALL_ROOT=${destroot}
Copied: trunk/dports/aqua/qtpfsgui/files/patch-app-path.diff (from rev 62212, trunk/dports/aqua/qtpfsgui/files/patch-qtpfsgui-1.9.2-app-path.diff)
===================================================================
--- trunk/dports/aqua/qtpfsgui/files/patch-app-path.diff (rev 0)
+++ trunk/dports/aqua/qtpfsgui/files/patch-app-path.diff 2009-12-31 23:12:37 UTC (rev 62213)
@@ -0,0 +1,15 @@
+--- project.pro.orig 2009-03-29 08:25:15.000000000 -0500
++++ project.pro 2009-12-31 17:08:44.000000000 -0600
+@@ -315,7 +315,11 @@
+ HTMLDIR = $${DOCDIR}
+ }
+
+-target.path = $${PREFIX}/bin
++mac {
++ target.path = $${APPLICATIONS_DIR}
++} else {
++ target.path = $${PREFIX}/bin
++}
+ menu.files = qtpfsgui.desktop
+ menu.path = $${PREFIX}/share/applications
+ icon.files = images/qtpfsgui.png
Deleted: trunk/dports/aqua/qtpfsgui/files/patch-qtpfsgui-1.9.2-app-path.diff
===================================================================
--- trunk/dports/aqua/qtpfsgui/files/patch-qtpfsgui-1.9.2-app-path.diff 2009-12-31 21:54:40 UTC (rev 62212)
+++ trunk/dports/aqua/qtpfsgui/files/patch-qtpfsgui-1.9.2-app-path.diff 2009-12-31 23:12:37 UTC (rev 62213)
@@ -1,16 +0,0 @@
-diff -uNr qtpfsgui-1.9.2.orig/project.pro qtpfsgui-1.9.2/project.pro
---- qtpfsgui-1.9.2.orig/project.pro 2008-04-30 10:23:36.000000000 -0400
-+++ qtpfsgui-1.9.2/project.pro 2008-06-06 00:58:11.000000000 -0400
-@@ -302,7 +302,11 @@
- }
- }
-
--target.path = $${PREFIX}/bin
-+mac {
-+ target.path = /Applications/MacPorts
-+} else {
-+ target.path = $${PREFIX}/bin
-+}
- menu.files = qtpfsgui.desktop
- menu.path = $${PREFIX}/share/applications
- icon.files = images/qtpfsgui.png
Deleted: trunk/dports/aqua/qtpfsgui/files/patch-qtpfsgui-1.9.2-exp10f.diff
===================================================================
--- trunk/dports/aqua/qtpfsgui/files/patch-qtpfsgui-1.9.2-exp10f.diff 2009-12-31 21:54:40 UTC (rev 62212)
+++ trunk/dports/aqua/qtpfsgui/files/patch-qtpfsgui-1.9.2-exp10f.diff 2009-12-31 23:12:37 UTC (rev 62213)
@@ -1,11 +0,0 @@
---- qtpfsgui-1.9.2.orig/src/TM_operators/mantiuk06/contrast_domain.cpp 2008-04-28 12:15:22.000000000 -0400
-+++ qtpfsgui-1.9.2/src/TM_operators/mantiuk06/contrast_domain.cpp 2008-06-06 01:09:54.000000000 -0400
-@@ -41,7 +41,7 @@
- #include <string.h>
- #include <math.h>
-
--#ifdef WIN32
-+#if defined(WIN32) || defined(__APPLE__)
- #define exp10f( x ) exp( x * log (10))
- #endif
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091231/206666d6/attachment.html>
More information about the macports-changes
mailing list