Index: head/devel/Makefile =================================================================== --- head/devel/Makefile +++ head/devel/Makefile @@ -672,6 +672,7 @@ SUBDIR += fuel SUBDIR += fujaba SUBDIR += funnelweb + SUBDIR += fuzzylite SUBDIR += gaa SUBDIR += gamin SUBDIR += gauche-readline Index: head/devel/fuzzylite/Makefile =================================================================== --- head/devel/fuzzylite/Makefile +++ head/devel/fuzzylite/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= fuzzylite +DISTVERSIONPREFIX= v +DISTVERSION= 6.0 +CATEGORIES= devel + +MAINTAINER= pkubaj@anongoth.pl +COMMENT= Fuzzy logic control library in C++ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake:outsource compiler +USE_GITHUB= yes +USE_LDCONFIG= yes + +CMAKE_ARGS= -DFL_BUILD_STATIC:BOOL=OFF \ + -DFL_BUILD_TESTS:BOOL=OFF +CMAKE_SOURCE_PATH= ${WRKSRC}/${PORTNAME} +PLIST_SUB= SHLIB_VER=${DISTVERSION} + +.include + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 39 +CFLAGS+= -Wno-error=varargs +.endif + +.include Index: head/devel/fuzzylite/distinfo =================================================================== --- head/devel/fuzzylite/distinfo +++ head/devel/fuzzylite/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1504529031 +SHA256 (fuzzylite-fuzzylite-v6.0_GH0.tar.gz) = 7e9f56deb9baf063de2232bfd8285f57ddccb651dae842fe3f587d0ac65ecdb0 +SIZE (fuzzylite-fuzzylite-v6.0_GH0.tar.gz) = 2189181 Index: head/devel/fuzzylite/files/patch-fuzzylite_CMakeLists.txt =================================================================== --- head/devel/fuzzylite/files/patch-fuzzylite_CMakeLists.txt +++ head/devel/fuzzylite/files/patch-fuzzylite_CMakeLists.txt @@ -0,0 +1,11 @@ +--- fuzzylite/CMakeLists.txt.orig 2017-11-18 07:28:31 UTC ++++ fuzzylite/CMakeLists.txt +@@ -174,7 +174,7 @@ if(FL_BUILD_SHARED) + set_target_properties(fl-shared PROPERTIES DEBUG_POSTFIX -debug) + target_compile_definitions(fl-shared PRIVATE FL_EXPORT_LIBRARY) + set_target_properties(fl-shared PROPERTIES VERSION 6.0) +- target_link_libraries(fl-shared ${FL_LIBS}) ++ target_link_libraries(fl-shared ${FL_LIBS} execinfo) + endif() + + if(FL_BUILD_STATIC) Index: head/devel/fuzzylite/pkg-descr =================================================================== --- head/devel/fuzzylite/pkg-descr +++ head/devel/fuzzylite/pkg-descr @@ -0,0 +1,6 @@ +fuzzylite is a free and open-source fuzzy logic control library programmed in +C++ for multiple platforms (e.g., Windows, Linux, Mac, iOS). jfuzzylite is the +equivalent library for Java and Android platforms. +Together, they are the FuzzyLite Libraries for Fuzzy Logic Control. + +WWW: https://www.fuzzylite.com Index: head/devel/fuzzylite/pkg-plist =================================================================== --- head/devel/fuzzylite/pkg-plist +++ head/devel/fuzzylite/pkg-plist @@ -0,0 +1,115 @@ +bin/fuzzylite +include/fl/Benchmark.h +include/fl/Complexity.h +include/fl/Console.h +include/fl/Engine.h +include/fl/Exception.h +include/fl/Headers.h +include/fl/Operation.h +include/fl/activation/Activation.h +include/fl/activation/First.h +include/fl/activation/General.h +include/fl/activation/Highest.h +include/fl/activation/Last.h +include/fl/activation/Lowest.h +include/fl/activation/Proportional.h +include/fl/activation/Threshold.h +include/fl/defuzzifier/Bisector.h +include/fl/defuzzifier/Centroid.h +include/fl/defuzzifier/Defuzzifier.h +include/fl/defuzzifier/IntegralDefuzzifier.h +include/fl/defuzzifier/LargestOfMaximum.h +include/fl/defuzzifier/MeanOfMaximum.h +include/fl/defuzzifier/SmallestOfMaximum.h +include/fl/defuzzifier/WeightedAverage.h +include/fl/defuzzifier/WeightedAverageCustom.h +include/fl/defuzzifier/WeightedDefuzzifier.h +include/fl/defuzzifier/WeightedSum.h +include/fl/defuzzifier/WeightedSumCustom.h +include/fl/factory/ActivationFactory.h +include/fl/factory/CloningFactory.h +include/fl/factory/ConstructionFactory.h +include/fl/factory/DefuzzifierFactory.h +include/fl/factory/FactoryManager.h +include/fl/factory/FunctionFactory.h +include/fl/factory/HedgeFactory.h +include/fl/factory/SNormFactory.h +include/fl/factory/TNormFactory.h +include/fl/factory/TermFactory.h +include/fl/fuzzylite.h +include/fl/hedge/Any.h +include/fl/hedge/Extremely.h +include/fl/hedge/Hedge.h +include/fl/hedge/HedgeFunction.h +include/fl/hedge/Not.h +include/fl/hedge/Seldom.h +include/fl/hedge/Somewhat.h +include/fl/hedge/Very.h +include/fl/imex/CppExporter.h +include/fl/imex/Exporter.h +include/fl/imex/FclExporter.h +include/fl/imex/FclImporter.h +include/fl/imex/FisExporter.h +include/fl/imex/FisImporter.h +include/fl/imex/FldExporter.h +include/fl/imex/FllExporter.h +include/fl/imex/FllImporter.h +include/fl/imex/Importer.h +include/fl/imex/JavaExporter.h +include/fl/imex/RScriptExporter.h +include/fl/norm/Norm.h +include/fl/norm/SNorm.h +include/fl/norm/TNorm.h +include/fl/norm/s/AlgebraicSum.h +include/fl/norm/s/BoundedSum.h +include/fl/norm/s/DrasticSum.h +include/fl/norm/s/EinsteinSum.h +include/fl/norm/s/HamacherSum.h +include/fl/norm/s/Maximum.h +include/fl/norm/s/NilpotentMaximum.h +include/fl/norm/s/NormalizedSum.h +include/fl/norm/s/SNormFunction.h +include/fl/norm/s/UnboundedSum.h +include/fl/norm/t/AlgebraicProduct.h +include/fl/norm/t/BoundedDifference.h +include/fl/norm/t/DrasticProduct.h +include/fl/norm/t/EinsteinProduct.h +include/fl/norm/t/HamacherProduct.h +include/fl/norm/t/Minimum.h +include/fl/norm/t/NilpotentMinimum.h +include/fl/norm/t/TNormFunction.h +include/fl/rule/Antecedent.h +include/fl/rule/Consequent.h +include/fl/rule/Expression.h +include/fl/rule/Rule.h +include/fl/rule/RuleBlock.h +include/fl/term/Activated.h +include/fl/term/Aggregated.h +include/fl/term/Bell.h +include/fl/term/Binary.h +include/fl/term/Concave.h +include/fl/term/Constant.h +include/fl/term/Cosine.h +include/fl/term/Discrete.h +include/fl/term/Function.h +include/fl/term/Gaussian.h +include/fl/term/GaussianProduct.h +include/fl/term/Linear.h +include/fl/term/PiShape.h +include/fl/term/Ramp.h +include/fl/term/Rectangle.h +include/fl/term/SShape.h +include/fl/term/Sigmoid.h +include/fl/term/SigmoidDifference.h +include/fl/term/SigmoidProduct.h +include/fl/term/Spike.h +include/fl/term/Term.h +include/fl/term/Trapezoid.h +include/fl/term/Triangle.h +include/fl/term/ZShape.h +include/fl/variable/InputVariable.h +include/fl/variable/OutputVariable.h +include/fl/variable/Variable.h +lib/libfuzzylite.so +lib/libfuzzylite.so.%%SHLIB_VER%% +libdata/pkgconfig/fuzzylite.pc