Upgrade eficas and eficas_doc to 1.17.0-1.
This commit is contained in:
parent
055ff4e92e
commit
4fc3d7239c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251544
@ -7,9 +7,8 @@
|
||||
|
||||
PORTNAME= eficas
|
||||
DISTVERSIONPREFIX= full-src-
|
||||
DISTVERSION= 1.16.0-1
|
||||
DISTVERSION= 1.17.0-1
|
||||
DISTVERSIONSUFFIX= .noarch
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= french cad
|
||||
MASTER_SITES= http://www.code-aster.org/V2/UPLOAD/DOC/Telechargement/
|
||||
DISTNAME= aster-${DISTVERSIONPREFIX}${ASTER_DISTVERSION}${DISTVERSIONSUFFIX}
|
||||
@ -22,8 +21,8 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Pmw:${PORTSDIR}/x11-toolkits/py-Pmw \
|
||||
${PYNUMERIC} \
|
||||
${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
|
||||
|
||||
ASTER_VER= 10.0.3
|
||||
ASTER_DISTVERSION= ${ASTER_VER}-2
|
||||
ASTER_VER= 10.1.0
|
||||
ASTER_DISTVERSION= ${ASTER_VER}-4
|
||||
EXTRACT_WRKSRC= ${WRKDIR}/aster-${DISTVERSIONPREFIX}${ASTER_VER}/SRC
|
||||
|
||||
USE_PYTHON= yes
|
||||
@ -45,7 +44,8 @@ EF_LANG= ang
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_QT)
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/qt.so:${PORTSDIR}/x11-toolkits/py-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
|
||||
.endif
|
||||
|
||||
@ -54,7 +54,8 @@ ENV2PYTHON= Misc/Cyclops.py Aster/eficas_aster.py convert/Parserv5/Translate.py
|
||||
Aster/qtEficas_aster.py generator/OpenturnsSTD.py \
|
||||
generator/generator_openturns_study.py generator/generator_openturns_wrapper.py
|
||||
FIXSHTK= bureau.py cataediteur.py panels.py
|
||||
FIXSHQT= qtCommun.py
|
||||
FIXSHQT4= typeNode.py
|
||||
FIXBASH= cataSTA9/Macro/macr_ecre_calc_ops.py cataSTA10/Macro/macr_ecre_calc_ops.py
|
||||
|
||||
post-extract:
|
||||
(cd ${WRKDIR} && \
|
||||
@ -67,7 +68,7 @@ pre-configure:
|
||||
${REINPLACE_CMD} -e "s|^#!*./usr/bin/env python|#!${PYTHON_CMD}|" \
|
||||
-e "s|^#!*./bin/env python|#!${PYTHON_CMD}|" ${WRKSRC}/${FILE}
|
||||
.endfor
|
||||
.for tk in TK QT
|
||||
.for tk in TK QT4
|
||||
. for FILE in ${FIXSH${tk}}
|
||||
${REINPLACE_CMD} -e "s|/usr/bin/sh|/bin/sh|" ${WRKSRC}/Interface${tk}/${FILE}
|
||||
. endfor
|
||||
@ -77,11 +78,14 @@ pre-configure:
|
||||
${REINPLACE_CMD} -e "s#os.path.join(rep_cata,'..','Doc')#\"${DOCSDIR}\"#" \
|
||||
-e "s#os.path.join(prefs.REPINI,'../Pmw')#'${PYTHON_SITELIBDIR}/Pmw'#" \
|
||||
${WRKSRC}/Aster/editeur.ini
|
||||
.for cata in ${FIXBASH}
|
||||
${REINPLACE_CMD} -e "s|'/bin/bash'|'${LOCALBASE}/bin/bash'|" \
|
||||
${WRKSRC}/Aster/Cata/${cata}
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${EFICASDIR}
|
||||
${CP} -R ${WRKSRC}/* ${EFICASDIR}
|
||||
${RMDIR} ${EFICASDIR}/Aster/Doc
|
||||
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${EFICASDIR}
|
||||
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${EFICASDIR}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/eficas ${PREFIX}/bin
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (aster-full-src-10.0.3-2.noarch.tar.gz) = d2609b01a26e1166a58ebcb5a5b46a32
|
||||
SHA256 (aster-full-src-10.0.3-2.noarch.tar.gz) = a30a0d7c46168b1c7cbff22a290527753337d89883ec53afff6a2ca8a32c49a3
|
||||
SIZE (aster-full-src-10.0.3-2.noarch.tar.gz) = 149739925
|
||||
MD5 (aster-full-src-10.1.0-4.noarch.tar.gz) = 49fe55a0a46491124c16965a2db59c5e
|
||||
SHA256 (aster-full-src-10.1.0-4.noarch.tar.gz) = c72f82abadb627925cbc5cbf9909f969e4c60f29325a62d78664eb03a860468a
|
||||
SIZE (aster-full-src-10.1.0-4.noarch.tar.gz) = 163690307
|
||||
|
@ -1,2 +1,9 @@
|
||||
Warning: if py26-Pmw and py26-tkinter are built against different
|
||||
versions of Tk, eficas won't run!
|
||||
|
||||
When upgrading, don't forget to remove the line
|
||||
catalogues = (('ASTER', ...
|
||||
from your $HOME/.Eficas_install/editeur.ini .
|
||||
|
||||
The documentation is available as a separate package.
|
||||
Please see the port french/eficas_doc.
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -7,11 +7,8 @@
|
||||
|
||||
PORTNAME= eficas_doc
|
||||
DISTVERSIONPREFIX= full-src-
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 1.16.0-1
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 1.17.0-1
|
||||
DISTVERSIONSUFFIX= .noarch
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= french cad
|
||||
MASTER_SITES= http://www.code-aster.org/V2/UPLOAD/DOC/Telechargement/
|
||||
DISTNAME= aster-${DISTVERSIONPREFIX}${ASTER_DISTVERSION}${DISTVERSIONSUFFIX}
|
||||
@ -21,8 +18,8 @@ COMMENT= ASter Command FIle Editor - doc files
|
||||
|
||||
RUN_DEPENDS= eficas:${PORTSDIR}/french/eficas
|
||||
|
||||
ASTER_VER= 10.0.3
|
||||
ASTER_DISTVERSION= ${ASTER_VER}-2
|
||||
ASTER_VER= 10.1.0
|
||||
ASTER_DISTVERSION= ${ASTER_VER}-4
|
||||
EXTRACT_WRKSRC= ${WRKDIR}/aster-${DISTVERSIONPREFIX}${ASTER_VER}/SRC
|
||||
|
||||
NO_BUILD= yes
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (aster-full-src-10.0.3-2.noarch.tar.gz) = d2609b01a26e1166a58ebcb5a5b46a32
|
||||
SHA256 (aster-full-src-10.0.3-2.noarch.tar.gz) = a30a0d7c46168b1c7cbff22a290527753337d89883ec53afff6a2ca8a32c49a3
|
||||
SIZE (aster-full-src-10.0.3-2.noarch.tar.gz) = 149739925
|
||||
MD5 (aster-full-src-10.1.0-4.noarch.tar.gz) = 49fe55a0a46491124c16965a2db59c5e
|
||||
SHA256 (aster-full-src-10.1.0-4.noarch.tar.gz) = c72f82abadb627925cbc5cbf9909f969e4c60f29325a62d78664eb03a860468a
|
||||
SIZE (aster-full-src-10.1.0-4.noarch.tar.gz) = 163690307
|
||||
|
@ -19,6 +19,9 @@ case $2 in
|
||||
if [ -f ${CATADIR}/cataSTA9c_clefs_docu.orig ]; then
|
||||
mv ${CATADIR}/cataSTA9c_clefs_docu.orig ${CATADIR}/cataSTA9c_clefs_docu
|
||||
fi
|
||||
if [ -f ${CATADIR}/cataSTA10c_clefs_docu.orig ]; then
|
||||
mv ${CATADIR}/cataSTA10c_clefs_docu.orig ${CATADIR}/cataSTA10c_clefs_docu
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname { DEINSTALL | POST-DEINSTALL }" >&2
|
||||
|
@ -17,6 +17,9 @@ case $2 in
|
||||
if [ -f ${CATADIR}/cataSTA9c_clefs_docu ]; then
|
||||
mv ${CATADIR}/cataSTA9c_clefs_docu ${CATADIR}/cataSTA9c_clefs_docu.orig
|
||||
fi
|
||||
if [ -f ${CATADIR}/cataSTA10c_clefs_docu ]; then
|
||||
mv ${CATADIR}/cataSTA10c_clefs_docu ${CATADIR}/cataSTA10c_clefs_docu.orig
|
||||
fi
|
||||
;;
|
||||
POST-INSTALL)
|
||||
;;
|
||||
|
@ -1,3 +1,17 @@
|
||||
%%DOCSDIR%%/v10.1/man_u/u4/u4.11.03.pdf
|
||||
%%DOCSDIR%%/v10.1/man_u/u4/u4.33.03.pdf
|
||||
%%DOCSDIR%%/v10.1/man_u/u4/u4.42.01.pdf
|
||||
%%DOCSDIR%%/v10.1/man_u/u4/u4.43.01.pdf
|
||||
%%DOCSDIR%%/v10.1/man_u/u4/u4.44.01.pdf
|
||||
%%DOCSDIR%%/v10.1/man_u/u4/u4.44.11.pdf
|
||||
%%DOCSDIR%%/v10.1/man_u/u4/u4.51.03.pdf
|
||||
%%DOCSDIR%%/v10.1/man_u/u4/u4.53.01.pdf
|
||||
%%DOCSDIR%%/v10.1/man_u/u4/u4.81.22.pdf
|
||||
%%DOCSDIR%%/v10.1/man_u/u4/u4.82.08.pdf
|
||||
%%DOCSDIR%%/v10.1/man_u/u4/u4.82.11.pdf
|
||||
%%DOCSDIR%%/v10.1/man_u/u4/u4.82.21.pdf
|
||||
%%DOCSDIR%%/v10.1/man_u/u4/u4.92.02.pdf
|
||||
%%DOCSDIR%%/v10.1/man_u/u7/u7.04.11.pdf
|
||||
%%DOCSDIR%%/v9.5/man_u/u4/u4.02.01.pdf
|
||||
%%DOCSDIR%%/v9.5/man_u/u4/u4.11.01.pdf
|
||||
%%DOCSDIR%%/v9.5/man_u/u4/u4.11.02.pdf
|
||||
@ -209,7 +223,6 @@
|
||||
%%DOCSDIR%%/v9.5/man_u/u7/u7.03.11.pdf
|
||||
%%DOCSDIR%%/v9.5/man_u/u7/u7.03.31.pdf
|
||||
%%DOCSDIR%%/v9.5/man_u/u7/u7.04.11.pdf
|
||||
%%DOCSDIR%%/v9.5/man_u/u7/u7.04.32.pdf
|
||||
%%DOCSDIR%%/v9.5/man_u/u7/u7.04.33.pdf
|
||||
%%DOCSDIR%%/v9.5/man_u/u7/u7.04.41.pdf
|
||||
%%DOCSDIR%%/v9.5/man_u/u7/u7.04.51.pdf
|
||||
@ -220,14 +233,21 @@
|
||||
%%DOCSDIR%%/v9.5/man_u/u7/u7.05.32.pdf
|
||||
@exec [ -f %D/%%EFICASDIR%%/Aster/Cata/cataSTA8c_clefs_docu ] && /bin/mv %D/%%EFICASDIR%%/Aster/Cata/cataSTA8c_clefs_docu %D/%%EFICASDIR%%/Aster/Cata/cataSTA8c_clefs_docu.orig 2>/dev/null || /usr/bin/true
|
||||
@exec [ -f %D/%%EFICASDIR%%/Aster/Cata/cataSTA9c_clefs_docu ] && /bin/mv %D/%%EFICASDIR%%/Aster/Cata/cataSTA9c_clefs_docu %D/%%EFICASDIR%%/Aster/Cata/cataSTA9c_clefs_docu.orig 2>/dev/null || /usr/bin/true
|
||||
@exec [ -f %D/%%EFICASDIR%%/Aster/Cata/cataSTA10c_clefs_docu ] && /bin/mv %D/%%EFICASDIR%%/Aster/Cata/cataSTA10c_clefs_docu %D/%%EFICASDIR%%/Aster/Cata/cataSTA10c_clefs_docu.orig 2>/dev/null || /usr/bin/true
|
||||
%%EFICASDIR%%/Aster/Cata/cataSTA8c_clefs_docu
|
||||
%%EFICASDIR%%/Aster/Cata/cataSTA9c_clefs_docu
|
||||
@unexec [ -f %D/%%EFICASDIR%%/Aster/Cata/cataSTA9c_clefs_docu.orig ] && /bin/mv %D/%%EFICASDIR%%/Aster/Cata/cataSTA8c_clefs_docu.orig %D/%%EFICASDIR%%/Aster/Cata/cataSTA8c_clefs_docu 2>/dev/null || /usr/bin/true
|
||||
%%EFICASDIR%%/Aster/Cata/cataSTA10c_clefs_docu
|
||||
@unexec [ -f %D/%%EFICASDIR%%/Aster/Cata/cataSTA8c_clefs_docu.orig ] && /bin/mv %D/%%EFICASDIR%%/Aster/Cata/cataSTA8c_clefs_docu.orig %D/%%EFICASDIR%%/Aster/Cata/cataSTA8c_clefs_docu 2>/dev/null || /usr/bin/true
|
||||
@unexec [ -f %D/%%EFICASDIR%%/Aster/Cata/cataSTA9c_clefs_docu.orig ] && /bin/mv %D/%%EFICASDIR%%/Aster/Cata/cataSTA9c_clefs_docu.orig %D/%%EFICASDIR%%/Aster/Cata/cataSTA9c_clefs_docu 2>/dev/null || /usr/bin/true
|
||||
@unexec [ -f %D/%%EFICASDIR%%/Aster/Cata/cataSTA10c_clefs_docu.orig ] && /bin/mv %D/%%EFICASDIR%%/Aster/Cata/cataSTA10c_clefs_docu.orig %D/%%EFICASDIR%%/Aster/Cata/cataSTA10c_clefs_docu 2>/dev/null || /usr/bin/true
|
||||
@dirrm %%DOCSDIR%%/v9.5/man_u/u7
|
||||
@dirrm %%DOCSDIR%%/v9.5/man_u/u4
|
||||
@dirrm %%DOCSDIR%%/v9.5/man_u
|
||||
@dirrm %%DOCSDIR%%/v9.5
|
||||
@dirrm %%DOCSDIR%%/v10.1/man_u/u7
|
||||
@dirrm %%DOCSDIR%%/v10.1/man_u/u4
|
||||
@dirrm %%DOCSDIR%%/v10.1/man_u
|
||||
@dirrm %%DOCSDIR%%/v10.1
|
||||
@dirrm %%DOCSDIR%%
|
||||
@dirrmtry %%EFICASDIR%%/Aster/Cata
|
||||
@dirrmtry %%EFICASDIR%%/Aster
|
||||
|
Loading…
Reference in New Issue
Block a user