[45995] trunk/dports/devel/automoc/Portfile
illogic-al at macports.org
illogic-al at macports.org
Mon Jan 26 18:20:18 PST 2009
Revision: 45995
http://trac.macports.org/changeset/45995
Author: illogic-al at macports.org
Date: 2009-01-26 18:20:18 -0800 (Mon, 26 Jan 2009)
Log Message:
-----------
Simplify by using cmake portgroup and fix dependency
Modified Paths:
--------------
trunk/dports/devel/automoc/Portfile
Modified: trunk/dports/devel/automoc/Portfile
===================================================================
--- trunk/dports/devel/automoc/Portfile 2009-01-27 02:17:03 UTC (rev 45994)
+++ trunk/dports/devel/automoc/Portfile 2009-01-27 02:20:18 UTC (rev 45995)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+PortGroup cmake 1.0
name automoc
version 0.9.87
@@ -11,30 +12,17 @@
long_description ${description} Necessary for compiling KDE programs.
platforms darwin
homepage http://www.kde.org
-master_sites http://ftp.kde.org/unstable/${name}4/${version}/
+master_sites kde:unstable/${name}4/${version}/
use_bzip2 yes
distname ${name}4-${version}
checksums md5 824504508d581e82d5e1a17b01a1d684
-depends_build port:cmake port:qt4-mac
+depends_lib port:qt4-mac
use_parallel_build yes
worksrcdir build
pre-configure { file mkdir ${worksrcpath} }
-configure.cmd cmake
-configure.ccache no
configure.compiler gcc-4.2
-configure.args ../${distname} -DBUILD_SHARED_LIBS=ON \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \
- -DCMAKE_INSTALL_PREFIX=${prefix} \
- -DCMAKE_OSX_SYSROOT=${universal_sysroot} \
- -DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake \
- -Wno-dev
+configure.args ../${distname}
-variant universal {
- configure.universal_args-delete --disable-dependency-tracking
- configure.args-append -DCMAKE_OSX_ARCHITECTURES=\"[strsed ${configure.universal_archs} "g| |;|"]\"
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090126/dc9ed852/attachment.html>
More information about the macports-changes
mailing list