Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2013 20:34:59 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r314690 - in head/cad/astk-serveur: . files files.client
Message-ID:  <201303192034.r2JKYx9P033095@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Tue Mar 19 20:34:59 2013
New Revision: 314690
URL: http://svnweb.freebsd.org/changeset/ports/314690

Log:
  Upgrade to 1.10.4.

Modified:
  head/cad/astk-serveur/Makefile   (contents, props changed)
  head/cad/astk-serveur/files.client/patch-etc_astkrc_outils   (contents, props changed)
  head/cad/astk-serveur/files/patch-asrun_config.py   (contents, props changed)
  head/cad/astk-serveur/pkg-plist   (contents, props changed)

Modified: head/cad/astk-serveur/Makefile
==============================================================================
--- head/cad/astk-serveur/Makefile	Tue Mar 19 20:34:49 2013	(r314689)
+++ head/cad/astk-serveur/Makefile	Tue Mar 19 20:34:59 2013	(r314690)
@@ -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/
 . 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

Modified: head/cad/astk-serveur/files.client/patch-etc_astkrc_outils
==============================================================================
--- head/cad/astk-serveur/files.client/patch-etc_astkrc_outils	Tue Mar 19 20:34:49 2013	(r314689)
+++ head/cad/astk-serveur/files.client/patch-etc_astkrc_outils	Tue Mar 19 20:34:59 2013	(r314690)
@@ -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
 +#

Modified: head/cad/astk-serveur/files/patch-asrun_config.py
==============================================================================
--- head/cad/astk-serveur/files/patch-asrun_config.py	Tue Mar 19 20:34:49 2013	(r314689)
+++ head/cad/astk-serveur/files/patch-asrun_config.py	Tue Mar 19 20:34:59 2013	(r314690)
@@ -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'],

Modified: head/cad/astk-serveur/pkg-plist
==============================================================================
--- head/cad/astk-serveur/pkg-plist	Tue Mar 19 20:34:49 2013	(r314689)
+++ head/cad/astk-serveur/pkg-plist	Tue Mar 19 20:34:59 2013	(r314690)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303192034.r2JKYx9P033095>