Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= aster |
8 |
PORTNAME= aster |
9 |
DISTVERSION= ${ASTER_DISTVERSION} |
9 |
DISTVERSION= ${ASTER_DISTVERSION} |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= french cad |
11 |
CATEGORIES= french cad |
11 |
|
12 |
|
12 |
MAINTAINER= thierry@FreeBSD.org |
13 |
MAINTAINER= thierry@FreeBSD.org |
Lines 131-143
Link Here
|
131 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/libblacs.a:${PORTSDIR}/math/blacs \ |
132 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/libblacs.a:${PORTSDIR}/math/blacs \ |
132 |
${LOCALBASE}/lib/libscalapack.a:${PORTSDIR}/math/scalapack |
133 |
${LOCALBASE}/lib/libscalapack.a:${PORTSDIR}/math/scalapack |
133 |
MUMPS_PORT= mumps-mpich |
134 |
MUMPS_PORT= mumps-mpich |
134 |
MUMPSLIB= -L${LOCALBASE}/lib -ldmumps -lzmumps -lmumps_common -lpord -lscalapack -lblacs -lblacsc -lblacs -L${LOCALBASE}/lib -lmpich |
135 |
MUMPSLIB= -L${LOCALBASE}/lib -ldmumps -lzmumps -lmumps_common -lpord -lscalapack -lblacs -lblacsc -lblacs -L${LOCALBASE}/lib -lmpich -lmpl |
135 |
. endif |
136 |
. endif |
136 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/libcmumps.a:${PORTSDIR}/math/${MUMPS_PORT} |
137 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/libcmumps.a:${PORTSDIR}/math/${MUMPS_PORT} |
137 |
.endif |
138 |
.endif |
138 |
|
139 |
|
139 |
.if defined(WITH_MPI) |
140 |
.if defined(WITH_MPI) |
140 |
BUILD_DEPENDS+= ${HOME_MPI}/include/mpif.h:${PORTSDIR}/net/mpich2 |
141 |
LIB_DEPENDS+= mpich.2:${PORTSDIR}/net/mpich2 |
141 |
HOME_MPI= ${LOCALBASE} |
142 |
HOME_MPI= ${LOCALBASE} |
142 |
.endif |
143 |
.endif |
143 |
|
144 |
|
Lines 220-226
Link Here
|
220 |
|
221 |
|
221 |
pre-everything:: |
222 |
pre-everything:: |
222 |
.if defined(WITH_MPI) |
223 |
.if defined(WITH_MPI) |
223 |
@${ECHO_MSG} "To build Code_Aster with MPI enabled, you need to run `mpd &'" |
224 |
@${ECHO_MSG} "To build Code_Aster with MPI enabled, you need to run \`mpd &'" |
224 |
.endif |
225 |
.endif |
225 |
|
226 |
|
226 |
pre-configure: |
227 |
pre-configure: |
Lines 337-342
Link Here
|
337 |
${ECHO_CMD} "#?vers : VVV?" >> ${WRKSRC}/instdir/etc/codeaster/aster |
338 |
${ECHO_CMD} "#?vers : VVV?" >> ${WRKSRC}/instdir/etc/codeaster/aster |
338 |
${CP} -R ${LOCALBASE}/aster/ASTK/ASTK_SERV/bin \ |
339 |
${CP} -R ${LOCALBASE}/aster/ASTK/ASTK_SERV/bin \ |
339 |
${LOCALBASE}/aster/ASTK/ASTK_SERV/asrun \ |
340 |
${LOCALBASE}/aster/ASTK/ASTK_SERV/asrun \ |
|
|
341 |
${LOCALBASE}/aster/ASTK/ASTK_SERV/share \ |
340 |
${WRKSRC}/instdir/ |
342 |
${WRKSRC}/instdir/ |
341 |
${REINPLACE_CMD} -e 's|${LOCALBASE}/aster|${WRKSRC}/instdir|' \ |
343 |
${REINPLACE_CMD} -e 's|${LOCALBASE}/aster|${WRKSRC}/instdir|' \ |
342 |
${WRKSRC}/instdir/bin/as_run |
344 |
${WRKSRC}/instdir/bin/as_run |