mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
math/yacas: update to 1.5.0
Release notes: http://www.yacas.org/release_1_5_0/
This commit is contained in:
parent
24bd216d00
commit
7be97a1bb4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414932
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= yacas
|
||||
PORTVERSION= 1.4.2
|
||||
PORTVERSION= 1.5.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= math
|
||||
|
||||
@ -18,6 +18,7 @@ DOCS_BUILD_DEPENDS= sphinx-autogen:textproc/py-sphinx
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
TEST_TARGET= test
|
||||
TEST_DEPENDS= bash:shells/bash
|
||||
|
||||
USES= cmake:outsource compiler:c++11-lib
|
||||
@ -36,11 +37,8 @@ CXXFLAGS+= -D_GLIBCXX_USE_C99
|
||||
post-patch:
|
||||
# Can't use USES=shebangfix here, cause the path appears several
|
||||
# times in the file.
|
||||
@${REINPLACE_CMD} -e \
|
||||
's| /bin/bash| ${LOCALBASE}/bin/bash|g' \
|
||||
@${REINPLACE_CMD} -e 's| /bin/bash| ${LOCALBASE}/bin/bash|g' \
|
||||
${WRKSRC}/tests/test-yacas
|
||||
|
||||
do-test:
|
||||
cd ${BUILD_WRKSRC} && ${MAKE} test
|
||||
|
||||
@${REINPLACE_CMD} -e '/^install/s|^|#|' \
|
||||
${WRKSRC}/tests/CMakeLists.txt
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (grzegorzmazur-yacas-v1.4.2_GH0.tar.gz) = 530fdc8902f6289ed5b6ddbbfa50910f74086657c97ece2a65a5111ccb1ec710
|
||||
SIZE (grzegorzmazur-yacas-v1.4.2_GH0.tar.gz) = 2032218
|
||||
SHA256 (grzegorzmazur-yacas-v1.5.0_GH0.tar.gz) = 2ae2516959633898f978002f4d676f3a56c376a4ccb5ab53a0727b1dccc7de7f
|
||||
SIZE (grzegorzmazur-yacas-v1.5.0_GH0.tar.gz) = 1303766
|
||||
|
@ -1,18 +0,0 @@
|
||||
--- CMakeLists-docs.txt.orig 2016-04-08 09:58:59 UTC
|
||||
+++ CMakeLists-docs.txt
|
||||
@@ -39,7 +39,7 @@ add_custom_target(yacas_docs ALL
|
||||
"${SPHINX_SINGLEHTML_DIR}"
|
||||
COMMENT "Building HTML documentation with Sphinx")
|
||||
|
||||
-install (DIRECTORY "${SPHINX_SINGLEHTML_DIR}" DESTINATION share/yacas/documentation COMPONENT doc)
|
||||
+install (DIRECTORY "${SPHINX_SINGLEHTML_DIR}" DESTINATION ${DOCSDIR} COMPONENT doc)
|
||||
|
||||
if (ENABLE_OLD_DOCS)
|
||||
|
||||
@@ -161,4 +161,4 @@ if (ENABLE_OLD_DOCS)
|
||||
|
||||
install (FILES ${HTML_BOOKS} ${HTML_CHAPTERS} DESTINATION share/yacas/documentation COMPONENT doc)
|
||||
|
||||
-endif ()
|
||||
\ No newline at end of file
|
||||
+endif ()
|
10
math/yacas/files/patch-docs_CMakeLists.txt
Normal file
10
math/yacas/files/patch-docs_CMakeLists.txt
Normal file
@ -0,0 +1,10 @@
|
||||
--- docs/CMakeLists.txt.orig 2016-05-10 08:39:04 UTC
|
||||
+++ docs/CMakeLists.txt
|
||||
@@ -38,6 +38,6 @@ add_custom_target(yacas_docs ALL
|
||||
COMMENT "Building HTML documentation with Sphinx")
|
||||
|
||||
install (DIRECTORY "${SPHINX_SINGLEHTML_DIR}"
|
||||
- DESTINATION share/yacas/documentation
|
||||
+ DESTINATION ${DOCSDIR}
|
||||
COMPONENT doc
|
||||
PATTERN ".buildinfo" EXCLUDE)
|
@ -1,10 +0,0 @@
|
||||
--- src/mathcommands.cpp.orig 2016-03-11 09:22:12 UTC
|
||||
+++ src/mathcommands.cpp
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "yacas/arggetter.h"
|
||||
#include "yacas/string_utils.h"
|
||||
|
||||
+#include <string>
|
||||
#include <cstring>
|
||||
#include <limits.h>
|
||||
#include <stdlib.h>
|
@ -1,10 +0,0 @@
|
||||
--- src/yacasmain.cpp.orig 2016-03-11 09:22:12 UTC
|
||||
+++ src/yacasmain.cpp
|
||||
@@ -72,6 +72,7 @@
|
||||
#if defined (__FreeBSD__) || defined (__DragonFly__)
|
||||
#include <stddef.h>
|
||||
#include <unistd.h>
|
||||
+#include <sys/syslimits.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
@ -5,16 +5,13 @@ include/yacas/anumber.inl
|
||||
include/yacas/arggetter.h
|
||||
include/yacas/arrayclass.h
|
||||
include/yacas/associationclass.h
|
||||
include/yacas/choices.h
|
||||
include/yacas/commandline.h
|
||||
include/yacas/core_yacasmain.h
|
||||
include/yacas/corefunctions.h
|
||||
include/yacas/debugmem.h
|
||||
include/yacas/deffile.h
|
||||
include/yacas/errors.h
|
||||
include/yacas/evalfunc.h
|
||||
include/yacas/genericobject.h
|
||||
include/yacas/genericstructs.h
|
||||
include/yacas/infixparser.h
|
||||
include/yacas/lispatom.h
|
||||
include/yacas/lispenvironment.h
|
||||
@ -25,7 +22,7 @@ include/yacas/lispglobals.h
|
||||
include/yacas/lisphash.h
|
||||
include/yacas/lispio.h
|
||||
include/yacas/lispobject.h
|
||||
include/yacas/lispobject.inl
|
||||
include/yacas/lispoperator.h
|
||||
include/yacas/lispparser.h
|
||||
include/yacas/lispstring.h
|
||||
include/yacas/lisptype.h
|
||||
@ -43,7 +40,6 @@ include/yacas/refcount.h
|
||||
include/yacas/standard.h
|
||||
include/yacas/standard.inl
|
||||
include/yacas/stdcommandline.h
|
||||
include/yacas/stdfileio.h
|
||||
include/yacas/string_utils.h
|
||||
include/yacas/stringio.h
|
||||
include/yacas/stubs.h
|
||||
@ -57,13 +53,10 @@ include/yacas/utf8/unchecked.h
|
||||
include/yacas/win32commandline.h
|
||||
include/yacas/xmltokenizer.h
|
||||
include/yacas/yacas.h
|
||||
include/yacas/yacas_config.h
|
||||
include/yacas/yacas_version.h
|
||||
include/yacas/yacasbase.h
|
||||
include/yacas/yacasprivate.h
|
||||
lib/libyacas.a
|
||||
lib/libyacas.so
|
||||
lib/libyacas.so.%%SHLIB_VERSION%%
|
||||
%%DATADIR%%/scripts/Makefile.am
|
||||
%%DATADIR%%/scripts/array.rep/code.ys
|
||||
%%DATADIR%%/scripts/array.rep/code.ys.def
|
||||
%%DATADIR%%/scripts/assoc.rep/code.ys
|
||||
@ -136,7 +129,6 @@ lib/libyacas.so.%%SHLIB_VERSION%%
|
||||
%%DATADIR%%/scripts/logic.rep/code.ys
|
||||
%%DATADIR%%/scripts/logic.rep/code.ys.def
|
||||
%%DATADIR%%/scripts/logic.rep/om.ys
|
||||
%%DATADIR%%/scripts/maketest
|
||||
%%DATADIR%%/scripts/multivar.rep/code.ys
|
||||
%%DATADIR%%/scripts/multivar.rep/code.ys.def
|
||||
%%DATADIR%%/scripts/multivar.rep/makemulti.ys
|
||||
@ -181,6 +173,8 @@ lib/libyacas.so.%%SHLIB_VERSION%%
|
||||
%%DATADIR%%/scripts/probability.rep/code.ys.def
|
||||
%%DATADIR%%/scripts/pslq.rep/code.ys
|
||||
%%DATADIR%%/scripts/pslq.rep/code.ys.def
|
||||
%%DATADIR%%/scripts/r_form.rep/code.ys
|
||||
%%DATADIR%%/scripts/r_form.rep/code.ys.def
|
||||
%%DATADIR%%/scripts/rabinmiller.rep/code.ys
|
||||
%%DATADIR%%/scripts/rabinmiller.rep/code.ys.def
|
||||
%%DATADIR%%/scripts/radsimp.rep/code.ys
|
||||
|
Loading…
Reference in New Issue
Block a user