aboutsummaryrefslogtreecommitdiffstats
path: root/french/eficas
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2010-12-30 06:01:53 +0800
committerthierry <thierry@FreeBSD.org>2010-12-30 06:01:53 +0800
commit240b9dc3d5b4a8fca1a216f71880aca7db0f19b6 (patch)
treeb5fb76ecc2d6cce03c3dfd1b0a167e287ad0d7ad /french/eficas
parent2aff85818e4e6bfd8d429811216de61dfcfc6268 (diff)
downloadfreebsd-ports-gnome-240b9dc3d5b4a8fca1a216f71880aca7db0f19b6.tar.gz
freebsd-ports-gnome-240b9dc3d5b4a8fca1a216f71880aca7db0f19b6.tar.zst
freebsd-ports-gnome-240b9dc3d5b4a8fca1a216f71880aca7db0f19b6.zip
Upgrade to 2.1.1-1.
Note: qtEficas does not run at the moment, it's disabled.
Diffstat (limited to 'french/eficas')
-rw-r--r--french/eficas/Makefile23
-rw-r--r--french/eficas/pkg-plist94
2 files changed, 103 insertions, 14 deletions
diff --git a/french/eficas/Makefile b/french/eficas/Makefile
index ebf7f45a75b3..71554997eb4b 100644
--- a/french/eficas/Makefile
+++ b/french/eficas/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= eficas
-DISTVERSION= 2.0.3-1
-PORTREVISION= 1
+DISTVERSION= 2.1.1-1
CATEGORIES= french cad
MAINTAINER= ports@FreeBSD.org
@@ -28,7 +27,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
LEFICASDIR?= apps/${PORTNAME}
EFICASDIR= ${PREFIX}/${LEFICASDIR}
-PLIST_SUB= EFICASDIR=${LEFICASDIR} STAV=STA9
+PLIST_SUB= EFICASDIR=${LEFICASDIR}
SUB_FILES= eficas
SUB_LIST= EFICASDIR=${EFICASDIR} PYTHON_CMD=${PYTHON_CMD}
@@ -38,15 +37,16 @@ EF_LANG= fr
EF_LANG= ang
.endif
-.if !defined(WITHOUT_QT)
+.if defined(WITH_QT)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui \
${PYTHON_SITELIBDIR}/PyQt4/QtAssistant.so:${PORTSDIR}/devel/py-qt4-assistant
SUB_FILES+= qtEficas
+PLIST_SUB+= QT4=""
+IGNORE= qtEficas fails ATM ('QListBoxItem*' is not supported as a slot argument type)
+.else
+PLIST_SUB+= QT4="@comment "
.endif
-ENV2PYTHON= Misc/Cyclops.py Aster/eficas_aster.py Aster/qtEficas_aster.py \
- Aster/qtGroup.py Traducteur/traduitV8V9.py \
- Traducteur/traduitV7V8.py convert/Parserv5/Translate.py
FIXSHTK= bureau.py cataediteur.py panels.py
FIXSHQT4= typeNode.py
FIXBASH= cataSTA9/Macro/macr_ecre_calc_ops.py cataSTA10/Macro/macr_ecre_calc_ops.py
@@ -54,10 +54,6 @@ FIXBASH= cataSTA9/Macro/macr_ecre_calc_ops.py cataSTA10/Macro/macr_ecre_calc_ops
pre-configure:
${RM} ${WRKSRC}/convert/Parserv5/Translate.py.orig
${RM} -r ${WRKSRC}/Pmw # Use our ported Pmw
-.for FILE in ${ENV2PYTHON}
- ${REINPLACE_CMD} -e "s|^#!*./usr/bin/env python|#!${PYTHON_CMD}|" \
- -e "s|^#!*./bin/env python|#!${PYTHON_CMD}|" ${WRKSRC}/${FILE}
-.endfor
.for tk in TK QT4
. for FILE in ${FIXSH${tk}}
${REINPLACE_CMD} -e "s|/usr/bin/sh|/bin/sh|" ${WRKSRC}/Interface${tk}/${FILE}
@@ -66,7 +62,7 @@ pre-configure:
${REINPLACE_CMD} -e "s#lang='fr'#lang='${EF_LANG}'#" \
${WRKSRC}/Aster/prefs.py
${REINPLACE_CMD} -e "s#os.path.join(rep_cata,'..','Doc')#\"${DOCSDIR}\"#" \
- -e "s#os.path.join(prefs.REPINI,'../Pmw')#'${PYTHON_SITELIBDIR}/Pmw'#" \
+ -e "s#os.path.join(initialdir,'../Pmw')#'${PYTHON_SITELIBDIR}/Pmw'#" \
${WRKSRC}/Aster/editeur.ini
.for cata in ${FIXBASH}
${REINPLACE_CMD} -e "s|'/bin/bash'|'${LOCALBASE}/bin/bash'|" \
@@ -77,10 +73,11 @@ do-install:
${MKDIR} ${EFICASDIR}
${CP} -R ${WRKSRC}/* ${EFICASDIR}
${FIND} ${EFICASDIR} -name CMakeFiles -delete
+ ${FIND} ${EFICASDIR} -name CVS | ${XARGS} ${RM} -rf
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${EFICASDIR}
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${EFICASDIR}
${INSTALL_SCRIPT} ${WRKDIR}/eficas ${PREFIX}/bin
-.if !defined(WITHOUT_QT)
+.if defined(WITH_QT)
${INSTALL_SCRIPT} ${WRKDIR}/qtEficas ${PREFIX}/bin
.endif
diff --git a/french/eficas/pkg-plist b/french/eficas/pkg-plist
index 097d2fd25d3b..d52343cb3eb5 100644
--- a/french/eficas/pkg-plist
+++ b/french/eficas/pkg-plist
@@ -1,5 +1,5 @@
bin/eficas
-bin/qtEficas
+%%QT4%%bin/qtEficas
%%EFICASDIR%%/AIDE/__init__.py
%%EFICASDIR%%/AIDE/__init__.pyc
%%EFICASDIR%%/AIDE/__init__.pyo
@@ -118,11 +118,15 @@ bin/qtEficas
%%EFICASDIR%%/Accas/__init__NonAster.pyc
%%EFICASDIR%%/Accas/__init__NonAster.pyo
%%EFICASDIR%%/Aide/eficas_ASTER.adp
+%%EFICASDIR%%/Aide/eficas_OPENTURNS_STUDY.adp
%%EFICASDIR%%/Aide/fichiers_ASTER/INSTALL.txt
%%EFICASDIR%%/Aide/fichiers_ASTER/NEWS.txt
%%EFICASDIR%%/Aide/fichiers_ASTER/faqs.txt
%%EFICASDIR%%/Aide/fichiers_ASTER/includes.txt
%%EFICASDIR%%/Aide/fichiers_ASTER/index.html
+%%EFICASDIR%%/Aide/fichiers_OPENTURNS_STUDY/EficasGui.txt
+%%EFICASDIR%%/Aide/fichiers_OPENTURNS_STUDY/UncertaintyStudy.txt
+%%EFICASDIR%%/Aide/fichiers_OPENTURNS_STUDY/index.html
%%EFICASDIR%%/Aster/Cata/__init__.py
%%EFICASDIR%%/Aster/Cata/__init__.pyc
%%EFICASDIR%%/Aster/Cata/__init__.pyo
@@ -294,9 +298,15 @@ bin/qtEficas
%%EFICASDIR%%/Aster/Cata/cataSTA10/Macro/observation_ops.py
%%EFICASDIR%%/Aster/Cata/cataSTA10/Macro/observation_ops.pyc
%%EFICASDIR%%/Aster/Cata/cataSTA10/Macro/observation_ops.pyo
+%%EFICASDIR%%/Aster/Cata/cataSTA10/Macro/post_bordet_ops.py
+%%EFICASDIR%%/Aster/Cata/cataSTA10/Macro/post_bordet_ops.pyc
+%%EFICASDIR%%/Aster/Cata/cataSTA10/Macro/post_bordet_ops.pyo
%%EFICASDIR%%/Aster/Cata/cataSTA10/Macro/post_coque_ops.py
%%EFICASDIR%%/Aster/Cata/cataSTA10/Macro/post_coque_ops.pyc
%%EFICASDIR%%/Aster/Cata/cataSTA10/Macro/post_coque_ops.pyo
+%%EFICASDIR%%/Aster/Cata/cataSTA10/Macro/post_decollement_ops.py
+%%EFICASDIR%%/Aster/Cata/cataSTA10/Macro/post_decollement_ops.pyc
+%%EFICASDIR%%/Aster/Cata/cataSTA10/Macro/post_decollement_ops.pyo
%%EFICASDIR%%/Aster/Cata/cataSTA10/Macro/post_dyna_alea_ops.py
%%EFICASDIR%%/Aster/Cata/cataSTA10/Macro/post_dyna_alea_ops.pyc
%%EFICASDIR%%/Aster/Cata/cataSTA10/Macro/post_dyna_alea_ops.pyo
@@ -684,6 +694,9 @@ bin/qtEficas
%%EFICASDIR%%/Aster/Cata/cataSTA10/SD/sd_nume_ddl_gene.py
%%EFICASDIR%%/Aster/Cata/cataSTA10/SD/sd_nume_ddl_gene.pyc
%%EFICASDIR%%/Aster/Cata/cataSTA10/SD/sd_nume_ddl_gene.pyo
+%%EFICASDIR%%/Aster/Cata/cataSTA10/SD/sd_nume_elim.py
+%%EFICASDIR%%/Aster/Cata/cataSTA10/SD/sd_nume_elim.pyc
+%%EFICASDIR%%/Aster/Cata/cataSTA10/SD/sd_nume_elim.pyo
%%EFICASDIR%%/Aster/Cata/cataSTA10/SD/sd_nume_eqge.py
%%EFICASDIR%%/Aster/Cata/cataSTA10/SD/sd_nume_eqge.pyc
%%EFICASDIR%%/Aster/Cata/cataSTA10/SD/sd_nume_eqge.pyo
@@ -1220,6 +1233,9 @@ bin/qtEficas
%%EFICASDIR%%/Aster/Cata/cataSTA9/Macro/test_temps_ops.py
%%EFICASDIR%%/Aster/Cata/cataSTA9/Macro/test_temps_ops.pyc
%%EFICASDIR%%/Aster/Cata/cataSTA9/Macro/test_temps_ops.pyo
+%%EFICASDIR%%/Aster/Cata/cataSTA9/Numeric.py
+%%EFICASDIR%%/Aster/Cata/cataSTA9/Numeric.pyc
+%%EFICASDIR%%/Aster/Cata/cataSTA9/Numeric.pyo
%%EFICASDIR%%/Aster/Cata/cataSTA9/SD/__init__.py
%%EFICASDIR%%/Aster/Cata/cataSTA9/SD/__init__.pyc
%%EFICASDIR%%/Aster/Cata/cataSTA9/SD/__init__.pyo
@@ -1747,6 +1763,9 @@ bin/qtEficas
%%EFICASDIR%%/Editeur/basestyle.py
%%EFICASDIR%%/Editeur/basestyle.pyc
%%EFICASDIR%%/Editeur/basestyle.pyo
+%%EFICASDIR%%/Editeur/catadesc.py
+%%EFICASDIR%%/Editeur/catadesc.pyc
+%%EFICASDIR%%/Editeur/catadesc.pyo
%%EFICASDIR%%/Editeur/comploader.py
%%EFICASDIR%%/Editeur/comploader.pyc
%%EFICASDIR%%/Editeur/comploader.pyo
@@ -1829,6 +1848,7 @@ bin/qtEficas
%%EFICASDIR%%/Editeur/icons/code_saturne.gif
%%EFICASDIR%%/Editeur/icons/compute.png
%%EFICASDIR%%/Editeur/icons/empty.png
+%%EFICASDIR%%/Editeur/icons/image240.png
%%EFICASDIR%%/Editeur/icons/logo_edf.gif
%%EFICASDIR%%/Editeur/icons/minusnode.gif
%%EFICASDIR%%/Editeur/icons/minusnode.png
@@ -2029,6 +2049,9 @@ bin/qtEficas
%%EFICASDIR%%/InterfaceQT4/composimp.py
%%EFICASDIR%%/InterfaceQT4/composimp.pyc
%%EFICASDIR%%/InterfaceQT4/composimp.pyo
+%%EFICASDIR%%/InterfaceQT4/configuration.py
+%%EFICASDIR%%/InterfaceQT4/configuration.pyc
+%%EFICASDIR%%/InterfaceQT4/configuration.pyo
%%EFICASDIR%%/InterfaceQT4/editor.py
%%EFICASDIR%%/InterfaceQT4/editor.pyc
%%EFICASDIR%%/InterfaceQT4/editor.pyo
@@ -2080,6 +2103,12 @@ bin/qtEficas
%%EFICASDIR%%/InterfaceQT4/monOptions_ASTER.py
%%EFICASDIR%%/InterfaceQT4/monOptions_ASTER.pyc
%%EFICASDIR%%/InterfaceQT4/monOptions_ASTER.pyo
+%%EFICASDIR%%/InterfaceQT4/monOptions_OPENTURNS_STUDY.py
+%%EFICASDIR%%/InterfaceQT4/monOptions_OPENTURNS_STUDY.pyc
+%%EFICASDIR%%/InterfaceQT4/monOptions_OPENTURNS_STUDY.pyo
+%%EFICASDIR%%/InterfaceQT4/monOptions_OPENTURNS_WRAPPER.py
+%%EFICASDIR%%/InterfaceQT4/monOptions_OPENTURNS_WRAPPER.pyc
+%%EFICASDIR%%/InterfaceQT4/monOptions_OPENTURNS_WRAPPER.pyo
%%EFICASDIR%%/InterfaceQT4/monParamPanel.py
%%EFICASDIR%%/InterfaceQT4/monParamPanel.pyc
%%EFICASDIR%%/InterfaceQT4/monParamPanel.pyo
@@ -2497,6 +2526,41 @@ bin/qtEficas
%%EFICASDIR%%/Noyau/nommage.py
%%EFICASDIR%%/Noyau/nommage.pyc
%%EFICASDIR%%/Noyau/nommage.pyo
+%%EFICASDIR%%/Openturns_Study/OpenTURNS_Cata_Study_V8.py
+%%EFICASDIR%%/Openturns_Study/OpenTURNS_Cata_Study_V8.pyc
+%%EFICASDIR%%/Openturns_Study/OpenTURNS_Cata_Study_V8.pyo
+%%EFICASDIR%%/Openturns_Study/catalogues_openturns.ini
+%%EFICASDIR%%/Openturns_Study/configuration_OPENTURNS_STUDY.py
+%%EFICASDIR%%/Openturns_Study/configuration_OPENTURNS_STUDY.pyc
+%%EFICASDIR%%/Openturns_Study/configuration_OPENTURNS_STUDY.pyo
+%%EFICASDIR%%/Openturns_Study/opsOT.py
+%%EFICASDIR%%/Openturns_Study/opsOT.pyc
+%%EFICASDIR%%/Openturns_Study/opsOT.pyo
+%%EFICASDIR%%/Openturns_Study/prefs.py
+%%EFICASDIR%%/Openturns_Study/prefs.pyc
+%%EFICASDIR%%/Openturns_Study/prefs.pyo
+%%EFICASDIR%%/Openturns_Study/prefs_OPENTURNS_STUDY.py
+%%EFICASDIR%%/Openturns_Study/prefs_OPENTURNS_STUDY.pyc
+%%EFICASDIR%%/Openturns_Study/prefs_OPENTURNS_STUDY.pyo
+%%EFICASDIR%%/Openturns_Study/qtEficas_openturns_study.py
+%%EFICASDIR%%/Openturns_Study/qtEficas_openturns_study.pyc
+%%EFICASDIR%%/Openturns_Study/qtEficas_openturns_study.pyo
+%%EFICASDIR%%/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V4.py
+%%EFICASDIR%%/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V4.pyc
+%%EFICASDIR%%/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V4.pyo
+%%EFICASDIR%%/Openturns_Wrapper/catalogues_openturns.ini
+%%EFICASDIR%%/Openturns_Wrapper/configuration_OPENTURNS_WRAPPER.py
+%%EFICASDIR%%/Openturns_Wrapper/configuration_OPENTURNS_WRAPPER.pyc
+%%EFICASDIR%%/Openturns_Wrapper/configuration_OPENTURNS_WRAPPER.pyo
+%%EFICASDIR%%/Openturns_Wrapper/prefs.py
+%%EFICASDIR%%/Openturns_Wrapper/prefs.pyc
+%%EFICASDIR%%/Openturns_Wrapper/prefs.pyo
+%%EFICASDIR%%/Openturns_Wrapper/prefs_OPENTURNS_WRAPPER.py
+%%EFICASDIR%%/Openturns_Wrapper/prefs_OPENTURNS_WRAPPER.pyc
+%%EFICASDIR%%/Openturns_Wrapper/prefs_OPENTURNS_WRAPPER.pyo
+%%EFICASDIR%%/Openturns_Wrapper/qtEficas_openturns_wrapper.py
+%%EFICASDIR%%/Openturns_Wrapper/qtEficas_openturns_wrapper.pyc
+%%EFICASDIR%%/Openturns_Wrapper/qtEficas_openturns_wrapper.pyo
%%EFICASDIR%%/Tools/__init__.py
%%EFICASDIR%%/Tools/__init__.pyc
%%EFICASDIR%%/Tools/__init__.pyo
@@ -2605,6 +2669,7 @@ bin/qtEficas
%%EFICASDIR%%/UiQT4/desInclude.py
%%EFICASDIR%%/UiQT4/desInclude.pyc
%%EFICASDIR%%/UiQT4/desInclude.pyo
+%%EFICASDIR%%/UiQT4/desInclude.ui
%%EFICASDIR%%/UiQT4/desListeParam.py
%%EFICASDIR%%/UiQT4/desListeParam.pyc
%%EFICASDIR%%/UiQT4/desListeParam.pyo
@@ -2742,6 +2807,12 @@ bin/qtEficas
%%EFICASDIR%%/convert/convert_file_from_template.py
%%EFICASDIR%%/convert/convert_file_from_template.pyc
%%EFICASDIR%%/convert/convert_file_from_template.pyo
+%%EFICASDIR%%/convert/convert_openturns_study.py
+%%EFICASDIR%%/convert/convert_openturns_study.pyc
+%%EFICASDIR%%/convert/convert_openturns_study.pyo
+%%EFICASDIR%%/convert/convert_openturns_wrapper.py
+%%EFICASDIR%%/convert/convert_openturns_wrapper.pyc
+%%EFICASDIR%%/convert/convert_openturns_wrapper.pyo
%%EFICASDIR%%/convert/convert_python.py
%%EFICASDIR%%/convert/convert_python.pyc
%%EFICASDIR%%/convert/convert_python.pyo
@@ -2751,6 +2822,15 @@ bin/qtEficas
%%EFICASDIR%%/generator/Formatage.py
%%EFICASDIR%%/generator/Formatage.pyc
%%EFICASDIR%%/generator/Formatage.pyo
+%%EFICASDIR%%/generator/OpenturnsBase.py
+%%EFICASDIR%%/generator/OpenturnsBase.pyc
+%%EFICASDIR%%/generator/OpenturnsBase.pyo
+%%EFICASDIR%%/generator/OpenturnsSTD.py
+%%EFICASDIR%%/generator/OpenturnsSTD.pyc
+%%EFICASDIR%%/generator/OpenturnsSTD.pyo
+%%EFICASDIR%%/generator/OpenturnsXML.py
+%%EFICASDIR%%/generator/OpenturnsXML.pyc
+%%EFICASDIR%%/generator/OpenturnsXML.pyo
%%EFICASDIR%%/generator/__init__.py
%%EFICASDIR%%/generator/__init__.pyc
%%EFICASDIR%%/generator/__init__.pyo
@@ -2766,6 +2846,15 @@ bin/qtEficas
%%EFICASDIR%%/generator/generator_file_from_template.py
%%EFICASDIR%%/generator/generator_file_from_template.pyc
%%EFICASDIR%%/generator/generator_file_from_template.pyo
+%%EFICASDIR%%/generator/generator_openturns.py
+%%EFICASDIR%%/generator/generator_openturns.pyc
+%%EFICASDIR%%/generator/generator_openturns.pyo
+%%EFICASDIR%%/generator/generator_openturns_study.py
+%%EFICASDIR%%/generator/generator_openturns_study.pyc
+%%EFICASDIR%%/generator/generator_openturns_study.pyo
+%%EFICASDIR%%/generator/generator_openturns_wrapper.py
+%%EFICASDIR%%/generator/generator_openturns_wrapper.pyc
+%%EFICASDIR%%/generator/generator_openturns_wrapper.pyo
%%EFICASDIR%%/generator/generator_python.py
%%EFICASDIR%%/generator/generator_python.pyc
%%EFICASDIR%%/generator/generator_python.pyo
@@ -2780,6 +2869,8 @@ bin/qtEficas
@dirrm %%EFICASDIR%%/Traducteur
@dirrm %%EFICASDIR%%/Tools/foztools
@dirrm %%EFICASDIR%%/Tools
+@dirrm %%EFICASDIR%%/Openturns_Wrapper
+@dirrm %%EFICASDIR%%/Openturns_Study
@dirrm %%EFICASDIR%%/Noyau
@dirrm %%EFICASDIR%%/Misc
@dirrm %%EFICASDIR%%/InterfaceTK
@@ -2807,6 +2898,7 @@ bin/qtEficas
@dirrm %%EFICASDIR%%/Aster/Cata/cataSTA10
@dirrm %%EFICASDIR%%/Aster/Cata
@dirrm %%EFICASDIR%%/Aster
+@dirrm %%EFICASDIR%%/Aide/fichiers_OPENTURNS_STUDY
@dirrm %%EFICASDIR%%/Aide/fichiers_ASTER
@dirrm %%EFICASDIR%%/Aide
@dirrm %%EFICASDIR%%/Accas