mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Update to 1.3.4
This commit is contained in:
parent
1c6ee08b26
commit
c61156c3cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342453
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= yacas
|
||||
PORTVERSION= 1.3.3
|
||||
PORTVERSION= 1.3.4
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION:R}/
|
||||
|
||||
@ -12,11 +12,9 @@ COMMENT= Yet Another Computer Algebra System
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
OPTIONS_DEFINE= TESTS DOCS
|
||||
OPTIONS_DEFAULT=TESTS
|
||||
TESTS_DESC= Run bundled self-tests after build
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
USES= gmake
|
||||
#USES= gmake
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
@ -28,24 +26,22 @@ BROKEN= Does not compile with GCC 4.2
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
CONFIGURE_ARGS+=--enable-html-doc --with-html-dir=${DOCSDIR}
|
||||
PORTDOCS= *
|
||||
USES+= perl5
|
||||
USE_PERL5= build
|
||||
USES+= perl5
|
||||
USE_PERL5= build
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-html-doc
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MTESTS}
|
||||
BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's| /bin/bash| ${LOCALBASE}/bin/bash|' ${WRKSRC}/tests/test-yacas
|
||||
# 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' \
|
||||
${WRKSRC}/tests/test-yacas
|
||||
|
||||
post-build:
|
||||
.if ${PORT_OPTIONS:MTESTS}
|
||||
regression-test: build
|
||||
# This requires bash. I don't add it as a dependency to the port, as it's
|
||||
# not needed for the general use.
|
||||
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
|
||||
${MAKEFILE} check ${MAKE_ARGS})
|
||||
.endif
|
||||
${MAKEFILE} check ${MAKE_ARGS})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (yacas-1.3.3.tar.gz) = 6c73c653c5e13567510888800a68c14d231b1ef4f2b33193a158b8caec142141
|
||||
SIZE (yacas-1.3.3.tar.gz) = 1296777
|
||||
SHA256 (yacas-1.3.4.tar.gz) = 18482f22d6a8336e9ebfda3bec045da70db2da68ae02f32987928a3c67284233
|
||||
SIZE (yacas-1.3.4.tar.gz) = 1360604
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- manmake/wester-1994.chapt.txt.orig 2012-09-26 12:02:56.000000000 +0200
|
||||
+++ manmake/wester-1994.chapt.txt 2012-09-26 12:03:11.000000000 +0200
|
||||
@@ -96,7 +96,7 @@
|
||||
* 62. (OK) Invert a 2x2 symbolic matrix.
|
||||
Verify(Simplify(Inverse({{a,b},{1,a*b}})),
|
||||
{{a/(a^2-1), -1/(a^2-1)},
|
||||
- {-1/(b*(a^2-1)), a/(b*(a^2-1))}});
|
||||
+ {-1/((a^2-1)*b), a/((a^2-1)*b)}});
|
||||
* 63. (BUG) Compute the determinant of the 4x4 Vandermonde matrix.
|
||||
Factor(Determinant(VandermondeMatrix
|
||||
({a,b,c,d})));
|
11
math/yacas/files/patch-scripts_Makefile.am
Normal file
11
math/yacas/files/patch-scripts_Makefile.am
Normal file
@ -0,0 +1,11 @@
|
||||
--- scripts/Makefile.am.orig 2014-02-03 10:39:12.000000000 +0100
|
||||
+++ scripts/Makefile.am 2014-02-03 10:39:21.000000000 +0100
|
||||
@@ -164,7 +164,7 @@
|
||||
@(diff scripts-listed-in-makefile.txt contents-of-tree.txt; \
|
||||
rm -f scripts-listed-in-makefile.txt contents-of-tree.txt; \
|
||||
RV=$$?; \
|
||||
- if [[ $$RV == 0 ]] ; \
|
||||
+ if [ $$RV = 0 ] ; \
|
||||
then echo " ... ok"; \
|
||||
else \
|
||||
false; \
|
11
math/yacas/files/patch-scripts_Makefile.in
Normal file
11
math/yacas/files/patch-scripts_Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- scripts/Makefile.in.orig 2014-02-03 10:37:08.000000000 +0100
|
||||
+++ scripts/Makefile.in 2014-02-03 10:38:36.000000000 +0100
|
||||
@@ -562,7 +562,7 @@
|
||||
@(diff scripts-listed-in-makefile.txt contents-of-tree.txt; \
|
||||
rm -f scripts-listed-in-makefile.txt contents-of-tree.txt; \
|
||||
RV=$$?; \
|
||||
- if [[ $$RV == 0 ]] ; \
|
||||
+ if [ $$RV = 0 ] ; \
|
||||
then echo " ... ok"; \
|
||||
else \
|
||||
false; \
|
@ -26,7 +26,7 @@ bin/ytxt2tex
|
||||
%%DATADIR%%/deriv.rep/code.ys
|
||||
%%DATADIR%%/deriv.rep/code.ys.def
|
||||
%%DATADIR%%/documentation/hints
|
||||
%%DATADIR%%/documentation/yacaslogo.gif
|
||||
%%DATADIR%%/documentation/yacaslogo.png
|
||||
%%DATADIR%%/example.rep/code.ys
|
||||
%%DATADIR%%/example.rep/code.ys.def
|
||||
%%DATADIR%%/examples/ABIN.ys
|
||||
@ -47,18 +47,18 @@ bin/ytxt2tex
|
||||
%%DATADIR%%/functional.rep/code.ys
|
||||
%%DATADIR%%/functional.rep/code.ys.def
|
||||
%%DATADIR%%/functional.rep/om.ys
|
||||
%%DATADIR%%/graph.rep/code.ys
|
||||
%%DATADIR%%/graph.rep/code.ys.def
|
||||
%%DATADIR%%/html.rep/code.ys
|
||||
%%DATADIR%%/html.rep/code.ys.def
|
||||
%%DATADIR%%/include/GPL_stuff.h
|
||||
%%DATADIR%%/include/anumber.h
|
||||
%%DATADIR%%/include/anumber.inl
|
||||
%%DATADIR%%/include/archiver.h
|
||||
%%DATADIR%%/include/arggetter.h
|
||||
%%DATADIR%%/include/arrayclass.h
|
||||
%%DATADIR%%/include/arrayclass.inl
|
||||
%%DATADIR%%/include/choices.h
|
||||
%%DATADIR%%/include/commandline.h
|
||||
%%DATADIR%%/include/compressedfiles.h
|
||||
%%DATADIR%%/include/core_yacasmain.h
|
||||
%%DATADIR%%/include/corefunctions.h
|
||||
%%DATADIR%%/include/debugmem.h
|
||||
@ -66,7 +66,6 @@ bin/ytxt2tex
|
||||
%%DATADIR%%/include/deffile.inl
|
||||
%%DATADIR%%/include/errors.h
|
||||
%%DATADIR%%/include/evalfunc.h
|
||||
%%DATADIR%%/include/filescanner.h
|
||||
%%DATADIR%%/include/genericobject.h
|
||||
%%DATADIR%%/include/genericstructs.h
|
||||
%%DATADIR%%/include/grower.h
|
||||
@ -88,22 +87,17 @@ bin/ytxt2tex
|
||||
%%DATADIR%%/include/lispparser.h
|
||||
%%DATADIR%%/include/lispstring.h
|
||||
%%DATADIR%%/include/lispstring.inl
|
||||
%%DATADIR%%/include/lisptype.h
|
||||
%%DATADIR%%/include/lispuserfunc.h
|
||||
%%DATADIR%%/include/log.h
|
||||
%%DATADIR%%/include/lzoconf.h
|
||||
%%DATADIR%%/include/lzodefs.h
|
||||
%%DATADIR%%/include/mathcommands.h
|
||||
%%DATADIR%%/include/mathenvironment.h
|
||||
%%DATADIR%%/include/mathuserfunc.h
|
||||
%%DATADIR%%/include/mathutil.h
|
||||
%%DATADIR%%/include/minilzo.h
|
||||
%%DATADIR%%/include/numbers.h
|
||||
%%DATADIR%%/include/patcher.h
|
||||
%%DATADIR%%/include/patternclass.h
|
||||
%%DATADIR%%/include/patterns.h
|
||||
%%DATADIR%%/include/plat/linux32/lisptype.h
|
||||
%%DATADIR%%/include/plat/linux32/platfileio.h
|
||||
%%DATADIR%%/include/plat/linux32/stubs.inl
|
||||
%%DATADIR%%/include/platfileio.h
|
||||
%%DATADIR%%/include/platmath.h
|
||||
%%DATADIR%%/include/refcount.h
|
||||
%%DATADIR%%/include/standard.h
|
||||
@ -310,10 +304,9 @@ bin/ytxt2tex
|
||||
@dirrm %%DATADIR%%/limit.rep
|
||||
@dirrm %%DATADIR%%/io.rep
|
||||
@dirrm %%DATADIR%%/integrate.rep
|
||||
@dirrm %%DATADIR%%/include/plat/linux32
|
||||
@dirrm %%DATADIR%%/include/plat
|
||||
@dirrm %%DATADIR%%/include
|
||||
@dirrm %%DATADIR%%/html.rep
|
||||
@dirrm %%DATADIR%%/graph.rep
|
||||
@dirrm %%DATADIR%%/functional.rep
|
||||
@dirrm %%DATADIR%%/factors.rep
|
||||
@dirrm %%DATADIR%%/examples
|
||||
|
Loading…
Reference in New Issue
Block a user