aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-04-18 06:51:47 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-04-18 06:51:47 +0000
commit74524d88c7f78a368668228f3d640f6dbd84f344 (patch)
tree070c6d61ec34619139dc0891d596ac3d875110be /science
parent36e40a0be1017a5801703aa2674fb993be7e80e0 (diff)
downloadports-74524d88c7f78a368668228f3d640f6dbd84f344.tar.gz
ports-74524d88c7f78a368668228f3d640f6dbd84f344.zip
New port: science/antioch: C++ Chemical Kinetics, Thermodynaimics, and Transport Library
Notes
Notes: svn path=/head/; revision=467683
Diffstat (limited to 'science')
-rw-r--r--science/Makefile1
-rw-r--r--science/antioch/Makefile36
-rw-r--r--science/antioch/distinfo3
-rw-r--r--science/antioch/files/patch-Makefile.am11
-rw-r--r--science/antioch/files/patch-configure.ac13
-rw-r--r--science/antioch/files/patch-share_Makefile.am15
-rw-r--r--science/antioch/pkg-descr6
-rw-r--r--science/antioch/pkg-plist160
8 files changed, 245 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index 6a1a7607c72f..e679cdab2631 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -24,6 +24,7 @@
SUBDIR += R-cran-udunits2
SUBDIR += afni
SUBDIR += aircraft-datcom
+ SUBDIR += antioch
SUBDIR += avogadro
SUBDIR += bddsolve
SUBDIR += bft
diff --git a/science/antioch/Makefile b/science/antioch/Makefile
new file mode 100644
index 000000000000..ee878d8ef9ad
--- /dev/null
+++ b/science/antioch/Makefile
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME= antioch
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.4.0-156
+DISTVERSIONSUFFIX= -g90ffa43
+CATEGORIES= science
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= C++ Chemical Kinetics, Thermodynaimics, and Transport Library
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= ${LOCALBASE}/include/metaphysicl/metaphysicl_version.h:science/metaphysicl \
+ ${LOCALBASE}/include/viennacl/vector.hpp:math/viennacl
+LIB_DEPENDS= libgsl.so:math/gsl \
+ libOpenCL.so:devel/ocl-icd
+
+USES= autoreconf eigen:3 gmake libtool localbase
+USE_GITHUB= yes
+GH_ACCOUNT= libantioch
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+
+CONFIGURE_ARGS= --disable-static \
+ --enable-eigen --with-eigen-include=${LOCALBASE}/include/eigen3 \
+ --enable-opencl \
+ --with-metaphysicl=${LOCALBASE} \
+ --with-viennacl=${LOCALBASE}/include \
+ --with-gsl=${LOCALBASE}
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libantioch.so.0.0.0
+
+.include <bsd.port.mk>
diff --git a/science/antioch/distinfo b/science/antioch/distinfo
new file mode 100644
index 000000000000..17f63cad74c9
--- /dev/null
+++ b/science/antioch/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1524017800
+SHA256 (libantioch-antioch-v0.4.0-156-g90ffa43_GH0.tar.gz) = 22fe4d70fbc9c9abe3f5a0dcca9ea4e7f78d0b3ebf2b1af08a68bafcda0d43ff
+SIZE (libantioch-antioch-v0.4.0-156-g90ffa43_GH0.tar.gz) = 767056
diff --git a/science/antioch/files/patch-Makefile.am b/science/antioch/files/patch-Makefile.am
new file mode 100644
index 000000000000..25d669acc595
--- /dev/null
+++ b/science/antioch/files/patch-Makefile.am
@@ -0,0 +1,11 @@
+--- Makefile.am.orig 2018-04-18 06:06:18 UTC
++++ Makefile.am
+@@ -4,7 +4,7 @@ include $(top_srcdir)/doxygen/aminclude.
+ AUTOMAKE_OPTIONS = foreign
+ ACLOCAL_AMFLAGS = -I m4 -I m4/common
+
+-SUBDIRS = src test doxygen share examples
++SUBDIRS = src test doxygen share
+ EXTRA_DIST = CHANGES LICENSE COPYING share
+
+ # Eliminate .svn directories in dist tarball
diff --git a/science/antioch/files/patch-configure.ac b/science/antioch/files/patch-configure.ac
new file mode 100644
index 000000000000..861701cb4bcb
--- /dev/null
+++ b/science/antioch/files/patch-configure.ac
@@ -0,0 +1,13 @@
+--- configure.ac.orig 2018-04-18 05:44:31 UTC
++++ configure.ac
+@@ -265,8 +265,8 @@ AC_SUBST(ANTIOCH_STAMPED_FILES)
+ # to make it $datadir/antioch_default_files
+ # then we define the default files
+ # Need to make sure to have the `/` at the end
+-ANTIOCH_DEFAULT_FILES_SOURCE_PATH_TMP=$TOP_SEARCH_DIR/share/antioch_default_files/
+-ANTIOCH_DEFAULT_FILES_INSTALL_PATH_TMP=$prefix/share/antioch_default_files/
++ANTIOCH_DEFAULT_FILES_SOURCE_PATH_TMP=$TOP_SEARCH_DIR/share/antioch/default_files/
++ANTIOCH_DEFAULT_FILES_INSTALL_PATH_TMP=$prefix/share/antioch/default_files/
+ ANTIOCH_SHARE_XML_INPUT_FILES_SOURCE_PATH_TMP=$TOP_SEARCH_DIR/share/xml_inputs/
+ ANTIOCH_SHARE_XML_INPUT_FILES_INSTALL_PATH_TMP=$prefix/share/xml_inputs/
+ ANTIOCH_TESTING_INPUT_FILES_PATH_TMP=$TOP_SEARCH_DIR/test/input_files/
diff --git a/science/antioch/files/patch-share_Makefile.am b/science/antioch/files/patch-share_Makefile.am
new file mode 100644
index 000000000000..2170ae03f444
--- /dev/null
+++ b/science/antioch/files/patch-share_Makefile.am
@@ -0,0 +1,15 @@
+--- share/Makefile.am.orig 2018-04-13 14:56:50 UTC
++++ share/Makefile.am
+@@ -1,10 +1,10 @@
+ aclocaldir = $(prefix)/share/aclocal
+ aclocal_DATA = $(top_srcdir)/share/aclocal/*
+
+-antioch_default_filesdir = $(prefix)/share/antioch_default_files
++antioch_default_filesdir = $(prefix)/share/antioch/default_files
+ antioch_default_files_DATA = $(top_srcdir)/share/antioch_default_files/*
+
+-xml_inputsdir = $(prefix)/share/xml_inputs
++xml_inputsdir = $(prefix)/share/antioch/xml_inputs
+ xml_inputs_DATA = $(top_srcdir)/share/xml_inputs/*
+
+ EXTRA_DIST = $(aclocal_DATA)
diff --git a/science/antioch/pkg-descr b/science/antioch/pkg-descr
new file mode 100644
index 000000000000..c5f1cda585bd
--- /dev/null
+++ b/science/antioch/pkg-descr
@@ -0,0 +1,6 @@
+A New Templated Implementation Of Chemistry for Hydrodynamics (Antioch) was
+initiated to centralize work within the realm of hypersonic aerodynamics,
+based on the libMesh finite element library. It's features include
+thread-safety and high performance.
+
+WWW: https://libantioch.github.io/
diff --git a/science/antioch/pkg-plist b/science/antioch/pkg-plist
new file mode 100644
index 000000000000..39cb99ee6769
--- /dev/null
+++ b/science/antioch/pkg-plist
@@ -0,0 +1,160 @@
+bin/antioch_version
+include/antioch/antioch_asserts.h
+include/antioch/antioch_exceptions.h
+include/antioch/antioch_numeric_type_instantiate_macro.h
+include/antioch/antioch_version.h
+include/antioch/arrhenius_rate.h
+include/antioch/arrhenius_rate_test_helper.h
+include/antioch/arrhenius_rate_vector_test_base.h
+include/antioch/ascii_parser.h
+include/antioch/ascii_parser_instantiation_macro.h
+include/antioch/berthelot_rate.h
+include/antioch/berthelothercourtessen_rate.h
+include/antioch/binary_diffusion_base.h
+include/antioch/blottner_parsing.h
+include/antioch/blottner_parsing_instantiate_macro.h
+include/antioch/blottner_viscosity.h
+include/antioch/cea_curve_fit.h
+include/antioch/cea_evaluator.h
+include/antioch/cea_mixture.h
+include/antioch/cea_mixture_ascii_parsing.h
+include/antioch/cea_mixture_ascii_parsing_instantiate_macro.h
+include/antioch/cea_mixture_parsing.h
+include/antioch/chemical_mixture.h
+include/antioch/chemical_species.h
+include/antioch/chemkin_definitions.h
+include/antioch/chemkin_parser.h
+include/antioch/cmath_shims.h
+include/antioch/conductivity_traits.h
+include/antioch/constant_lewis_diffusivity.h
+include/antioch/constant_lewis_diffusivity_building.h
+include/antioch/constant_rate.h
+include/antioch/converter.h
+include/antioch/default_filename.h
+include/antioch/diffusion_traits.h
+include/antioch/duplicate_reaction.h
+include/antioch/eigen_utils.h
+include/antioch/eigen_utils_decl.h
+include/antioch/elementary_reaction.h
+include/antioch/eucken_thermal_conductivity.h
+include/antioch/eucken_thermal_conductivity_building.h
+include/antioch/falloff_reaction.h
+include/antioch/falloff_threebody_reaction.h
+include/antioch/gsl_spliner.h
+include/antioch/gsl_spliner_impl.h
+include/antioch/gsl_spliner_policy.h
+include/antioch/gsl_spliner_shim.h
+include/antioch/gsl_spliner_test_base.h
+include/antioch/hercourtessen_rate.h
+include/antioch/ideal_gas_micro_thermo.h
+include/antioch/input_utils.h
+include/antioch/insi.h
+include/antioch/kinetics_conditions.h
+include/antioch/kinetics_enum.h
+include/antioch/kinetics_evaluator.h
+include/antioch/kinetics_parsing.h
+include/antioch/kinetics_theory_thermal_conductivity.h
+include/antioch/kinetics_theory_thermal_conductivity_building.h
+include/antioch/kinetics_theory_viscosity.h
+include/antioch/kinetics_theory_viscosity_building.h
+include/antioch/kinetics_type.h
+include/antioch/kooij_rate.h
+include/antioch/lennard_jones_potential.h
+include/antioch/lindemann_falloff.h
+include/antioch/macro_micro_thermo_base.h
+include/antioch/math_constants.h
+include/antioch/metaphysicl_utils.h
+include/antioch/metaphysicl_utils_decl.h
+include/antioch/metaprogramming.h
+include/antioch/metaprogramming_decl.h
+include/antioch/mixture_averaged_transport_evaluator.h
+include/antioch/mixture_averaged_transport_mixture.h
+include/antioch/mixture_conductivity.h
+include/antioch/mixture_diffusion.h
+include/antioch/mixture_transport_base.h
+include/antioch/mixture_viscosity.h
+include/antioch/molecular_binary_diffusion.h
+include/antioch/nasa7_curve_fit.h
+include/antioch/nasa7_mixture_vector_test_base.h
+include/antioch/nasa7_thermo_test_base.h
+include/antioch/nasa9_curve_fit.h
+include/antioch/nasa9_mixture_vector_test_base.h
+include/antioch/nasa9_thermo_test_base.h
+include/antioch/nasa_curve_fit_base.h
+include/antioch/nasa_evaluator.h
+include/antioch/nasa_mixture.h
+include/antioch/nasa_mixture_ascii_parsing.h
+include/antioch/nasa_mixture_parsing.h
+include/antioch/nasa_mixture_parsing_instantiate_macro.h
+include/antioch/nasa_test_helper.h
+include/antioch/parser_base.h
+include/antioch/parsing_enum.h
+include/antioch/particle_flux.h
+include/antioch/photochemical_rate.h
+include/antioch/physical_constants.h
+include/antioch/reaction.h
+include/antioch/reaction_enum.h
+include/antioch/reaction_parsing.h
+include/antioch/reaction_rate_test_base.h
+include/antioch/reaction_rate_vector_test_base.h
+include/antioch/reaction_set.h
+include/antioch/read_reaction_set_data.h
+include/antioch/read_reaction_set_data_instantiate_macro.h
+include/antioch/read_reaction_set_data_xml.h
+include/antioch/rotational_relaxation.h
+include/antioch/sigma_bin_converter.h
+include/antioch/siprefix.h
+include/antioch/species_conductivity_base.h
+include/antioch/species_diffusion_base.h
+include/antioch/species_parsing.h
+include/antioch/species_parsing_instantiation_macro.h
+include/antioch/species_viscosity_base.h
+include/antioch/stat_mech_thermo.h
+include/antioch/stockmayer_potential.h
+include/antioch/string_utils.h
+include/antioch/sutherland_parsing.h
+include/antioch/sutherland_parsing_instantiate_macro.h
+include/antioch/sutherland_viscosity.h
+include/antioch/temp_cache.h
+include/antioch/testing_utils.h
+include/antioch/thermo_vector_test_base.h
+include/antioch/threebody_reaction.h
+include/antioch/tinyxml2.h
+include/antioch/tinyxml2_imp.h
+include/antioch/transport_mixture.h
+include/antioch/transport_species.h
+include/antioch/transport_species_ascii_parsing.h
+include/antioch/transport_species_parsing.h
+include/antioch/troe_falloff.h
+include/antioch/unit_base.h
+include/antioch/unit_defs.h
+include/antioch/unit_store.h
+include/antioch/units.h
+include/antioch/valarray_utils.h
+include/antioch/valarray_utils_decl.h
+include/antioch/vanthoff_rate.h
+include/antioch/vector_utils.h
+include/antioch/vector_utils_decl.h
+include/antioch/vexcl_utils.h
+include/antioch/vexcl_utils_decl.h
+include/antioch/wilke_evaluator.h
+include/antioch/wilke_mixture.h
+include/antioch/xml_parser.h
+include/antioch/xml_parser_instantiation_macro.h
+include/antioch_config.h
+lib/libantioch.so
+lib/libantioch.so.0
+lib/libantioch.so.0.0.0
+libdata/pkgconfig/antioch.pc
+share/aclocal/antioch.m4
+%%DATADIR%%/default_files/antioch_default_blottner_coefficient.dat
+%%DATADIR%%/default_files/antioch_default_chemical_mixture.dat
+%%DATADIR%%/default_files/antioch_default_chemical_species.dat
+%%DATADIR%%/default_files/antioch_default_electronic_data.dat
+%%DATADIR%%/default_files/antioch_default_sutherland_coefficient.dat
+%%DATADIR%%/default_files/antioch_default_thermo_data.dat
+%%DATADIR%%/default_files/antioch_default_thermo_data_NASA7.dat
+%%DATADIR%%/default_files/antioch_default_transport_species_data.dat
+%%DATADIR%%/default_files/antioch_default_vibrational_data.dat
+%%DATADIR%%/xml_inputs/gri30.xml
+%%DATADIR%%/xml_inputs/nasa9_thermo.xml