View | Details | Raw Unified | Return to bug 164998
Collapse All | Expand All

(-)math/yacas/Makefile (-5 / +18 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	yacas
9
PORTNAME=	yacas
10
PORTVERSION=	1.3.1
10
PORTVERSION=	1.3.2
11
CATEGORIES=	math
11
CATEGORIES=	math
12
MASTER_SITES=	http://yacas.sourceforge.net/backups/
12
MASTER_SITES=	http://yacas.sourceforge.net/backups/
13
13
Lines 17-22 Link Here
17
LICENSE=	GPLv2
17
LICENSE=	GPLv2
18
LICENSE_FILE=	${WRKSRC}/COPYING
18
LICENSE_FILE=	${WRKSRC}/COPYING
19
19
20
OPTIONS=	TESTS "Run bundled self-tests after build" on
21
20
USE_PERL5_BUILD=yes
22
USE_PERL5_BUILD=yes
21
USE_GMAKE=	yes
23
USE_GMAKE=	yes
22
USE_AUTOTOOLS=	libtool
24
USE_AUTOTOOLS=	libtool
Lines 24-40 Link Here
24
26
25
.include <bsd.port.pre.mk>
27
.include <bsd.port.pre.mk>
26
28
29
.if ${ARCH} == "sparc64"
30
BROKEN=		Does not compile with GCC 4.2
31
.endif
32
27
.if !defined(NOPORTDOCS)
33
.if !defined(NOPORTDOCS)
28
CONFIGURE_ARGS+=	--enable-html-doc --with-html-dir=${DOCSDIR}
34
CONFIGURE_ARGS+=	--enable-html-doc --with-html-dir=${DOCSDIR}
29
.else
35
.else
30
CONFIGURE_ARGS+=	--disable-html-doc
36
CONFIGURE_ARGS+=	--disable-html-doc
31
.endif
37
.endif
32
38
33
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
39
.if !defined(WITHOUT_TESTS)
34
BROKEN=		Does not compile with GCC 4.2
40
BUILD_DEPENDS+=	bash:${PORTSDIR}/shells/bash
35
.endif
41
.endif
36
42
37
test:	build
43
post-patch:
38
	@cd ${WRKSRC} && ${GMAKE} test
44
	@${REINPLACE_CMD} -e \
45
		's| /bin/bash| ${LOCALBASE}/bin/bash|' ${WRKSRC}/tests/test-yacas
46
47
post-build:
48
.if !defined(WITHOUT_TESTS)
49
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
50
		${MAKEFILE} check ${MAKE_ARGS})
51
.endif
39
52
40
.include <bsd.port.post.mk>
53
.include <bsd.port.post.mk>
(-)math/yacas/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (yacas-1.3.1.tar.gz) = 61d10c38af1e450ef325cc874143ceb414a4fdd4d7b4564bd0a65e090aa16b6c
1
SHA256 (yacas-1.3.2.tar.gz) = 82c7dc0de492b4290633e6abf18d35a2ec03117e6ea3e0f9418e6e85372c030e
2
SIZE (yacas-1.3.1.tar.gz) = 1292136
2
SIZE (yacas-1.3.2.tar.gz) = 1292706

Return to bug 164998