On 2019/12/25 00:03, Kristaps Dzonsons wrote:
> flann is a C++ solver for approximate nearest neighbours.
> 
> The tests don't work as they require downloading things that don't exist
> any more and the docs are a PDF, so I left it off.
> 
> This is a requirement for alicevision (upcoming).

Light tidying / style, regen plist with -current.

diff 696dc85af394ec6545c88e1b54d30803f6994f29 /usr/ports/mystuff
blob - de0b86cfd962d526f62ccb5837691648e9b90256
file + math/flann/Makefile
--- math/flann/Makefile
+++ math/flann/Makefile
@@ -2,33 +2,27 @@
 
 COMMENT =              Fast Library for Approximate Nearest Neighbors
 
-V =                    1.9.1
 GH_ACCOUNT =           mariusmuja
 GH_PROJECT =           flann
-GH_TAGNAME =           ${V}
-DISTNAME =             ${GH_PROJECT}-${V:S/+//}
-WRKDIST =              ${WRKDIR}/${GH_PROJECT}-${V:S/+/-/}
+GH_TAGNAME =           1.9.1
 
 CATEGORIES =           math
 
-# All homepages listed for this project don't exist anymore.
-
 SHARED_LIBS +=         flann                   0.0 # 1.9
 SHARED_LIBS +=         flann_cpp               0.0 # 1.9
 
-# BSD License
+# BSD
 PERMIT_PACKAGE =       Yes
 
-COMPILER =             base-clang ports-gcc base-gcc
-WANTLIB +=             ${COMPILER_LIBCXX} m
+WANTLIB +=             ${COMPILER_LIBCXX} m
 
+COMPILER =             base-clang ports-gcc base-gcc
 BUILD_DEPENDS =                devel/gtest \
                        math/hdf5
 
 MODULES =              devel/cmake
 
 # The documentation requires LaTeX and is a PDF file.
-
 CONFIGURE_ARGS +=      -DUSE_OPENMP=OFF \
                        -DUSE_MPI=OFF \
                        -DBUILD_MATLAB_BINDINGS=OFF \
@@ -38,7 +32,6 @@ CONFIGURE_ARGS +=     -DUSE_OPENMP=OFF \
                        -DBUILD_TESTS=OFF
 
 # The tests require downloading sample files that don't exist anymore.
-
 NO_TEST =              Yes
 
 .include <bsd.port.mk>
blob - 852246e0cd7d586e0abf4ab10531b821cfa0fd1c
file + math/flann/pkg/PLIST
--- math/flann/pkg/PLIST
+++ math/flann/pkg/PLIST
@@ -57,6 +57,6 @@ include/flann/util/serialization.h
 include/flann/util/timer.h
 @lib lib/libflann.so.${LIBflann_VERSION}
 @lib lib/libflann_cpp.so.${LIBflann_cpp_VERSION}
-lib/libflann_cpp_s.a
-lib/libflann_s.a
+@static-lib lib/libflann_cpp_s.a
+@static-lib lib/libflann_s.a
 lib/pkgconfig/flann.pc

Reply via email to