aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2010-01-09 10:21:33 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2010-01-09 10:21:33 +0000
commit2a62fe05be8d42b2e027e08016e25a674e186853 (patch)
tree256780f9b73034e3d1dbfe5feba844617f6e62e4 /math
parent7901518709788592fd035caf8c266e39b8599836 (diff)
downloadports-2a62fe05be8d42b2e027e08016e25a674e186853.tar.gz
ports-2a62fe05be8d42b2e027e08016e25a674e186853.zip
- Introduce regression-test target
- Respect CC
Notes
Notes: svn path=/head/; revision=247436
Diffstat (limited to 'math')
-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