[44251] trunk/dports/graphics/qimageblitz/Portfile

illogic-al at macports.org illogic-al at macports.org
Tue Dec 23 21:18:41 PST 2008


Revision: 44251
          http://trac.macports.org/changeset/44251
Author:   illogic-al at macports.org
Date:     2008-12-23 21:18:41 -0800 (Tue, 23 Dec 2008)
Log Message:
-----------
Hopefully final 1.7.0 update. Read universal settings from macports.conf.
Set ${prefix} properly.

Modified Paths:
--------------
    trunk/dports/graphics/qimageblitz/Portfile

Modified: trunk/dports/graphics/qimageblitz/Portfile
===================================================================
--- trunk/dports/graphics/qimageblitz/Portfile	2008-12-24 05:13:51 UTC (rev 44250)
+++ trunk/dports/graphics/qimageblitz/Portfile	2008-12-24 05:18:41 UTC (rev 44251)
@@ -8,8 +8,8 @@
 categories          graphics kde kde4
 maintainers         illogic-al at macports.org openmaintainer
 description         Graphical effects library for KDE4
-long_description    QImageBlitz is a graphical effect and filter library for KDE4 \
-                    with MMX/SSE support.
+long_description    QImageBlitz is a graphical effect and filter library \
+                    for KDE4 with MMX/SSE support.
 homepage            http://www.kde.org
 platforms           darwin
 master_sites        http://www.kde.org
@@ -18,36 +18,34 @@
 fetch.type          svn 
 svn.url             svn://anonsvn.kde.org/home/kde/tags/${name}/${version}
 
-depends_lib         port:qt4-mac 
+depends_lib         port:qt4-mac
 
 depends_build       port:cmake port:automoc
 
 use_parallel_build  yes
+worksrcdir          build
+pre-configure       { file mkdir ${worksrcpath} }
 
-worksrcdir      	build
-
-configure.cmd		cmake
-
-pre-configure { file mkdir ${worksrcpath} }
-
 configure.env-append  QTDIR=${prefix}/libexec/qt4-mac
+configure.cmd       cmake
+configure.ccache    no
+configure.compiler  gcc-4.2
 
-configure.args      ../${distname} -DBUILD_SHARED_LIBS:BOOL=ON \
+configure.args      ../${distname} -DBUILD_SHARED_LIBS=ON \
 		-DCMAKE_VERBOSE_MAKEFILE=ON \
 		-DCMAKE_BUILD_TYPE=Release \
-		-DCMAKE_SYSTEM_PREFIX_PATH=\"/opt/local\;/usr\" \
+		-DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \
 		-DCMAKE_INSTALL_PREFIX=${prefix} \
-        -DCMAKE_OSX_SYSROOT=${sysroot} \
-		-Wno-dev 
+		-DCMAKE_OSX_SYSROOT=${universal_sysroot} \
+		-Wno-dev
 
 variant universal {
     configure.universal_args-delete  --disable-dependency-tracking
-    configure.args-append	-DCMAKE_OSX_ARCHITECTURES=\"ppc\;i386\"
+    configure.args-append	-DCMAKE_OSX_ARCHITECTURES=\"[strsed ${configure.universal_archs} "g| |;|"]\"
 }
 
 variant debug description "Enable debug binaries" {
-	configure.args-delete		-DCMAKE_BUILD_TYPE=Release 
-	configure.args-append		-DCMAKE_BUILD_TYPE=debugFull 
-
+	configure.args-delete		-DCMAKE_BUILD_TYPE=Release
+	configure.args-append		-DCMAKE_BUILD_TYPE=debugFull
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081223/eedf3a14/attachment.html>


More information about the macports-changes mailing list