aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/libU77/Makefile7
-rw-r--r--math/nsc2ke/Makefile5
-rw-r--r--math/superlu/Makefile5
-rw-r--r--math/superlu_mt/Makefile5
-rw-r--r--math/umfpack/Makefile6
-rw-r--r--science/getdp/Makefile8
-rw-r--r--science/isaac-cfd/Makefile5
-rw-r--r--science/libctl/Makefile5
-rw-r--r--science/mpb/Makefile5
-rw-r--r--science/oases/Makefile6
10 files changed, 11 insertions, 46 deletions
diff --git a/devel/libU77/Makefile b/devel/libU77/Makefile
index 62ca5fca43fd..55caf50de192 100644
--- a/devel/libU77/Makefile
+++ b/devel/libU77/Makefile
@@ -16,12 +16,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Adds Fortran intrinsics missing from f2c
USE_LDCONFIG= yes
-
-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_FORTRAN= yes
pre-build:
${CP} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile
diff --git a/math/nsc2ke/Makefile b/math/nsc2ke/Makefile
index 8f075fad161a..a21e1ca7f556 100644
--- a/math/nsc2ke/Makefile
+++ b/math/nsc2ke/Makefile
@@ -21,10 +21,7 @@ COMMENT= A Navier-Stokes solver
RESTRICTED= No resale, contact author for commercial usage
-WANT_FORTRAN=yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
FFLAGS+= -O2
NO_WRKSUBDIR= yes
diff --git a/math/superlu/Makefile b/math/superlu/Makefile
index 40400fdf6092..a379ced68742 100644
--- a/math/superlu/Makefile
+++ b/math/superlu/Makefile
@@ -35,10 +35,7 @@ BLAS= -lblas
LAPACK= -llapack
.endif
-WANT_FORTRAN= yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
P_VERSION= 3.0
WRKSRC= ${WRKDIR}/SuperLU_${P_VERSION}
diff --git a/math/superlu_mt/Makefile b/math/superlu_mt/Makefile
index 6b22e4d5f423..4a78bd2b040a 100644
--- a/math/superlu_mt/Makefile
+++ b/math/superlu_mt/Makefile
@@ -21,10 +21,7 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Routines for performing multithreaded sparse factorization
-WANT_FORTRAN= yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
WITH_ATLAS= yes
diff --git a/math/umfpack/Makefile b/math/umfpack/Makefile
index 91e289a9ae57..29e0d3d1ba5d 100644
--- a/math/umfpack/Makefile
+++ b/math/umfpack/Makefile
@@ -15,11 +15,7 @@ DISTNAME= UMFPACKv${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Unsymmetric-pattern MultiFrontal Package
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-
-WANT_FORTRAN= yes #dummy but future use
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
FORTRANLIBS= -lgfortranbegin -lgfortran
GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
diff --git a/science/getdp/Makefile b/science/getdp/Makefile
index 9d866824874b..64e5d50fadcc 100644
--- a/science/getdp/Makefile
+++ b/science/getdp/Makefile
@@ -19,13 +19,9 @@ COMMENT= A rather general finite element solver using mixed finite elements
LIB_DEPENDS= gsl.10:${PORTSDIR}/math/gsl \
lapack.4:${PORTSDIR}/math/lapack
-WANT_FORTRAN= yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
-CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
-
+USE_FORTRAN= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-gsl-prefix=${LOCALBASE} \
--with-blas-lapack-prefix=${LOCALBASE}
diff --git a/science/isaac-cfd/Makefile b/science/isaac-cfd/Makefile
index 2ab0bba5e332..4ddfe0d6ba08 100644
--- a/science/isaac-cfd/Makefile
+++ b/science/isaac-cfd/Makefile
@@ -28,10 +28,7 @@ NO_WRKSUBDIR= yes
USE_GMAKE= yes
MAKEFILE= makefile
MAKE_FLAGS+= CPPFLAGS=-I.
-WANT_FORTRAN= yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
.if !defined(WITH_EXAMPLES)
PLIST_SUB= WITH_EXAMPLES="@comment "
diff --git a/science/libctl/Makefile b/science/libctl/Makefile
index 5716c220f99a..1a4456cb6743 100644
--- a/science/libctl/Makefile
+++ b/science/libctl/Makefile
@@ -19,10 +19,7 @@ LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile
GNU_CONFIGURE= yes
CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
-WANT_FORTRAN=yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
MAN1= gen-ctl-io.1
diff --git a/science/mpb/Makefile b/science/mpb/Makefile
index c0682c1b19e0..5d6ba6392503 100644
--- a/science/mpb/Makefile
+++ b/science/mpb/Makefile
@@ -21,10 +21,7 @@ LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw \
hdf5.0:${PORTSDIR}/science/hdf5 \
guile.15:${PORTSDIR}/lang/guile
-WANT_FORTRAN= yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
.include <bsd.port.pre.mk>
GNU_CONFIGURE= yes
diff --git a/science/oases/Makefile b/science/oases/Makefile
index 52996df759c6..a54060f38167 100644
--- a/science/oases/Makefile
+++ b/science/oases/Makefile
@@ -21,11 +21,7 @@ WRKSRC= ${WRKDIR}/Oases_export
USE_XLIB= yes
MAKE_ENV+= OASES_ROOT="${WRKSRC}"
-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_FORTRAN= yes
SCRIPT= avbeam bistat cplot mplot mtvplot multmtv oasn oasp oasr \
oass oassp oast plp2mtv