Lines 18-28
Link Here
|
18 |
libblas.so:${PORTSDIR}/math/lapack |
18 |
libblas.so:${PORTSDIR}/math/lapack |
19 |
|
19 |
|
20 |
USES= fortran |
20 |
USES= fortran |
|
|
21 |
USE_GCC= yes |
21 |
WRKSRC= ${WRKDIR}/FVCOM2.7.1/FVCOM_source |
22 |
WRKSRC= ${WRKDIR}/FVCOM2.7.1/FVCOM_source |
22 |
|
23 |
|
23 |
PLIST_FILES= bin/${PORTNAME}${PKGNAMESUFFIX} |
24 |
PLIST_FILES= ${MPIPREFIX}bin/${PORTNAME}${PKGNAMESUFFIX} |
24 |
|
25 |
|
25 |
RESTRICTED= may not be redistributed because of licensing reasons |
26 |
RESTRICTED= Requires (free) registration |
26 |
|
27 |
|
27 |
.include <bsd.port.pre.mk> |
28 |
.include <bsd.port.pre.mk> |
28 |
|
29 |
|
Lines 33-46
Link Here
|
33 |
and place it in ${DISTDIR}/${DIST_SUBDIR}/ |
34 |
and place it in ${DISTDIR}/${DIST_SUBDIR}/ |
34 |
.endif |
35 |
.endif |
35 |
|
36 |
|
|
|
37 |
MAKE_JOBS_UNSAFE= yes |
38 |
|
36 |
post-extract: |
39 |
post-extract: |
37 |
${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile |
40 |
${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile |
38 |
|
41 |
|
|
|
42 |
post-patch: |
43 |
${REINPLACE_CMD} -e 's|gcc|${CC}|g' \ |
44 |
${WRKDIR}/FVCOM2.7.1/METIS_source/makefile |
45 |
${REINPLACE_CMD} -e 's|cpp|${CPP}|g' \ |
46 |
${WRKDIR}/FVCOM2.7.1/FVCOM_source/Makefile |
47 |
|
39 |
pre-build: |
48 |
pre-build: |
40 |
(cd ${WRKSRC}/../METIS_source && make) |
49 |
(cd ${WRKSRC}/../METIS_source && make) |
41 |
|
50 |
|
42 |
do-install: |
51 |
do-install: |
|
|
52 |
${MKDIR} ${STAGEDIR}${PREFIX}/${MPIPREFIX}bin |
43 |
${INSTALL_PROGRAM} ${WRKSRC}/fvcom \ |
53 |
${INSTALL_PROGRAM} ${WRKSRC}/fvcom \ |
44 |
${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} |
54 |
${STAGEDIR}${PREFIX}/${MPIPREFIX}bin/${PORTNAME}${PKGNAMESUFFIX} |
45 |
|
55 |
|
46 |
.include <bsd.port.post.mk> |
56 |
.include <bsd.port.post.mk> |