aboutsummaryrefslogtreecommitdiffstats
path: root/math/femlab
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
committermiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
commitbce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch)
treef5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /math/femlab
parent2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff)
downloadfreebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz
freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.zst
freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.zip
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
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