diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2012-02-20 00:06:30 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2012-02-20 00:06:30 +0000 |
commit | c6d429acc07716e25afd9f5104e5993865f96d9d (patch) | |
tree | 67b1700f091f31a8e1eeb42e8f11d36f0016f8dc /math | |
parent | 00a0cd3c8d0e3929e63b63708b7b566ed3d1da5b (diff) | |
download | ports-c6d429acc07716e25afd9f5104e5993865f96d9d.tar.gz ports-c6d429acc07716e25afd9f5104e5993865f96d9d.zip |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/yacas/Makefile | 23 | ||||
-rw-r--r-- | math/yacas/distinfo | 4 |
2 files changed, 20 insertions, 7 deletions
diff --git a/math/yacas/Makefile b/math/yacas/Makefile index 2cf66b979553..8e03a5181c49 100644 --- a/math/yacas/Makefile +++ b/math/yacas/Makefile @@ -7,7 +7,7 @@ # PORTNAME= yacas -PORTVERSION= 1.3.1 +PORTVERSION= 1.3.2 CATEGORIES= math MASTER_SITES= http://yacas.sourceforge.net/backups/ @@ -17,6 +17,8 @@ COMMENT= Yet Another Computer Algebra System LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING +OPTIONS= TESTS "Run bundled self-tests after build" on + USE_PERL5_BUILD=yes USE_GMAKE= yes USE_AUTOTOOLS= libtool @@ -24,17 +26,28 @@ MAKE_JOBS_SAFE= yes .include <bsd.port.pre.mk> +.if ${ARCH} == "sparc64" +BROKEN= Does not compile with GCC 4.2 +.endif + .if !defined(NOPORTDOCS) CONFIGURE_ARGS+= --enable-html-doc --with-html-dir=${DOCSDIR} .else CONFIGURE_ARGS+= --disable-html-doc .endif -.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" -BROKEN= Does not compile with GCC 4.2 +.if !defined(WITHOUT_TESTS) +BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash .endif -test: build - @cd ${WRKSRC} && ${GMAKE} test +post-patch: + @${REINPLACE_CMD} -e \ + 's| /bin/bash| ${LOCALBASE}/bin/bash|' ${WRKSRC}/tests/test-yacas + +post-build: +.if !defined(WITHOUT_TESTS) + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \ + ${MAKEFILE} check ${MAKE_ARGS}) +.endif .include <bsd.port.post.mk> diff --git a/math/yacas/distinfo b/math/yacas/distinfo index e102e1091342..0dc496e9d34c 100644 --- a/math/yacas/distinfo +++ b/math/yacas/distinfo @@ -1,2 +1,2 @@ -SHA256 (yacas-1.3.1.tar.gz) = 61d10c38af1e450ef325cc874143ceb414a4fdd4d7b4564bd0a65e090aa16b6c -SIZE (yacas-1.3.1.tar.gz) = 1292136 +SHA256 (yacas-1.3.2.tar.gz) = 82c7dc0de492b4290633e6abf18d35a2ec03117e6ea3e0f9418e6e85372c030e +SIZE (yacas-1.3.2.tar.gz) = 1292706 |