Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141975804
D13067.id35182.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
4 KB
Referenced Files
None
Subscribers
None
D13067.id35182.diff
View Options
Index: math/Makefile
===================================================================
--- math/Makefile
+++ math/Makefile
@@ -102,6 +102,7 @@
SUBDIR += algotutor
SUBDIR += alt-ergo
SUBDIR += amath
+ SUBDIR += ambit
SUBDIR += analitza
SUBDIR += ann
SUBDIR += apc
Index: math/ambit/Makefile
===================================================================
--- /dev/null
+++ math/ambit/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= ambit
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.2-37
+DISTVERSIONSUFFIX= -g9c7049a
+CATEGORIES= math
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= C++ library for tensor product calculations
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libhdf5.so:science/hdf5 \
+ libsz.so:science/szip
+
+USES= cmake:outsource
+USE_GITHUB= yes
+GH_ACCOUNT= jturney
+
+# some declared cmake options do nothing: see https://github.com/jturney/ambit/issues/25 and the patch
+CMAKE_ARGS+= -DSHARED_ONLY:BOOL=ON
+CMAKE_ARGS+= -DENABLE_TESTS:BOOL=OFF # https://github.com/jturney/ambit/issues/24
+
+.include <bsd.port.mk>
Index: math/ambit/distinfo
===================================================================
--- /dev/null
+++ math/ambit/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1510519038
+SHA256 (jturney-ambit-v0.2-37-g9c7049a_GH0.tar.gz) = a7c56697f538c4c6ea7ceebfbd50f6f372eff04e38f171ccb63457c7f31fa23b
+SIZE (jturney-ambit-v0.2-37-g9c7049a_GH0.tar.gz) = 328416
Index: math/ambit/files/patch-CMakeLists.txt
===================================================================
--- /dev/null
+++ math/ambit/files/patch-CMakeLists.txt
@@ -0,0 +1,20 @@
+--- CMakeLists.txt.orig 2017-11-12 20:15:25 UTC
++++ CMakeLists.txt
+@@ -155,7 +155,7 @@ add_subdirectory(include)
+ # recursively add source directories
+ add_subdirectory(src)
+
+-#if (NOT ENABLE_PSI4)
++if (ENABLE_TESTS)
+ # test suite
+ enable_testing()
+ include(CTest)
+@@ -163,7 +163,7 @@ add_subdirectory(src)
+
+ # sample suite
+ add_subdirectory(samples)
+-#endif()
++endif()
+
+ # Add all targets to the build-tree export set
+
Index: math/ambit/pkg-descr
===================================================================
--- /dev/null
+++ math/ambit/pkg-descr
@@ -0,0 +1,4 @@
+C++ library for the implementation of tensor product calculations through
+a clean, concise user interface.
+
+WWW: https://github.com/jturney/ambit
Index: math/ambit/pkg-message
===================================================================
--- /dev/null
+++ math/ambit/pkg-message
@@ -0,0 +1,10 @@
+======================================================================
+You installed qTox: Qt 5 based Tox client.
+
+To have video working, you need:
+1. Have multimedia/webcamd installed and running. The usual way to
+ start webcamd is to have these two lines in /etc/rc.conf:
+ webcamd_enable="YES"
+ webcamd_flags="-H"
+2. Make sure V4L option is "on" in multimedia/ffmpeg.
+======================================================================
Index: math/ambit/pkg-plist
===================================================================
--- /dev/null
+++ math/ambit/pkg-plist
@@ -0,0 +1,29 @@
+include/ambit/blocked_tensor.h
+include/ambit/common_types.h
+include/ambit/composite_tensor.h
+include/ambit/helpers/psi4/convert.h
+include/ambit/helpers/psi4/integrals.h
+include/ambit/helpers/psi4/io.h
+include/ambit/io/hdf5.h
+include/ambit/io/hdf5/attribute.h
+include/ambit/io/hdf5/dataset.h
+include/ambit/io/hdf5/dataspace.h
+include/ambit/io/hdf5/file.h
+include/ambit/io/hdf5/group.h
+include/ambit/io/hdf5/location.h
+include/ambit/io/hdf5/type.h
+include/ambit/io/psi4/file.h
+include/ambit/io/psi4/io.h
+include/ambit/io/psi4/iwl.h
+include/ambit/io/psi4/manager.h
+include/ambit/print.h
+include/ambit/settings.h
+include/ambit/sym_blocked_tensor.h
+include/ambit/tensor.h
+include/ambit/timer.h
+lib/libambit.so
+share/cmake/ambit/FindTargetHDF5.cmake
+share/cmake/ambit/ambitConfig.cmake
+share/cmake/ambit/ambitConfigVersion.cmake
+share/cmake/ambit/ambitTargets-shared-%%CMAKE_BUILD_TYPE%%.cmake
+share/cmake/ambit/ambitTargets-shared.cmake
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 10:24 AM (1 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27646750
Default Alt Text
D13067.id35182.diff (4 KB)
Attached To
Mode
D13067: New port: math/ambit: C++ library for tensor product calculations
Attached
Detach File
Event Timeline
Log In to Comment