[74205] trunk/dports/devel/dbusmenu-qt/Portfile

michaelld at macports.org michaelld at macports.org
Tue Dec 7 07:24:55 PST 2010


Revision: 74205
          http://trac.macports.org/changeset/74205
Author:   michaelld at macports.org
Date:     2010-12-07 07:24:49 -0800 (Tue, 07 Dec 2010)
Log Message:
-----------
dbusmenu-qt: Fix installation of certain header files; CMake should do this, but doesn't for some reason.

Modified Paths:
--------------
    trunk/dports/devel/dbusmenu-qt/Portfile

Modified: trunk/dports/devel/dbusmenu-qt/Portfile
===================================================================
--- trunk/dports/devel/dbusmenu-qt/Portfile	2010-12-07 12:22:34 UTC (rev 74204)
+++ trunk/dports/devel/dbusmenu-qt/Portfile	2010-12-07 15:24:49 UTC (rev 74205)
@@ -6,7 +6,7 @@
 
 name                dbusmenu-qt
 version             0.6.2
-revision            1
+revision            2
 categories          devel kde4 kde
 maintainers         snc openmaintainer
 description         expose menus on DBus
@@ -14,12 +14,24 @@
 
 homepage            http://gitorious.org/dbusmenu/
 platforms           darwin
+
 depends_lib-append  port:qjson
 
 fetch.type          git
 git.url             git://gitorious.org/dbusmenu/dbusmenu-qt.git
 git.branch          ${version}
 
+post-destroot {
+    # CMake is not installing all of the src headers; install them
+    # manually here.  Destination directory already exists.
+    foreach header [exec find ${worksrcpath}/src -name "*.h" | \
+                        sed -e "s@${worksrcpath}/src/@@g" | \
+                        grep -v "_p\.h"] {
+        xinstall -m 644 -W ${worksrcpath}/src ${header} \
+            ${destroot}${prefix}/include/${name}
+    }
+}
+
 livecheck.type      regex
 livecheck.url       http://gitorious.org/dbusmenu/${name}/trees/master
 livecheck.regex     >(\\d+(\\.\\d+)+)<
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101207/aeee3ef8/attachment.html>


More information about the macports-changes mailing list