From a18f5f516fad6ed43e3c2a7b56f51d0e497278af Mon Sep 17 00:00:00 2001
From: Thierry Thomas <thierry@FreeBSD.org>
Date: Tue, 1 Jan 2008 16:45:39 +0000
Subject: Upgrade ECS to 1.3.1.

---
 science/ecs/Makefile                          |  4 +-
 science/ecs/distinfo                          |  6 +--
 science/ecs/files/patch-configure             | 56 ---------------------------
 science/ecs/files/patch-src_appli_Makefile.in | 11 ------
 4 files changed, 5 insertions(+), 72 deletions(-)
 delete mode 100644 science/ecs/files/patch-configure
 delete mode 100644 science/ecs/files/patch-src_appli_Makefile.in

(limited to 'science/ecs')

diff --git a/science/ecs/Makefile b/science/ecs/Makefile
index 1a0eb03ba6f4..ad198df02e3c 100644
--- a/science/ecs/Makefile
+++ b/science/ecs/Makefile
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	ecs
-DISTVERSION=	1.3.c
+PORTVERSION=	1.3.1
 CATEGORIES=	science
 MASTER_SITES=	http://www.edf.fr/html/RetD/livraison_saturne_${REL_DATE}/
 
@@ -18,7 +18,7 @@ LIB_DEPENDS=	med.2:${PORTSDIR}/french/med		\
 		hdf5.0:${PORTSDIR}/science/hdf5		\
 		cgns.0:${PORTSDIR}/science/cgnslib
 
-REL_DATE=	070305
+REL_DATE=	20071218
 
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
diff --git a/science/ecs/distinfo b/science/ecs/distinfo
index a21e1137121e..10a02596c228 100644
--- a/science/ecs/distinfo
+++ b/science/ecs/distinfo
@@ -1,3 +1,3 @@
-MD5 (ecs-1.3.c.tar.gz) = eadaefbdf2a84a45c85910f5fdb9068a
-SHA256 (ecs-1.3.c.tar.gz) = 000b1b70e65c164d190c78d1f7b8f39ea5d3704c181762d911dfed160e92c58b
-SIZE (ecs-1.3.c.tar.gz) = 2038856
+MD5 (ecs-1.3.1.tar.gz) = 27a595d350952dea2221633ccf311934
+SHA256 (ecs-1.3.1.tar.gz) = bdd5c9c85e40567e95a6b93f5b836344410ba167984aa88bd764dfda0fea7926
+SIZE (ecs-1.3.1.tar.gz) = 2085349
diff --git a/science/ecs/files/patch-configure b/science/ecs/files/patch-configure
deleted file mode 100644
index 974e2cee55de..000000000000
--- a/science/ecs/files/patch-configure
+++ /dev/null
@@ -1,56 +0,0 @@
---- configure.orig	Thu Feb 15 20:16:38 2007
-+++ configure	Mon May  7 11:41:21 2007
-@@ -3771,7 +3771,7 @@
- #------------------------------------------------------------------
- 
- case "$host_os" in
--  linux* | hpux* | irix*)
-+  linux* | freebsd* | hpux* | irix*)
-     CPPFLAGS="${CPPFLAGS} -D_POSIX_SOURCE"
-     ;;
-   osf*)
-@@ -19595,7 +19595,7 @@
-     HDF5_CPPFLAGS="-I$with_hdf5_prefix/include"
-     HDF5_LDFLAGS="-L$with_hdf5_prefix/lib"
-   fi
--  HDF5_LIBS="-lhdf5"
-+  HDF5_LIBS="-lhdf5 $PTHREAD_LIBS"
- 
-   CPPFLAGS="${CPPFLAGS} ${HDF5_CPPFLAGS}"
-   LDFLAGS="${LDFLAGS} ${HDF5_LDFLAGS}"
-@@ -19607,7 +19607,7 @@
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-lhdf5  $LIBS"
-+LIBS="$HDF5_LIBS $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h.  */
- _ACEOF
-@@ -19749,7 +19749,7 @@
-   elif test "x$with_cgns_prefix" != "x" ; then
-     CGNS_LDFLAGS="-L$with_cgns_prefix/lib"
-   fi
--  CGNS_LIBS="-lcgns"
-+  CGNS_LIBS="-lcgns $HDF5_LIBS"
-   CPPFLAGS="${CPPFLAGS} ${CGNS_CPPFLAGS}"
-   LDFLAGS="${LDFLAGS} ${CGNS_LDFLAGS}"
-   LIBS="${LIBS} ${CGNS_LIBS}"
-@@ -19760,7 +19760,7 @@
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-lcgns  $LIBS"
-+LIBS="$CGNS_LIBS $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h.  */
- _ACEOF
-@@ -20749,6 +20749,8 @@
- 	fi
-       fi;
-       MED_LIBS="-lmedC -lpthread";;
-+    freebsd*)
-+      MED_ARCH_NAME=FREEBSD;;
-     osf*)
-       if test "x$ints_are_64bit" != "xyes" ; then
-         MED_ARCH_NAME=OSF1_32
diff --git a/science/ecs/files/patch-src_appli_Makefile.in b/science/ecs/files/patch-src_appli_Makefile.in
deleted file mode 100644
index 6028e2692676..000000000000
--- a/science/ecs/files/patch-src_appli_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/appli/Makefile.in.orig	Thu Feb 15 20:16:38 2007
-+++ src/appli/Makefile.in	Mon May  7 11:58:10 2007
-@@ -276,7 +276,7 @@
- $(top_builddir)/src/pre-post/libprepostecs.la \
- $(top_builddir)/src/base/libbaseecs.la \
- $(top_builddir)/src/util/libutilecs.la \
--@HDF5_LDFLAGS@ @HDF5_LIBS@ @MED_LDFLAGS@ @MED_LIBS@ \
-+$(LTLIBINTL) @HDF5_LDFLAGS@ @HDF5_LIBS@ @MED_LDFLAGS@ @MED_LIBS@ \
- @CGNS_LDFLAGS@ @CGNS_LIBS@ \
- @METIS_LDFLAGS@ @METIS_LIBS@ \
- -lm
-- 
cgit v1.2.3