Upgrade to 1.10.4.
This commit is contained in:
parent
66a0c2cfc4
commit
bb70d9af91
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314690
4 changed files with 40 additions and 31 deletions
|
@ -1,12 +1,8 @@
|
||||||
# New ports collection makefile for: ASTK
|
# Created by: thierry@pompo.net
|
||||||
# Date created: Thu Jul 09 2003
|
|
||||||
# Whom: thierry@pompo.net
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= astk
|
PORTNAME= astk
|
||||||
PORTVERSION= 1.10.4
|
PORTVERSION= 1.11.0
|
||||||
CATEGORIES= cad
|
CATEGORIES= cad
|
||||||
.if !defined(CLIENT_SEUL)
|
.if !defined(CLIENT_SEUL)
|
||||||
PKGNAMESUFFIX= -serveur
|
PKGNAMESUFFIX= -serveur
|
||||||
|
@ -36,6 +32,9 @@ LICENSE= GPLv2
|
||||||
|
|
||||||
.if !defined(CLIENT_SEUL)
|
.if !defined(CLIENT_SEUL)
|
||||||
USE_PYTHON= yes
|
USE_PYTHON= yes
|
||||||
|
USE_TK_BUILD= yes
|
||||||
|
.else
|
||||||
|
USE_TK= yes
|
||||||
.endif
|
.endif
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
REINPLACE_ARGS= -i ""
|
REINPLACE_ARGS= -i ""
|
||||||
|
@ -47,7 +46,8 @@ LINSTDIR= aster/ASTK
|
||||||
inst_dir= ${PREFIX}/${LINSTDIR}
|
inst_dir= ${PREFIX}/${LINSTDIR}
|
||||||
aster_dir= ${LOCALBASE}/aster/${vaster}
|
aster_dir= ${LOCALBASE}/aster/${vaster}
|
||||||
S_SCRIPTS= bin/as_run bin/parallel_cp asrun/installation.py \
|
S_SCRIPTS= bin/as_run bin/parallel_cp asrun/installation.py \
|
||||||
share/codeaster/asrun/data/mpirun_template
|
share/codeaster/asrun/data/mpirun_template \
|
||||||
|
bin/auto_update.cron
|
||||||
S_PYLIBS= share/codeaster/asrun/examples/alamain.py \
|
S_PYLIBS= share/codeaster/asrun/examples/alamain.py \
|
||||||
unittest/datafiles/config_serveurs unittest/010_misc.py \
|
unittest/datafiles/config_serveurs unittest/010_misc.py \
|
||||||
unittest/015_package.py unittest/run_test.py
|
unittest/015_package.py unittest/run_test.py
|
||||||
|
@ -83,10 +83,9 @@ RUN_DEPENDS+= qsub:${PORTSDIR}/sysutils/torque
|
||||||
. endif
|
. endif
|
||||||
.else
|
.else
|
||||||
RUN_DEPENDS+= xterm:${PORTSDIR}/x11/xterm \
|
RUN_DEPENDS+= xterm:${PORTSDIR}/x11/xterm \
|
||||||
wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER} \
|
${LOCALBASE}/lib/${TKPNG}/pkgIndex.tcl:${PORTSDIR}/graphics/tkpng
|
||||||
${LOCALBASE}/lib/${TKPKG}/pkgIndex.tcl:${PORTSDIR}/graphics/tkpng
|
TKPNG_VER= 0.9
|
||||||
TKPKG_VER= 0.9
|
TKPNG= tkpng${TKPNG_VER}
|
||||||
TKPKG= tkpng${TKPKG_VER}
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/ASTK_CLIENT
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/ASTK_CLIENT
|
||||||
PATCHDIR= ${MASTERDIR}/files.client
|
PATCHDIR= ${MASTERDIR}/files.client
|
||||||
PLIST_SUB= ASTKDIR=${LINSTDIR}/ASTK_CLIENT SERV="@comment " CLIENT="" vaster="" \
|
PLIST_SUB= ASTKDIR=${LINSTDIR}/ASTK_CLIENT SERV="@comment " CLIENT="" vaster="" \
|
||||||
|
@ -97,9 +96,6 @@ FILESDIR= ${PATCHDIR}
|
||||||
|
|
||||||
SLAVEDIRS= cad/astk-client
|
SLAVEDIRS= cad/astk-client
|
||||||
|
|
||||||
TK_VER?= 8.5
|
|
||||||
TCL_VER?= ${TK_VER}
|
|
||||||
SHORT_TK_VER= ${TK_VER:S/.//}
|
|
||||||
BWidget_VER= 1.7.0
|
BWidget_VER= 1.7.0
|
||||||
|
|
||||||
vaster= STA${ASTER_VER:R}
|
vaster= STA${ASTER_VER:R}
|
||||||
|
@ -207,7 +203,7 @@ do-configure:
|
||||||
-e 's|?PYTHON_EXE?|${PYTHON_CMD}|' \
|
-e 's|?PYTHON_EXE?|${PYTHON_CMD}|' \
|
||||||
-e 's|?HOME_MED?|${LOCALBASE}|' \
|
-e 's|?HOME_MED?|${LOCALBASE}|' \
|
||||||
-e 's|?HOME_HDF?|${LOCALBASE}|' \
|
-e 's|?HOME_HDF?|${LOCALBASE}|' \
|
||||||
-e "s|?WISH_EXE?|wish${TK_VER}|" \
|
-e "s|?WISH_EXE?|${WISH}|" \
|
||||||
${WRKSRC}/etc/profile.${sh}
|
${WRKSRC}/etc/profile.${sh}
|
||||||
. endfor
|
. endfor
|
||||||
. for libs in ${S_PYLIBS}
|
. for libs in ${S_PYLIBS}
|
||||||
|
@ -215,6 +211,10 @@ do-configure:
|
||||||
-e "s|/opt/aster/NEW10|${aster_dir}|" \
|
-e "s|/opt/aster/NEW10|${aster_dir}|" \
|
||||||
-e "s|/opt/aster/ASTK|${inst_dir}|" \
|
-e "s|/opt/aster/ASTK|${inst_dir}|" \
|
||||||
-e "s|/opt/aster/etc|${LOCALBASE}/aster/etc|" \
|
-e "s|/opt/aster/etc|${LOCALBASE}/aster/etc|" \
|
||||||
|
-e "s|/usr/bin/editor|${WITH_ED}|" \
|
||||||
|
-e "s|/usr/bin/nedit2|${WITH_ED}|" \
|
||||||
|
-e "s|/usr/bin/nedit|${WITH_ED}|" \
|
||||||
|
-e "s|/usr/bin/xterm|${LOCALBASE}/bin/xterm|" \
|
||||||
-e "s|/opt/aster|${aster_dir}|" ${WRKSRC}/${libs}
|
-e "s|/opt/aster|${aster_dir}|" ${WRKSRC}/${libs}
|
||||||
. endfor
|
. endfor
|
||||||
. if defined(WITH_PBS)
|
. if defined(WITH_PBS)
|
||||||
|
@ -241,7 +241,7 @@ do-configure:
|
||||||
. for scripts in ${C_SCRIPTS}
|
. for scripts in ${C_SCRIPTS}
|
||||||
${REINPLACE_CMD} -e "s|?SHELL_EXECUTION?|${SHELL_INSTALL_ASTER}|" \
|
${REINPLACE_CMD} -e "s|?SHELL_EXECUTION?|${SHELL_INSTALL_ASTER}|" \
|
||||||
-e "s|?ASTER_ROOT?|${PREFIX}/aster|" \
|
-e "s|?ASTER_ROOT?|${PREFIX}/aster|" \
|
||||||
-e "s|wish|wish${TK_VER}|;s|%%inst_dir%%|${inst_dir}|" \
|
-e "s|wish|${WISH}|;s|%%inst_dir%%|${inst_dir}|" \
|
||||||
${WRKSRC}/${scripts}
|
${WRKSRC}/${scripts}
|
||||||
. endfor
|
. endfor
|
||||||
${REINPLACE_CMD} -e "s|?vaster?|${vaster}|" \
|
${REINPLACE_CMD} -e "s|?vaster?|${vaster}|" \
|
||||||
|
@ -274,6 +274,8 @@ do-install:
|
||||||
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${inst_dir}/ASTK_SERV/${rep}
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${inst_dir}/ASTK_SERV/${rep}
|
||||||
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${inst_dir}/ASTK_SERV/${rep}
|
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${inst_dir}/ASTK_SERV/${rep}
|
||||||
. endfor
|
. endfor
|
||||||
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${ETCDIR}/plugins
|
||||||
|
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${ETCDIR}/plugins
|
||||||
. if defined(WITH_MPI)
|
. if defined(WITH_MPI)
|
||||||
${ECHO_CMD} "localhost" > ${PREFIX}/aster/aster-mpihosts
|
${ECHO_CMD} "localhost" > ${PREFIX}/aster/aster-mpihosts
|
||||||
. endif
|
. endif
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
dist : on
|
dist : on
|
||||||
#
|
#
|
||||||
+nom : qtEficas
|
+nom : qtEficas
|
||||||
+cmde : ?TOOLS_DIR?/qtEficas (@F)
|
+cmde : ?TOOLS_DIR?/eficasQt (@F)
|
||||||
+ext : comm com0 com1 com2
|
+ext : comm com0 com1 com2
|
||||||
+dist : on
|
+dist : on
|
||||||
+#
|
+#
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- ./asrun/config.py.orig 2010-07-07 18:18:08.000000000 +0200
|
--- asrun/config.py.orig 2013-01-08 09:55:52.000000000 +0100
|
||||||
+++ ./asrun/config.py 2010-08-11 19:03:21.000000000 +0200
|
+++ asrun/config.py 2013-03-17 17:38:29.000000000 +0100
|
||||||
@@ -66,8 +66,8 @@
|
@@ -44,8 +44,8 @@
|
||||||
'SRCHIST' : ['histor'],
|
'SRCHIST' : ['histor'],
|
||||||
# name of "binaries" (as results of a make)
|
# name of "binaries" (as results of a make)
|
||||||
'MAKE' : ['debug nodebug'],
|
'MAKE' : ['debug nodebug'],
|
||||||
|
|
|
@ -289,6 +289,9 @@
|
||||||
%%SERV%%%%ASTKDIR%%/asrun/contrib/__init__.py
|
%%SERV%%%%ASTKDIR%%/asrun/contrib/__init__.py
|
||||||
%%SERV%%%%ASTKDIR%%/asrun/contrib/__init__.pyc
|
%%SERV%%%%ASTKDIR%%/asrun/contrib/__init__.pyc
|
||||||
%%SERV%%%%ASTKDIR%%/asrun/contrib/__init__.pyo
|
%%SERV%%%%ASTKDIR%%/asrun/contrib/__init__.pyo
|
||||||
|
%%SERV%%%%ASTKDIR%%/asrun/contrib/copy_version.py
|
||||||
|
%%SERV%%%%ASTKDIR%%/asrun/contrib/copy_version.pyc
|
||||||
|
%%SERV%%%%ASTKDIR%%/asrun/contrib/copy_version.pyo
|
||||||
%%SERV%%%%ASTKDIR%%/asrun/contrib/log_usage.py
|
%%SERV%%%%ASTKDIR%%/asrun/contrib/log_usage.py
|
||||||
%%SERV%%%%ASTKDIR%%/asrun/contrib/log_usage.pyc
|
%%SERV%%%%ASTKDIR%%/asrun/contrib/log_usage.pyc
|
||||||
%%SERV%%%%ASTKDIR%%/asrun/contrib/log_usage.pyo
|
%%SERV%%%%ASTKDIR%%/asrun/contrib/log_usage.pyo
|
||||||
|
@ -441,7 +444,6 @@
|
||||||
%%SERV%%%%ASTKDIR%%/share/codeaster/asrun/data/mpirun_template
|
%%SERV%%%%ASTKDIR%%/share/codeaster/asrun/data/mpirun_template
|
||||||
%%SERV%%%%ASTKDIR%%/share/codeaster/asrun/data/stanley_post.comm
|
%%SERV%%%%ASTKDIR%%/share/codeaster/asrun/data/stanley_post.comm
|
||||||
%%SERV%%%%ASTKDIR%%/share/codeaster/asrun/doc/dev_guide.html
|
%%SERV%%%%ASTKDIR%%/share/codeaster/asrun/doc/dev_guide.html
|
||||||
%%SERV%%%%ASTKDIR%%/share/codeaster/asrun/doc/dev_guide.pdf
|
|
||||||
%%SERV%%%%ASTKDIR%%/share/codeaster/asrun/doc/dev_guide.rst
|
%%SERV%%%%ASTKDIR%%/share/codeaster/asrun/doc/dev_guide.rst
|
||||||
%%SERV%%%%ASTKDIR%%/share/codeaster/asrun/examples/alamain.py
|
%%SERV%%%%ASTKDIR%%/share/codeaster/asrun/examples/alamain.py
|
||||||
%%SERV%%%%ASTKDIR%%/share/codeaster/asrun/examples/alamain.pyc
|
%%SERV%%%%ASTKDIR%%/share/codeaster/asrun/examples/alamain.pyc
|
||||||
|
@ -547,6 +549,11 @@
|
||||||
%%SERV%%%%ETCDIR%%/aster
|
%%SERV%%%%ETCDIR%%/aster
|
||||||
%%SERV%%%%ETCDIR%%/config_nodename
|
%%SERV%%%%ETCDIR%%/config_nodename
|
||||||
%%SERV%%%%ETCDIR%%/plugins/__init__.py
|
%%SERV%%%%ETCDIR%%/plugins/__init__.py
|
||||||
|
%%SERV%%%%ETCDIR%%/plugins/__init__.pyc
|
||||||
|
%%SERV%%%%ETCDIR%%/plugins/__init__.pyo
|
||||||
|
%%SERV%%%%ETCDIR%%/plugins/sge_pe.py
|
||||||
|
%%SERV%%%%ETCDIR%%/plugins/sge_pe.pyc
|
||||||
|
%%SERV%%%%ETCDIR%%/plugins/sge_pe.pyo
|
||||||
%%SERV%%%%ETCDIR%%/profile.csh
|
%%SERV%%%%ETCDIR%%/profile.csh
|
||||||
%%SERV%%%%ETCDIR%%/profile.sh
|
%%SERV%%%%ETCDIR%%/profile.sh
|
||||||
%%SERV%%@dirrm %%ETCDIR%%/plugins
|
%%SERV%%@dirrm %%ETCDIR%%/plugins
|
||||||
|
|
Loading…
Reference in a new issue