aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2014-09-14 22:42:20 +0800
committerthierry <thierry@FreeBSD.org>2014-09-14 22:42:20 +0800
commit1dfda908ffd5303aaaa280896fee76eda186b18d (patch)
tree775d1bbf0ce3e02e0fab0933c1ecffeba1711090 /science
parent7df21f7c8431a043fdfb9e3b1d9646245e1f27ff (diff)
downloadfreebsd-ports-gnome-1dfda908ffd5303aaaa280896fee76eda186b18d.tar.gz
freebsd-ports-gnome-1dfda908ffd5303aaaa280896fee76eda186b18d.tar.zst
freebsd-ports-gnome-1dfda908ffd5303aaaa280896fee76eda186b18d.zip
Upgrade to version 2.0.3.
PR: ports/193296 Submitted by: pfg
Diffstat (limited to 'science')
-rw-r--r--science/ecs/Makefile31
-rw-r--r--science/ecs/distinfo4
2 files changed, 11 insertions, 24 deletions
diff --git a/science/ecs/Makefile b/science/ecs/Makefile
index 588ff553f405..36bd2935e09d 100644
--- a/science/ecs/Makefile
+++ b/science/ecs/Makefile
@@ -2,17 +2,16 @@
# $FreeBSD$
PORTNAME= ecs
-PORTVERSION= 2.0.2
-PORTREVISION= 7
+PORTVERSION= 2.0.3
CATEGORIES= science
-MASTER_SITES= http://research.edf.com/fichiers/fckeditor/Commun/Innovation/logiciels/code_saturne/Releases/
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
+MASTER_SITES= http://code-saturne.org/releases/
MAINTAINER= thierry@FreeBSD.org
COMMENT= Code_Saturne Preprocessor
LICENSE= GPLv2
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libscotch.a:${PORTSDIR}/cad/scotch
LIB_DEPENDS= libmed.so:${PORTSDIR}/french/med \
libbft.so:${PORTSDIR}/science/bft \
libhdf5.so:${PORTSDIR}/science/hdf5 \
@@ -20,27 +19,20 @@ LIB_DEPENDS= libmed.so:${PORTSDIR}/french/med \
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= gmake zip
+USES= gmake
USE_TEX= dvipsk
GNU_CONFIGURE= yes
-CPPFLAGS= -I${LOCALBASE}/include
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-bft=${LOCALBASE} \
--with-hdf5=${LOCALBASE} \
--with-cgns=${LOCALBASE} \
+ --without-adf --without-ccm \
+ --with-scotch=${LOCALBASE} \
--with-med=${LOCALBASE} \
--with-metis=${LOCALBASE} \
--with-metis-include=${LOCALBASE}/include/metis
-CONFIGURE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS} CPPFLAGS="${CPPFLAGS}" \
- LDFLAGS="-L${LOCALBASE}/lib"
-
-.if defined(WITH_CCMIO)
-LIB_DEPENDS+= libadf.so:${PORTSDIR}/science/libccmio \
- libccmio.so:${PORTSDIR}/science/libccmio
-CONFIGURE_ARGS+=--with-adf=${LOCALBASE} \
- --with-ccm=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=--without-adf --without-ccm
-.endif
+CONFIGURE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
@@ -72,11 +64,6 @@ LIB_DEPENDS+= libmetis.so.1:${PORTSDIR}/math/metis4
LIB_DEPENDS+= libmetis.so.0:${PORTSDIR}/math/metis-edf
.endif
-.if ${ARCH} == "i386"
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libscotch.a:${PORTSDIR}/cad/scotch
-CONFIGURE_ARGS+= --with-scotch=${LOCALBASE}
-.endif
-
pre-configure:
.if ${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e '/^SUBDIRS/s| po| po doc|' ${WRKSRC}/Makefile.in
diff --git a/science/ecs/distinfo b/science/ecs/distinfo
index 0e6be81e8978..0362a389fd8a 100644
--- a/science/ecs/distinfo
+++ b/science/ecs/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ecs-202.zip) = 237712e1df2bb1a7a479407ebf325c5ebb89ccaf29d86e9f52f52907677f23a2
-SIZE (ecs-202.zip) = 1369458
+SHA256 (ecs-2.0.3.tar.gz) = 5c4a6c2eed0f476571681fed9b8f8b99fafbdc2ffdcc08775387a5b71dc5642d
+SIZE (ecs-2.0.3.tar.gz) = 1171288