diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2010-12-29 22:01:55 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2010-12-29 22:01:55 +0000 |
commit | 94f67d3e038a1cc8f1ed98c0857176ac1e941902 (patch) | |
tree | 33d368336bd22697a4f9d68d9fd8590e5e90b1bf /cad/astk-serveur/Makefile | |
parent | 6ae38b227acba6a09e047209b7f5acd79a2bd602 (diff) | |
download | ports-94f67d3e038a1cc8f1ed98c0857176ac1e941902.tar.gz ports-94f67d3e038a1cc8f1ed98c0857176ac1e941902.zip |
Notes
Diffstat (limited to 'cad/astk-serveur/Makefile')
-rw-r--r-- | cad/astk-serveur/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/cad/astk-serveur/Makefile b/cad/astk-serveur/Makefile index 92a6aa17824d..fc2c95f4bebb 100644 --- a/cad/astk-serveur/Makefile +++ b/cad/astk-serveur/Makefile @@ -6,7 +6,7 @@ # PORTNAME= astk -PORTVERSION= 1.8.3 +PORTVERSION= 1.8.4 CATEGORIES= cad .if !defined(CLIENT_SEUL) PKGNAMESUFFIX= -serveur @@ -29,6 +29,7 @@ COMMENT?= Graphical interface for Code_Aster (server side) # There exists a "logical" RUN_DEPENDS towards french/aster and french/eficas # for the server part, but it is not set to avoid circular dependences. + RUN_DEPENDS+= ${SHELL_INSTALL_ASTER}:${PORTSDIR}/shells/${SHIADEP} LICENSE= GPLv2 @@ -39,7 +40,6 @@ USE_PYTHON= yes NO_BUILD= yes REINPLACE_ARGS= -i "" -ASTER_DISTVERSION= ${ASTER_VER}-1 EXTRACT_WRKSRC= ${WRKDIR}/aster-${DISTVERSIONPREFIX}${ASTER_DISTVERSION:S/-/./:R}/SRC PKGMESSAGE= ${WRKDIR}/pkg-message @@ -49,7 +49,7 @@ aster_dir= ${LOCALBASE}/aster/${vaster} S_SCRIPTS= bin/as_run bin/parallel_cp asrun/installation.py \ share/codeaster/asrun/data/mpirun_template S_PYLIBS= share/codeaster/asrun/examples/alamain.py \ - unittest/data/config_serveurs unittest/010_misc.py \ + unittest/datafiles/config_serveurs unittest/010_misc.py \ unittest/015_package.py unittest/run_test.py C_SCRIPTS= bin/astk bin/bsf tools_dir= ${LOCALBASE}/aster/outils @@ -83,7 +83,10 @@ RUN_DEPENDS+= qsub:${PORTSDIR}/sysutils/torque . endif .else RUN_DEPENDS+= xterm:${PORTSDIR}/x11/xterm \ - wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER} + 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} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/ASTK_CLIENT PATCHDIR= ${MASTERDIR}/files.client PLIST_SUB= ASTKDIR=${LINSTDIR}/ASTK_CLIENT SERV="@comment " CLIENT="" vaster="" \ @@ -180,6 +183,9 @@ do-configure: ${REINPLACE_CMD} -e "s|?ASTER_VERSION?|${vaster}|" \ -e 's|#?vers : VVV?|vers : ${vaster}|' \ ${WRKSRC}/etc/aster + ${REINPLACE_CMD} -e 's|?DEBUGGER_COMMAND_POST?|gdb -batch --command=@D @E @C|'\ + -e 's|?DEBUGGER_COMMAND?|gdb --dbx --command=@D @E @C|' \ + ${WRKSRC}/etc/asrun . if defined(WITH_MPI) ${REINPLACE_CMD} -e "s|?MPIRUN?|${HOME_MPI}/bin/mpirun|" \ -e "s|?ASTER_CONFDIR?|${PREFIX}/aster|" \ @@ -211,7 +217,7 @@ do-configure: -e "s|/opt/aster|${aster_dir}|" ${WRKSRC}/${libs} . endfor . if defined(WITH_PBS) -. for cf in etc/asrun unittest/data/config_serveurs +. for cf in etc/asrun unittest/datafiles/config_serveurs ${REINPLACE_CMD} -e "s|batch : non|batch : oui|" \ ${WRKSRC}/${cf} . endfor |