1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Upgrade Code_Aster to 11.6.0-1.

- Fix Homard.
This commit is contained in:
Thierry Thomas 2014-08-17 19:51:45 +00:00
parent e9714da8d4
commit f732c13c5e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365235
11 changed files with 2346 additions and 2285 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= astk
DISTVERSION= 1.13.3-2
PORTREVISION= 1
DISTVERSION= 1.13.4-1
CATEGORIES= cad
.if !defined(CLIENT_SEUL)
PKGNAMESUFFIX= -serveur
@ -32,8 +31,7 @@ LICENSE= GPLv2
RUN_DEPENDS+= ${SHELL_INSTALL_ASTER}:${PORTSDIR}/shells/${SHIADEP}
.if !defined(CLIENT_SEUL)
USE_PYTHON= yes
USES+= tk:build gettext
USES+= tk:build gettext python
.else
USES+= tk
.endif
@ -50,7 +48,7 @@ inst_dir= ${PREFIX}/${LINSTDIR}
aster_dir= ${LOCALBASE}/aster/${vaster}
S_SCRIPTS= bin/as_run bin/parallel_cp asrun/installation.py \
share/codeaster/asrun/data/mpirun_template \
bin/auto_update.cron
etc/profile.csh
S_PYLIBS= share/codeaster/asrun/examples/alamain.py \
unittest/datafiles/config_serveurs unittest/010_misc.py \
unittest/015_package.py unittest/run_test.py

View File

@ -430,7 +430,6 @@
%%SERV%%%%ASTKDIR%%/asrun/utils.pyc
%%SERV%%%%ASTKDIR%%/asrun/utils.pyo
%%SERV%%%%ASTKDIR%%/bin/as_run
%%SERV%%%%ASTKDIR%%/bin/auto_update.cron
%%SERV%%%%ASTKDIR%%/bin/parallel_cp
%%SERV%%%%ASTKDIR%%/etc/.mysql_connect_REX
%%SERV%%%%ASTKDIR%%/etc/asrun
@ -443,6 +442,9 @@
%%SERV%%%%ASTKDIR%%/etc/plugins/aster4_calcul.py
%%SERV%%%%ASTKDIR%%/etc/plugins/aster4_calcul.pyc
%%SERV%%%%ASTKDIR%%/etc/plugins/aster4_calcul.pyo
%%SERV%%%%ASTKDIR%%/etc/plugins/aster5.py
%%SERV%%%%ASTKDIR%%/etc/plugins/aster5.pyc
%%SERV%%%%ASTKDIR%%/etc/plugins/aster5.pyo
%%SERV%%%%ASTKDIR%%/etc/plugins/ivanoe.py
%%SERV%%%%ASTKDIR%%/etc/plugins/ivanoe.pyc
%%SERV%%%%ASTKDIR%%/etc/plugins/ivanoe.pyo
@ -571,6 +573,9 @@
%%SERV%%%%ETCDIR%%/plugins/aster4_calcul.py
%%SERV%%%%ETCDIR%%/plugins/aster4_calcul.pyc
%%SERV%%%%ETCDIR%%/plugins/aster4_calcul.pyo
%%SERV%%%%ETCDIR%%/plugins/aster5.py
%%SERV%%%%ETCDIR%%/plugins/aster5.pyc
%%SERV%%%%ETCDIR%%/plugins/aster5.pyo
%%SERV%%%%ETCDIR%%/plugins/ivanoe.py
%%SERV%%%%ETCDIR%%/plugins/ivanoe.pyc
%%SERV%%%%ETCDIR%%/plugins/ivanoe.pyo

View File

@ -44,8 +44,7 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Gnuplot:${PORTSDIR}/math/py-gnuplot \
${SHELL_INSTALL_ASTER}:${PORTSDIR}/shells/${SHIADEP} \
${LOCALBASE}/aster/ASTK/ASTK_SERV:${PORTSDIR}/cad/astk-serveur
USES= bison fortran tk
USE_PYTHON= 2 # >2.5 and <3.0
USES= bison fortran tk python:2
HAS_CONFIGURE= yes
MAKE_ENV= INCLUDES="${LOCALBASE}/include ${LOCALBASE}/include/metis"
REINPLACE_ARGS= -i ""
@ -173,7 +172,8 @@ WITH_ED= vi
INST_DAT= elements
INST_SH= as_run parallel_cp
PFX2FIX= bin/as_run ${VE}/include/aster/asterc_config.h ${VE}/config.txt \
${VE}/include/aster/asterf_config.h ${VE}/profile.sh
${VE}/include/aster/asterf_config.h ${VE}/profile.sh \
${VE}/lib/aster/aster_pkginfo.py
inst_dir= ${PREFIX}/${PORTNAME}
tools_dir= ${PREFIX}/${PORTNAME}/outils
tools= kmetis onmetis pmetis gnuplot

View File

@ -5,14 +5,12 @@
DISTVERSIONPREFIX= full-src-
DISTVERSIONSUFFIX= .noarch
#MASTER_SITES= http://www.code-aster.org/FICHIERS/
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= thierry
MASTER_SITES= http://www.code-aster.org/FICHIERS/
DISTNAME= aster-${DISTVERSIONPREFIX}${ASTER_DISTVERSION}${DISTVERSIONSUFFIX}
DISTINFO_FILE= ${.CURDIR}/../../french/aster/distinfo
ASTER_VER= 11.5.0
ASTER_DISTVERSION= ${ASTER_VER}-4
ASTER_VER= 11.6.0
ASTER_DISTVERSION= ${ASTER_VER}-1
EXTRACT_WRKSRC= ${WRKDIR}/aster-${DISTVERSIONPREFIX}${ASTER_VER}/SRC
.if ${PORTNAME} == metis-edf

View File

@ -1,2 +1,2 @@
SHA256 (aster-full-src-11.5.0-4.noarch.tar.gz) = de95ad0727f7378216d4544bca5df7e4571b4e92183616564a70f2a593543410
SIZE (aster-full-src-11.5.0-4.noarch.tar.gz) = 193357107
SHA256 (aster-full-src-11.6.0-1.noarch.tar.gz) = c6a18eaf382c2ba407388c6d33d5e09cca34ac9357bb2f59b1034a2c01f5d261
SIZE (aster-full-src-11.6.0-1.noarch.tar.gz) = 185592825

View File

@ -1,11 +1,11 @@
--- check_compilers.py.orig 2014-03-05 09:41:19.000000000 +0100
+++ check_compilers.py 2014-03-17 18:52:14.000000000 +0100
@@ -413,8 +413,7 @@
--- check_compilers.py.orig 2014-07-07 21:31:29.000000000 +0200
+++ check_compilers.py 2014-08-17 17:54:05.000000000 +0200
@@ -420,8 +420,7 @@
def after_compilers(self):
"""Define libs to search."""
# prefer always libstdc++.so to the static one
- self.libs.extend([('math', 'lapack'), ('math', 'blas'),
- ('cxx', ['libstdc++.so', 'libstdc++.a']),])
- ('cxx', ['libstdc++' + self._ext_shared, 'libstdc++' + self._ext_static]),])
+ self.libs.extend([('math', 'lapack'), ('math', 'blas'),])
def add_on(self):

File diff suppressed because it is too large Load Diff

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= eficas
DISTVERSION= 7.3.0-1
PORTREVISION= 1
DISTVERSION= 7.4.0-1
CATEGORIES= french cad
MAINTAINER= thierry@FreeBSD.org
@ -16,9 +15,8 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Pmw:${PORTSDIR}/x11-toolkits/py-Pmw \
bash:${PORTSDIR}/shells/bash \
${PYNUMPY}
USES= shebangfix
USES= shebangfix python
USE_GCC= yes # To be removed - Needed as a work-around for numpy, see PR ports/188114
USE_PYTHON= yes
SHEBANG_FILES= eficas eficasQt
REINPLACE_ARGS= -i ""
NO_BUILD= yes

View File

@ -1613,6 +1613,9 @@
%%EFICASDIR%%/Editeur/basestyle.py
%%EFICASDIR%%/Editeur/basestyle.pyc
%%EFICASDIR%%/Editeur/basestyle.pyo
%%EFICASDIR%%/Editeur/cata2Xml.py
%%EFICASDIR%%/Editeur/cata2Xml.pyc
%%EFICASDIR%%/Editeur/cata2Xml.pyo
%%EFICASDIR%%/Editeur/catadesc.py
%%EFICASDIR%%/Editeur/catadesc.pyc
%%EFICASDIR%%/Editeur/catadesc.pyo
@ -1929,6 +1932,9 @@
%%EFICASDIR%%/InterfaceQT4/getVersion.py
%%EFICASDIR%%/InterfaceQT4/getVersion.pyc
%%EFICASDIR%%/InterfaceQT4/getVersion.pyo
%%EFICASDIR%%/InterfaceQT4/monBoutonSalome.py
%%EFICASDIR%%/InterfaceQT4/monBoutonSalome.pyc
%%EFICASDIR%%/InterfaceQT4/monBoutonSalome.pyo
%%EFICASDIR%%/InterfaceQT4/monChoixCata.py
%%EFICASDIR%%/InterfaceQT4/monChoixCata.pyc
%%EFICASDIR%%/InterfaceQT4/monChoixCata.pyo
@ -2301,6 +2307,9 @@
%%EFICASDIR%%/UiQT4/aideQT.py
%%EFICASDIR%%/UiQT4/aideQT.pyc
%%EFICASDIR%%/UiQT4/aideQT.pyo
%%EFICASDIR%%/UiQT4/desBoutonSalome.py
%%EFICASDIR%%/UiQT4/desBoutonSalome.pyc
%%EFICASDIR%%/UiQT4/desBoutonSalome.pyo
%%EFICASDIR%%/UiQT4/desChoixCata.py
%%EFICASDIR%%/UiQT4/desChoixCata.pyc
%%EFICASDIR%%/UiQT4/desChoixCata.pyo
@ -2453,6 +2462,24 @@
%%EFICASDIR%%/Validation/__init__.py
%%EFICASDIR%%/Validation/__init__.pyc
%%EFICASDIR%%/Validation/__init__.pyo
%%EFICASDIR%%/ZCracks/configuration_ZCRACKS.py
%%EFICASDIR%%/ZCracks/configuration_ZCRACKS.pyc
%%EFICASDIR%%/ZCracks/configuration_ZCRACKS.pyo
%%EFICASDIR%%/ZCracks/monCode_Cata.py
%%EFICASDIR%%/ZCracks/monCode_Cata.pyc
%%EFICASDIR%%/ZCracks/monCode_Cata.pyo
%%EFICASDIR%%/ZCracks/prefs.py
%%EFICASDIR%%/ZCracks/prefs.pyc
%%EFICASDIR%%/ZCracks/prefs.pyo
%%EFICASDIR%%/ZCracks/prefs_ZCRACKS.py
%%EFICASDIR%%/ZCracks/prefs_ZCRACKS.pyc
%%EFICASDIR%%/ZCracks/prefs_ZCRACKS.pyo
%%EFICASDIR%%/ZCracks/properties.py
%%EFICASDIR%%/ZCracks/properties.pyc
%%EFICASDIR%%/ZCracks/properties.pyo
%%EFICASDIR%%/ZCracks/qtEficas_ZCracks.py
%%EFICASDIR%%/ZCracks/qtEficas_ZCracks.pyc
%%EFICASDIR%%/ZCracks/qtEficas_ZCracks.pyo
%%EFICASDIR%%/convert/Parserv5/README
%%EFICASDIR%%/convert/Parserv5/Translate.py
%%EFICASDIR%%/convert/Parserv5/Translate.pyc
@ -2514,12 +2541,18 @@
%%EFICASDIR%%/generator/generator_CARMEL3D_frequentiel.py
%%EFICASDIR%%/generator/generator_CARMEL3D_frequentiel.pyc
%%EFICASDIR%%/generator/generator_CARMEL3D_frequentiel.pyo
%%EFICASDIR%%/generator/generator_CARMELCND.py
%%EFICASDIR%%/generator/generator_CARMELCND.pyc
%%EFICASDIR%%/generator/generator_CARMELCND.pyo
%%EFICASDIR%%/generator/generator_GroupMA.py
%%EFICASDIR%%/generator/generator_GroupMA.pyc
%%EFICASDIR%%/generator/generator_GroupMA.pyo
%%EFICASDIR%%/generator/generator_SEP.py
%%EFICASDIR%%/generator/generator_SEP.pyc
%%EFICASDIR%%/generator/generator_SEP.pyo
%%EFICASDIR%%/generator/generator_ZCracks.py
%%EFICASDIR%%/generator/generator_ZCracks.pyc
%%EFICASDIR%%/generator/generator_ZCracks.pyo
%%EFICASDIR%%/generator/generator_aplat.py
%%EFICASDIR%%/generator/generator_aplat.pyc
%%EFICASDIR%%/generator/generator_aplat.pyo
@ -2552,6 +2585,7 @@ bin/eficasQt
@dirrm %%EFICASDIR%%/generator
@dirrm %%EFICASDIR%%/convert/Parserv5
@dirrm %%EFICASDIR%%/convert
@dirrm %%EFICASDIR%%/ZCracks
@dirrm %%EFICASDIR%%/Validation
@dirrm %%EFICASDIR%%/UiQT4
@dirrm %%EFICASDIR%%/Traducteur

View File

@ -3,6 +3,7 @@
PORTNAME= homard
DISTVERSION= 10.6-3
PORTREVISION= 1
CATEGORIES= french cad linux
MAINTAINER= thierry@FreeBSD.org
@ -18,9 +19,8 @@ RESTRICTED= The free downloading of HOMARD software is only allowed for coupling
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX= yes
USE_PYTHON= yes
USES= python
REINPLACE_ARGS= -i ""
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
@ -40,26 +40,18 @@ PLIST_SUB= HOMARDDIR=${LHOMARDDIR} AHPY=${LHOMARDDIR}/${AHPY} \
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
BITS=
.else
BITS= 64
.endif
pre-configure:
.for sc in ${HOMARDSCRIPT}
${REINPLACE_CMD} -e "s|%%HOMARDDIR%%|${PREFIX}/apps/${OPSYS}|" \
${WRKSRC}/${sc}
.endfor
post-build:
${BRANDELF} -t Linux ${WRKSRC}/Linux${BITS}/${HOMARDPG}
do-build:
${BRANDELF} -t Linux ${WRKSRC}/Linux/${HOMARDPG}
do-install:
${MKDIR} ${STAGEDIR}${HOMARDDIR} ${STAGEDIR}${PREFIX}/apps/${OPSYS}
${INSTALL_PROGRAM} ${WRKSRC}/Linux${BITS}/${HOMARDPG} \
${INSTALL_PROGRAM} ${WRKSRC}/Linux/${HOMARDPG} \
${STAGEDIR}${PREFIX}/apps/${OPSYS}
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}_base \
${STAGEDIR}${HOMARDDIR}/${PORTNAME}
@ -76,8 +68,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/Linux64/CAS_TESTS && ${COPYTREE_SHARE} . \
(cd ${WRKSRC}/Linux/CAS_TESTS && ${COPYTREE_SHARE} . \
${STAGEDIR}${EXAMPLESDIR})
.include "${.CURDIR}/../../french/aster/bsd.aster.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -3,6 +3,7 @@
PORTNAME= metis-edf
DISTVERSION= 4.0.3-1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= math