aboutsummaryrefslogtreecommitdiffstats
path: root/math/mathomatic
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2010-01-09 18:21:33 +0800
committerehaupt <ehaupt@FreeBSD.org>2010-01-09 18:21:33 +0800
commitdc42d2e1a87cd075305a2eed938f8d20a92ad024 (patch)
tree9c1cf0fb77a00513d50b298e8ab126dc3b493d2f /math/mathomatic
parentd5b8b597acc402b816c7bdb23867ef76d3815b7b (diff)
downloadfreebsd-ports-gnome-dc42d2e1a87cd075305a2eed938f8d20a92ad024.tar.gz
freebsd-ports-gnome-dc42d2e1a87cd075305a2eed938f8d20a92ad024.tar.zst
freebsd-ports-gnome-dc42d2e1a87cd075305a2eed938f8d20a92ad024.zip
- Introduce regression-test target
- Respect CC
Diffstat (limited to 'math/mathomatic')
-rw-r--r--math/mathomatic/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/math/mathomatic/Makefile b/math/mathomatic/Makefile
index ed3528f91f6a..2736194e3a6a 100644
--- a/math/mathomatic/Makefile
+++ b/math/mathomatic/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mathomatic
PORTVERSION= 15.0.3
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://www.panix.com/~gesslein/ \
CRITICAL
@@ -25,7 +26,10 @@ PORTDOCS= *
MAN1= mathomatic.1
post-patch:
- @${REINPLACE_CMD} -e '/^CFLAGS/ s|-O||' ${WRKSRC}/makefile
+ @${REINPLACE_CMD} -e '/^CFLAGS/ s|-O||' -e '/^CC/d' ${WRKSRC}/makefile
+
+regression-test: build
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mathomatic ${PREFIX}/bin