diff options
author | thierry <thierry@FreeBSD.org> | 2013-03-20 04:34:59 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2013-03-20 04:34:59 +0800 |
commit | f6079e07a35dd6628d7749d805fd3379c56886dd (patch) | |
tree | 66b2411e00a53754b8449301f0aed0e8e1f64556 /cad | |
parent | c97fd6302b8953f9cc0d7a15dbd64ae3a07353d4 (diff) | |
download | freebsd-ports-gnome-f6079e07a35dd6628d7749d805fd3379c56886dd.tar.gz freebsd-ports-gnome-f6079e07a35dd6628d7749d805fd3379c56886dd.tar.zst freebsd-ports-gnome-f6079e07a35dd6628d7749d805fd3379c56886dd.zip |
Upgrade to 1.10.4.
Diffstat (limited to 'cad')
-rw-r--r-- | cad/astk-serveur/Makefile | 34 | ||||
-rw-r--r-- | cad/astk-serveur/files.client/patch-etc_astkrc_outils | 2 | ||||
-rw-r--r-- | cad/astk-serveur/files/patch-asrun_config.py | 26 | ||||
-rw-r--r-- | cad/astk-serveur/pkg-plist | 9 |
4 files changed, 40 insertions, 31 deletions
diff --git a/cad/astk-serveur/Makefile b/cad/astk-serveur/Makefile index 68411dbd1d9b..cbb3905a3300 100644 --- a/cad/astk-serveur/Makefile +++ b/cad/astk-serveur/Makefile @@ -1,12 +1,8 @@ -# New ports collection makefile for: ASTK -# Date created: Thu Jul 09 2003 -# Whom: thierry@pompo.net -# +# Created by: thierry@pompo.net # $FreeBSD$ -# PORTNAME= astk -PORTVERSION= 1.10.4 +PORTVERSION= 1.11.0 CATEGORIES= cad .if !defined(CLIENT_SEUL) PKGNAMESUFFIX= -serveur @@ -36,6 +32,9 @@ LICENSE= GPLv2 .if !defined(CLIENT_SEUL) USE_PYTHON= yes +USE_TK_BUILD= yes +.else +USE_TK= yes .endif NO_BUILD= yes REINPLACE_ARGS= -i "" @@ -47,7 +46,8 @@ LINSTDIR= aster/ASTK 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 + share/codeaster/asrun/data/mpirun_template \ + bin/auto_update.cron S_PYLIBS= share/codeaster/asrun/examples/alamain.py \ unittest/datafiles/config_serveurs unittest/010_misc.py \ unittest/015_package.py unittest/run_test.py @@ -83,10 +83,9 @@ RUN_DEPENDS+= qsub:${PORTSDIR}/sysutils/torque . endif .else RUN_DEPENDS+= xterm:${PORTSDIR}/x11/xterm \ - wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER} \ - ${LOCALBASE}/lib/${TKPKG}/pkgIndex.tcl:${PORTSDIR}/graphics/tkpng -TKPKG_VER= 0.9 -TKPKG= tkpng${TKPKG_VER} + ${LOCALBASE}/lib/${TKPNG}/pkgIndex.tcl:${PORTSDIR}/graphics/tkpng +TKPNG_VER= 0.9 +TKPNG= tkpng${TKPNG_VER} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/ASTK_CLIENT PATCHDIR= ${MASTERDIR}/files.client PLIST_SUB= ASTKDIR=${LINSTDIR}/ASTK_CLIENT SERV="@comment " CLIENT="" vaster="" \ @@ -97,9 +96,6 @@ FILESDIR= ${PATCHDIR} SLAVEDIRS= cad/astk-client -TK_VER?= 8.5 -TCL_VER?= ${TK_VER} -SHORT_TK_VER= ${TK_VER:S/.//} BWidget_VER= 1.7.0 vaster= STA${ASTER_VER:R} @@ -207,7 +203,7 @@ do-configure: -e 's|?PYTHON_EXE?|${PYTHON_CMD}|' \ -e 's|?HOME_MED?|${LOCALBASE}|' \ -e 's|?HOME_HDF?|${LOCALBASE}|' \ - -e "s|?WISH_EXE?|wish${TK_VER}|" \ + -e "s|?WISH_EXE?|${WISH}|" \ ${WRKSRC}/etc/profile.${sh} . endfor . for libs in ${S_PYLIBS} @@ -215,6 +211,10 @@ do-configure: -e "s|/opt/aster/NEW10|${aster_dir}|" \ -e "s|/opt/aster/ASTK|${inst_dir}|" \ -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} . endfor . if defined(WITH_PBS) @@ -241,7 +241,7 @@ do-configure: . for scripts in ${C_SCRIPTS} ${REINPLACE_CMD} -e "s|?SHELL_EXECUTION?|${SHELL_INSTALL_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} . endfor ${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} -O ${PYTHON_LIBDIR}/compileall.py ${inst_dir}/ASTK_SERV/${rep} . endfor + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${ETCDIR}/plugins + @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${ETCDIR}/plugins . if defined(WITH_MPI) ${ECHO_CMD} "localhost" > ${PREFIX}/aster/aster-mpihosts . endif diff --git a/cad/astk-serveur/files.client/patch-etc_astkrc_outils b/cad/astk-serveur/files.client/patch-etc_astkrc_outils index efb4a152e7ee..72508380af46 100644 --- a/cad/astk-serveur/files.client/patch-etc_astkrc_outils +++ b/cad/astk-serveur/files.client/patch-etc_astkrc_outils @@ -5,7 +5,7 @@ dist : on # +nom : qtEficas -+cmde : ?TOOLS_DIR?/qtEficas (@F) ++cmde : ?TOOLS_DIR?/eficasQt (@F) +ext : comm com0 com1 com2 +dist : on +# diff --git a/cad/astk-serveur/files/patch-asrun_config.py b/cad/astk-serveur/files/patch-asrun_config.py index 39d899134c65..29e59d95cc53 100644 --- a/cad/astk-serveur/files/patch-asrun_config.py +++ b/cad/astk-serveur/files/patch-asrun_config.py @@ -1,13 +1,13 @@ ---- ./asrun/config.py.orig 2010-07-07 18:18:08.000000000 +0200 -+++ ./asrun/config.py 2010-08-11 19:03:21.000000000 +0200 -@@ -66,8 +66,8 @@ - 'SRCHIST' : ['histor'], - # name of "binaries" (as results of a make) - 'MAKE' : ['debug nodebug'], -- 'BIN_NODBG' : ['asteru.exe'], -- 'BIN_DBG' : ['asterd.exe'], -+ 'BIN_NODBG' : ['asteru'], -+ 'BIN_DBG' : ['asterd'], - 'BINCMDE' : ['commande'], - 'BINELE' : ['elements'], - 'BINPICKLED' : ['cata_ele.pickled'], +--- asrun/config.py.orig 2013-01-08 09:55:52.000000000 +0100 ++++ asrun/config.py 2013-03-17 17:38:29.000000000 +0100 +@@ -44,8 +44,8 @@ + 'SRCHIST' : ['histor'], + # name of "binaries" (as results of a make) + 'MAKE' : ['debug nodebug'], +- 'BIN_NODBG' : ['asteru.exe'], +- 'BIN_DBG' : ['asterd.exe'], ++ 'BIN_NODBG' : ['asteru'], ++ 'BIN_DBG' : ['asterd'], + 'BINCMDE' : ['commande'], + 'BINELE' : ['elements'], + 'BINPICKLED' : ['cata_ele.pickled'], diff --git a/cad/astk-serveur/pkg-plist b/cad/astk-serveur/pkg-plist index c4567bfb9a5f..5b5cb51fb813 100644 --- a/cad/astk-serveur/pkg-plist +++ b/cad/astk-serveur/pkg-plist @@ -289,6 +289,9 @@ %%SERV%%%%ASTKDIR%%/asrun/contrib/__init__.py %%SERV%%%%ASTKDIR%%/asrun/contrib/__init__.pyc %%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.pyc %%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/stanley_post.comm %%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/examples/alamain.py %%SERV%%%%ASTKDIR%%/share/codeaster/asrun/examples/alamain.pyc @@ -547,6 +549,11 @@ %%SERV%%%%ETCDIR%%/aster %%SERV%%%%ETCDIR%%/config_nodename %%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.sh %%SERV%%@dirrm %%ETCDIR%%/plugins |