summaryrefslogtreecommitdiff
path: root/science/fvm
diff options
context:
space:
mode:
Diffstat (limited to 'science/fvm')
-rw-r--r--science/fvm/Makefile24
-rw-r--r--science/fvm/distinfo6
-rw-r--r--science/fvm/pkg-descr2
3 files changed, 17 insertions, 15 deletions
diff --git a/science/fvm/Makefile b/science/fvm/Makefile
index 160a9704e7cc..47a285101d00 100644
--- a/science/fvm/Makefile
+++ b/science/fvm/Makefile
@@ -6,9 +6,11 @@
#
PORTNAME= fvm
-PORTVERSION= 0.9.0
+PORTVERSION= 0.10.0
CATEGORIES= science parallel
-MASTER_SITES= http://www.edf.fr/html/RetD/livraison_saturne_${REL_DATE}/
+MASTER_SITES= http://rd.edf.com/fichiers/fckeditor/File/EDF%20RD/Code_Saturne/Fichiers/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
+EXTRACT_SUFX= .tgz
MAINTAINER= thierry@FreeBSD.org
COMMENT= Code_Saturne Finite Volume Mesh
@@ -18,29 +20,29 @@ LIB_DEPENDS= med.2:${PORTSDIR}/french/med \
hdf5.0:${PORTSDIR}/science/hdf5 \
cgns.0:${PORTSDIR}/science/cgnslib
-REL_DATE= 20071218
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS= --with-bft-prefix=${LOCALBASE} \
- --with-hdf5-prefix=${LOCALBASE} \
- --with-cgns-prefix=${LOCALBASE} \
- --with-med-prefix=${LOCALBASE}
+CONFIGURE_ARGS= --with-bft=${LOCALBASE} \
+ --with-hdf5=${LOCALBASE} \
+ --with-cgns=${LOCALBASE} \
+ --with-med=${LOCALBASE}
CONFIGURE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
.if defined(WITH_LAM)
BUILD_DEPENDS+= ${LOCALBASE}/lib/liblam.a:${PORTSDIR}/net/lam
RUN_DEPENDS+= ${LOCALBASE}/bin/lamboot:${PORTSDIR}/net/lam
-CONFIGURE_ARGS+= --with-mpi-prefix=${LOCALBASE}
+CONFIGURE_ARGS+= --with-mpi=${LOCALBASE}
.elif defined(WITH_OPENMPI)
BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpicc:${PORTSDIR}/net/openmpi
RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi
-CONFIGURE_ARGS+= --with-mpi-prefix=${LOCALBASE}/mpi/openmpi
+CONFIGURE_ARGS+= --with-mpi=${LOCALBASE}/mpi/openmpi
.else
BUILD_DEPENDS+= ${LOCALBASE}/mpich2/bin/mpicc:${PORTSDIR}/net/mpich2
RUN_DEPENDS+= ${LOCALBASE}/mpich2/bin/mpirun:${PORTSDIR}/net/mpich2
-CONFIGURE_ARGS+= --with-mpi-prefix=${LOCALBASE}/mpich2
+CONFIGURE_ARGS+= --with-mpi=${LOCALBASE}/mpich2
.endif
.if defined(WITH_DEBUG)
@@ -55,7 +57,7 @@ pre-configure:
regression-test:
.for pg in ${TESTSBIN}
- @(cd ${WRKSRC}/tests; ./${pg})
+ (cd ${WRKSRC}/tests; ./${pg})
.endfor
.include <bsd.port.mk>
diff --git a/science/fvm/distinfo b/science/fvm/distinfo
index bba3b8d0cd9d..f52b84954ab5 100644
--- a/science/fvm/distinfo
+++ b/science/fvm/distinfo
@@ -1,3 +1,3 @@
-MD5 (fvm-0.9.0.tar.gz) = 9f6a7f59e15245997b060f98fdfbe195
-SHA256 (fvm-0.9.0.tar.gz) = 70a61717d5bd9d79f862335744cddeb25eb1ed5aee788d1fa038ef533bf70275
-SIZE (fvm-0.9.0.tar.gz) = 664087
+MD5 (fvm-0100.tgz) = 54f34da0267746765d0d6d6b5f6eaae3
+SHA256 (fvm-0100.tgz) = 5e05c61936006d67e473db9a6793f14fb406379c1f6e886eaff0614c983ac5e5
+SIZE (fvm-0100.tgz) = 668698
diff --git a/science/fvm/pkg-descr b/science/fvm/pkg-descr
index 6787774c7ab1..4c5df15eb9a1 100644
--- a/science/fvm/pkg-descr
+++ b/science/fvm/pkg-descr
@@ -1,4 +1,4 @@
-BFT stands for Finite Volume Mesh.
+FVM stands for Finite Volume Mesh.
It is intended to provide finite volume mesh I/O and some other services such
as interpolation, possibly in parallel using MPI.