summaryrefslogtreecommitdiff
path: root/math/femlab/Makefile
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-01-12 13:00:06 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-01-12 13:00:06 +0000
commitd37adf934ba15e663e30abd0459c35c7d262f9e8 (patch)
treef7e83e0f9bc383ed8d2e631e08dc3f2e7acc9223 /math/femlab/Makefile
parent- Fix RUN_DEPENDS (diff)
* Migrate to gfortran.
* Bump port revision.
Notes
Notes: svn path=/head/; revision=182202
Diffstat (limited to 'math/femlab/Makefile')
-rw-r--r--math/femlab/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/math/femlab/Makefile b/math/femlab/Makefile
index b7e3efe57b8f..309990042976 100644
--- a/math/femlab/Makefile
+++ b/math/femlab/Makefile
@@ -7,6 +7,7 @@
PORTNAME= femlab
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= math science
# mastersite disappeared in April 2000
MASTER_SITES= # ftp://ftp.md.chalmers.se/pub/Femlab/
@@ -18,6 +19,12 @@ COMMENT= Interactive program for solving partial differential equations in 2D
BUILD_DEPENDS= ${X11BASE}/lib/libsx.a:${PORTSDIR}/x11/libsx \
xmkmf:${X_IMAKE_PORT}
+WANT_FORTRAN= yes #dummy but future use
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+FC= gfortran42
+F77= gfortran42
+MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
+
USE_X_PREFIX= yes
FEMLAB_HOME= ${PREFIX}/lib/X11/femlab