[93978] trunk/dports/science/libccd

mmoll at macports.org mmoll at macports.org
Tue Jun 5 20:59:53 PDT 2012


Revision: 93978
          https://trac.macports.org/changeset/93978
Author:   mmoll at macports.org
Date:     2012-06-05 20:59:51 -0700 (Tue, 05 Jun 2012)
Log Message:
-----------
science/libccd: work around cmake bug

Modified Paths:
--------------
    trunk/dports/science/libccd/Portfile

Added Paths:
-----------
    trunk/dports/science/libccd/files/
    trunk/dports/science/libccd/files/patch-CMakeLists.txt.diff

Modified: trunk/dports/science/libccd/Portfile
===================================================================
--- trunk/dports/science/libccd/Portfile	2012-06-06 03:44:01 UTC (rev 93977)
+++ trunk/dports/science/libccd/Portfile	2012-06-06 03:59:51 UTC (rev 93978)
@@ -5,6 +5,7 @@
 
 name                libccd
 version             1.3
+revision            1
 categories          science
 maintainers         mmoll openmaintainer
 description         A library for collision detection between convex shapes
@@ -16,7 +17,7 @@
 checksums           md5     2c4fcb78174ebf9441a1706961a669cd \
                     sha1    980b5c1616e9d064ac03c243daf22936524a48fb \
                     rmd160  5da32f4ad5502cc6437ba7c1f0080c56f93c7291
-
+patchfiles          patch-CMakeLists.txt.diff
 livecheck.type      regex
 livecheck.url       ${homepage}
 livecheck.regex     ${name}-(\[0-9.\]+).tar.gz

Added: trunk/dports/science/libccd/files/patch-CMakeLists.txt.diff
===================================================================
--- trunk/dports/science/libccd/files/patch-CMakeLists.txt.diff	                        (rev 0)
+++ trunk/dports/science/libccd/files/patch-CMakeLists.txt.diff	2012-06-06 03:59:51 UTC (rev 93978)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2012-06-05 22:55:11.000000000 -0500
++++ CMakeLists.txt	2012-06-05 22:56:33.000000000 -0500
+@@ -48,6 +48,7 @@
+ configure_file("${pkg_conf_file}.in" "${pkg_conf_file}" @ONLY)
+ 
+ install(TARGETS ccd ccd_static ARCHIVE DESTINATION lib${LIB_SUFFIX}/ LIBRARY DESTINATION lib${LIB_SUFFIX}/)
+-install(DIRECTORY src/ccd DESTINATION include FILES_MATCHING PATTERN "*.h")
++# work around cmake bug http://public.kitware.com/Bug/view.php?id=10366
++install(DIRECTORY src/ccd DESTINATION include PATTERN "*.in" EXCLUDE PATTERN "*.m4" EXCLUDE)
+ install(FILES "${pkg_conf_file}" DESTINATION lib${LIB_SUFFIX}/pkgconfig/ COMPONENT pkgconfig)
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120605/0a1eab3e/attachment.html>


More information about the macports-changes mailing list