7 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION:R}/
9 MAINTAINER= gahr@FreeBSD.org
10 COMMENT= Yet Another Computer Algebra System
13 LICENSE_FILE= ${WRKSRC}/COPYING
20 .include <bsd.port.options.mk>
22 .if ${ARCH} == "sparc64"
23 BROKEN= Does not compile with GCC 4.2
26 .if ${PORT_OPTIONS:MDOCS}
27 CONFIGURE_ARGS+=--enable-html-doc --with-html-dir=${DOCSDIR}
32 CONFIGURE_ARGS+=--disable-html-doc
36 # Can't use USES=shebangfix here, cause the path appears several
38 @${REINPLACE_CMD} -e 's| /bin/bash| ${LOCALBASE}/bin/bash|g' \
39 ${WRKSRC}/tests/test-yacas
41 regression-test: build
42 # This requires bash. I don't add it as a dependency to the port, as it's
43 # not needed for the general use.
44 @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
45 ${MAKEFILE} check ${MAKE_ARGS})
47 .include <bsd.port.mk>