View | Details | Raw Unified | Return to bug 177201
Collapse All | Expand All

(-)Makefile (-7 / +7 lines)
Lines 33-41 BUILD_DEPENDS+= ${LOCALBASE}/aster/ASTK/ Link Here
33
		${SHELL_INSTALL_ASTER}:${PORTSDIR}/shells/${SHIADEP}		\
33
		${SHELL_INSTALL_ASTER}:${PORTSDIR}/shells/${SHIADEP}		\
34
		${PYNUMPY}
34
		${PYNUMPY}
35
LIB_DEPENDS+=	hdf5.7:${PORTSDIR}/science/hdf5-18				\
35
LIB_DEPENDS+=	hdf5.7:${PORTSDIR}/science/hdf5-18				\
36
		med.5:${PORTSDIR}/french/med
36
		med.5:${PORTSDIR}/french/med					\
37
		metis:${PORTSDIR}/math/metis-edf
37
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/Gnuplot:${PORTSDIR}/math/py-gnuplot	\
38
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/Gnuplot:${PORTSDIR}/math/py-gnuplot	\
38
		${LOCALBASE}/bin/onmetis.exe:${PORTSDIR}/math/metis-edf		\
39
		${SHELL_INSTALL_ASTER}:${PORTSDIR}/shells/${SHIADEP}		\
39
		${SHELL_INSTALL_ASTER}:${PORTSDIR}/shells/${SHIADEP}		\
40
		${LOCALBASE}/aster/ASTK/ASTK_SERV:${PORTSDIR}/cad/astk-serveur
40
		${LOCALBASE}/aster/ASTK/ASTK_SERV:${PORTSDIR}/cad/astk-serveur
41
41
Lines 183-191 WITH_ED= vi Link Here
183
.endif
183
.endif
184
184
185
vaster=		STA${PORTVERSION:R:R}
185
vaster=		STA${PORTVERSION:R:R}
186
INST_DAT=	LICENSE.TERMS astest cata_ele.pickled catalo catapy	\
186
INST_DAT=	LICENSE.TERMS astest catalo catapy materiau
187
		elements materiau
187
INST_PY=	bibpyt
188
INST_PY=	bibpyt commande
189
INST_SH=	as_run parallel_cp
188
INST_SH=	as_run parallel_cp
190
DAT2FIX=	astout.export config.txt forma01a.export
189
DAT2FIX=	astout.export config.txt forma01a.export
191
inst_dir=	${PREFIX}/${PORTNAME}/${vaster}
190
inst_dir=	${PREFIX}/${PORTNAME}/${vaster}
Lines 319-324 pre-configure: Link Here
319
	${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
318
	${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
320
	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
319
	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
321
320
321
post-patch:
322
	${REINPLACE_CMD} -e 's|/usr/ports/french/aster/work|${WRKDIR}|g' ${WRKSRC}/products.py
323
322
do-configure:
324
do-configure:
323
	(cd ${CONFIGURE_WRKSRC} && ${PYTHON_CMD} setup.pyo ${DEBUG_FLAGS} test	\
325
	(cd ${CONFIGURE_WRKSRC} && ${PYTHON_CMD} setup.pyo ${DEBUG_FLAGS} test	\
324
		| tee ${CONFIGURE_LOG})
326
		| tee ${CONFIGURE_LOG})
Lines 350-357 do-build: Link Here
350
352
351
do-install:
353
do-install:
352
	${MKDIR} ${tools_dir} ${inst_dir} ${PREFIX}/${PORTNAME}/bin
354
	${MKDIR} ${tools_dir} ${inst_dir} ${PREFIX}/${PORTNAME}/bin
353
	${INSTALL_PROGRAM} ${WRKSRC}/instdir/${vaster}/asteru ${inst_dir}
354
	#${INSTALL_SCRIPT} ${WRKSRC}/instdir/${vaster}/asterd ${inst_dir} # Don't strip!
355
	${INSTALL_SCRIPT} ${WRKSRC}/instdir/${vaster}/profile.sh ${inst_dir}
355
	${INSTALL_SCRIPT} ${WRKSRC}/instdir/${vaster}/profile.sh ${inst_dir}
356
	${ECHO_CMD} "" >> ${inst_dir}/profile.sh
356
	${ECHO_CMD} "" >> ${inst_dir}/profile.sh
357
	${ECHO_CMD} "HDF5_DISABLE_VERSION_CHECK=1" >> ${inst_dir}/profile.sh
357
	${ECHO_CMD} "HDF5_DISABLE_VERSION_CHECK=1" >> ${inst_dir}/profile.sh
(-)pkg-plist (-6 lines)
Lines 1-5 Link Here
1
%%ASTERDIR%%/LICENSE.TERMS
1
%%ASTERDIR%%/LICENSE.TERMS
2
%%ASTERDIR%%/asteru
3
%%ASTERDIR%%/astest/adls102a.comm
2
%%ASTERDIR%%/astest/adls102a.comm
4
%%ASTERDIR%%/astest/adls102a.datg
3
%%ASTERDIR%%/astest/adls102a.datg
5
%%ASTERDIR%%/astest/adls102a.mail
4
%%ASTERDIR%%/astest/adls102a.mail
Lines 11398-11404 Link Here
11398
%%ASTERDIR%%/bibpyt/Validation/__init__.py
11397
%%ASTERDIR%%/bibpyt/Validation/__init__.py
11399
%%ASTERDIR%%/bibpyt/Validation/__init__.pyc
11398
%%ASTERDIR%%/bibpyt/Validation/__init__.pyc
11400
%%ASTERDIR%%/bibpyt/Validation/__init__.pyo
11399
%%ASTERDIR%%/bibpyt/Validation/__init__.pyo
11401
%%ASTERDIR%%/cata_ele.pickled
11402
%%ASTERDIR%%/catalo/compelem/grandeur_simple__.cata
11400
%%ASTERDIR%%/catalo/compelem/grandeur_simple__.cata
11403
%%ASTERDIR%%/catalo/compelem/phenomene_modelisation__.cata
11401
%%ASTERDIR%%/catalo/compelem/phenomene_modelisation__.cata
11404
%%ASTERDIR%%/catalo/compelem/type_maille__.cata
11402
%%ASTERDIR%%/catalo/compelem/type_maille__.cata
Lines 12364-12372 Link Here
12364
%%ASTERDIR%%/catapy/commun/c_suivi_ddl.capy
12362
%%ASTERDIR%%/catapy/commun/c_suivi_ddl.capy
12365
%%ASTERDIR%%/catapy/commun/c_type_cham_into.capy
12363
%%ASTERDIR%%/catapy/commun/c_type_cham_into.capy
12366
%%ASTERDIR%%/catapy/entete/accas.capy
12364
%%ASTERDIR%%/catapy/entete/accas.capy
12367
%%ASTERDIR%%/commande/cata.py
12368
%%ASTERDIR%%/commande/cata.pyc
12369
%%ASTERDIR%%/commande/cata.pyo
12370
%%ASTERDIR%%/config.txt
12365
%%ASTERDIR%%/config.txt
12371
%%ASTERDIR%%/elements
12366
%%ASTERDIR%%/elements
12372
%%ASTERDIR%%/forma01a.export
12367
%%ASTERDIR%%/forma01a.export
Lines 12400-12406 aster/config.txt Link Here
12400
%%GRACE%%@unexec rm -f  %D/%%TOOLDIR%%/xmgrace
12395
%%GRACE%%@unexec rm -f  %D/%%TOOLDIR%%/xmgrace
12401
@unexec rm -rf  %D/%%TOOLDIR%% 2>&1 >/dev/null || true
12396
@unexec rm -rf  %D/%%TOOLDIR%% 2>&1 >/dev/null || true
12402
@dirrm %%ASTERDIR%%/materiau
12397
@dirrm %%ASTERDIR%%/materiau
12403
@dirrm %%ASTERDIR%%/commande
12404
@dirrm %%ASTERDIR%%/catapy/entete
12398
@dirrm %%ASTERDIR%%/catapy/entete
12405
@dirrm %%ASTERDIR%%/catapy/commun
12399
@dirrm %%ASTERDIR%%/catapy/commun
12406
@dirrm %%ASTERDIR%%/catapy/commande
12400
@dirrm %%ASTERDIR%%/catapy/commande

Return to bug 177201