[MacPorts] #19186: move strigi to cmake portgroup and allow universal building
MacPorts
noreply at macports.org
Sun Apr 5 14:04:09 PDT 2009
#19186: move strigi to cmake portgroup and allow universal building
-------------------------------------+--------------------------------------
Reporter: illogic-al@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.1
Keywords: | Port:
-------------------------------------+--------------------------------------
This ticket is petitioning to move the strigi portfile to use the cmake
portgroup.
In addition to making configuration easier, it has the advantage of
allowing strigi to be built as a universal portfile easily.
{{{
Index: ../devel/strigi/Portfile
===================================================================
--- ../devel/strigi/Portfile (revision 48876)
+++ ../devel/strigi/Portfile (working copy)
@@ -1,6 +1,7 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
+PortGroup cmake 1.0
name strigi
version 0.6.3
@@ -16,7 +17,6 @@
patchfiles strigi-fix-check-gcc-visibility-macro-ccache.patch
patch.pre_args -p1
-depends_build port:cmake
depends_lib port:bzip2 \
port:clucene \
port:dbus \
@@ -31,11 +31,6 @@
# build, so for now this is an in-source build. That does, however,
simplify
# things because the build and destroot phases can be left at the default
# values.
-# Let's try to use as much as possible and just override the
-# configure.cmd and configure.pre_args (setting the prefix)
-configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix} \
-
-DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake
-configure.cmd cmake
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
}}}
Patch has been tested and it works.
I'll apply myself if there's a maintainer timeout but anyone else feel
free as I might be unavailable/forget during the week.
--
Ticket URL: <http://trac.macports.org/ticket/19186>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list