[83436] trunk/dports/math/qhull

mmoll at macports.org mmoll at macports.org
Thu Sep 1 06:50:00 PDT 2011


Revision: 83436
          http://trac.macports.org/changeset/83436
Author:   mmoll at macports.org
Date:     2011-09-01 06:49:57 -0700 (Thu, 01 Sep 2011)
Log Message:
-----------
math/qhull: put man pages in right place, small patch fix, see #31053

Modified Paths:
--------------
    trunk/dports/math/qhull/Portfile
    trunk/dports/math/qhull/files/patch-CMakeLists.txt.diff

Modified: trunk/dports/math/qhull/Portfile
===================================================================
--- trunk/dports/math/qhull/Portfile	2011-09-01 13:40:27 UTC (rev 83435)
+++ trunk/dports/math/qhull/Portfile	2011-09-01 13:49:57 UTC (rev 83436)
@@ -4,6 +4,7 @@
 PortGroup cmake 1.0
 name		qhull
 version		2011.1
+revision    1
 categories	math
 platforms	darwin
 maintainers	mmoll
@@ -27,9 +28,13 @@
                     sha1    3639b52e99bc0837fb2670d3a8a4bac3f0347ab8 \
                     rmd160  4689ece746c1125757f1d0e162bbe95d3864ba5b
 patchfiles	patch-CMakeLists.txt.diff \
-            patch-QhullPointSet.h.diff # patch for g++-4.0 / Leopard, see #31053
+            patch-QhullPointSet.h.diff 
+# last patch is for g++-4.0 / Leopard, see #31053
 worksrcdir	${name}-${version}	
-configure.args-append -DDOC_INSTALL_DIR=share/doc/qhull
+configure.args-append -DDOC_INSTALL_DIR=share/doc/qhull -DMAN_INSTALL_DIR=share/man/man1
+post-destroot {
+    ln -s ${prefix}/include/libqhull ${destroot}${prefix}/include/qhull
+}
 livecheck.type  regex
 livecheck.url   ${master_sites}
 livecheck.regex Download: Qhull (\[0-9.\]+) for Unix

Modified: trunk/dports/math/qhull/files/patch-CMakeLists.txt.diff
===================================================================
--- trunk/dports/math/qhull/files/patch-CMakeLists.txt.diff	2011-09-01 13:40:27 UTC (rev 83435)
+++ trunk/dports/math/qhull/files/patch-CMakeLists.txt.diff	2011-09-01 13:49:57 UTC (rev 83436)
@@ -1,5 +1,5 @@
---- CMakeLists.txt.orig	2011-05-18 20:53:36.000000000 -0500
-+++ CMakeLists.txt	2011-08-29 08:19:35.000000000 -0500
+--- CMakeLists.txt.orig	2011-09-01 08:32:18.000000000 -0500
++++ CMakeLists.txt	2011-09-01 08:43:55.000000000 -0500
 @@ -181,7 +181,6 @@
      qhull_TARGETS 
          ${qhull_CPP} ${qhull_SHARED} ${qhull_STATIC} ${qhull_STATICP} 
@@ -8,7 +8,7 @@
  )
  
  # ---------------------------------------
-@@ -254,38 +253,24 @@
+@@ -254,33 +253,21 @@
  
  add_executable(qhull ${qhull_SOURCES})
  target_link_libraries(qhull ${qhull_STATIC})
@@ -42,8 +42,3 @@
  
  add_executable(user_eg2 ${user_eg2_SOURCES})
  target_link_libraries(user_eg2 ${qhull_STATIC})
--set_target_properties(user_eg2 PROPERTIES
--    VERSION ${qhull_VERSION})
- 
- # ---------------------------------------
- # Define qhull executables linked to qhull shared library
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110901/b575a427/attachment.html>


More information about the macports-changes mailing list