aboutsummaryrefslogtreecommitdiff
path: root/math/femlab
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /math/femlab
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'math/femlab')
-rw-r--r--math/femlab/Makefile8
-rw-r--r--math/femlab/files/patch-aa2
2 files changed, 5 insertions, 5 deletions
diff --git a/math/femlab/Makefile b/math/femlab/Makefile
index 7f3090b46640..c8453c9eaa33 100644
--- a/math/femlab/Makefile
+++ b/math/femlab/Makefile
@@ -7,7 +7,7 @@
PORTNAME= femlab
PORTVERSION= 1.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= math science
# mastersite disappeared in April 2000
MASTER_SITES= # ftp://ftp.md.chalmers.se/pub/Femlab/
@@ -16,16 +16,16 @@ DISTFILES= femlab-2d-v${PORTVERSION}.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Interactive program for solving partial differential equations in 2D
-BUILD_DEPENDS= ${X11BASE}/lib/libsx.a:${PORTSDIR}/x11/libsx \
- xmkmf:${X_IMAKE_PORT}
+BUILD_DEPENDS= ${LOCALBASE}/lib/libsx.a:${PORTSDIR}/x11/libsx \
+ imake:${PORTSDIR}/devel/imake
+USE_XORG= xaw
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
diff --git a/math/femlab/files/patch-aa b/math/femlab/files/patch-aa
index 589c3cc5e3c7..70c091be4b34 100644
--- a/math/femlab/files/patch-aa
+++ b/math/femlab/files/patch-aa
@@ -11,7 +11,7 @@
# Change next line to the location of the libsx library
#
-EXTRA_LOAD_FLAGS = -L/users/math/martenl/projects/lib
-+EXTRA_LOAD_FLAGS = -L$(X11BASE)
++EXTRA_LOAD_FLAGS = -L$(LOCALBASE)
LOCAL_LIBRARIES = -lfreq -lsx -lm XawClientLibs
DEPLIBS = XawClientDepLibs