[108551] trunk/dports/gis/libpcl/Portfile

vince at macports.org vince at macports.org
Fri Jul 26 02:19:07 PDT 2013


Revision: 108551
          https://trac.macports.org/changeset/108551
Author:   vince at macports.org
Date:     2013-07-26 02:19:06 -0700 (Fri, 26 Jul 2013)
Log Message:
-----------
Bump to 1.7.0 and add a perf variant

Modified Paths:
--------------
    trunk/dports/gis/libpcl/Portfile

Modified: trunk/dports/gis/libpcl/Portfile
===================================================================
--- trunk/dports/gis/libpcl/Portfile	2013-07-26 09:17:27 UTC (rev 108550)
+++ trunk/dports/gis/libpcl/Portfile	2013-07-26 09:19:06 UTC (rev 108551)
@@ -3,9 +3,10 @@
 
 PortSystem          1.0
 PortGroup           cmake 1.0
+PortGroup           github 1.0
 
 name                libpcl
-version             1.6.0
+version             1.7.0
 categories          gis graphics science
 platforms           darwin
 license             BSD
@@ -13,14 +14,21 @@
 description         Point Cloud Library
 long_description    The Point Cloud Library (PCL) is a standalone, large scale, open project \
                     for 2D/3D image and point cloud processing.
-homepage            http://www.pointclouds.org
-master_sites        ${homepage}/assets/files/${version}
-distname            PCL-${version}-Source
-use_bzip2           yes
 
-checksums           rmd160  08a251e513c1e7a79b22eb439f3d479ce3cf36e5 \
-                    sha256  3d384a37ce801a75c8995801e650a5e2c13e0d67541aa676cad4fa27996ce346
+github.author
+github.project      PointCloudLibrary
+github.version      ${version}
+github.master_sites https://github.com/PointCloudLibrary/pcl/archive
+distname            pcl-${version}
 
+extract.suffix      .zip
+use_zip             yes
+
+checksums           rmd160  2cbb28277d2bed5f9c633e7eee191f1e918287b4 \
+                    sha256  3dddf5e7b1170f59d35152697a037cdd0fac66ab99c215271a3c4e6f3bfee367
+
+worksrcdir          pcl-${distname}
+
 depends_lib         port:boost \
                     port:eigen3 \
                     port:flann \
@@ -28,6 +36,12 @@
                     port:qhull \
                     port:openni
 
+configure.args-append   -DOPENNI_INCLUDE_DIR=${prefix}/include/ni
 # PCL 1.6 does not compile with clang or macports-gcc-4.x
 # https://trac.macports.org/ticket/37813
-compiler.whitelist  llvm-gcc-4.2 macports-llvm-gcc-4.2
+#compiler.whitelist  llvm-gcc-4.2 macports-llvm-gcc-4.2
+variant perf description {Optimize code} {
+    configure.compiler  macports-clang-3.3
+    configure.optflags  -O3 -pipe -march=native -mavx
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130726/3690351b/attachment.html>


More information about the macports-changes mailing list