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> |