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

(-)/usr/wip/science/fvcom/Makefile (-3 / +13 lines)
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>
(-)/usr/wip/science/fvcom/files/patch-mod_lag.F (-1 / +1 lines)
Lines 1-5 Link Here
1
--- mod_lag.F.orig	2008-07-25 16:44:11.000000000 -0500
1
--- mod_lag.F.orig	2008-07-25 16:44:11.000000000 -0500
2
+++ mod_lag.F	2012-03-31 21:57:17.000000000 -0500
2
+++ mod_lag.F	2014-04-28 12:23:34.000000000 -0500
3
@@ -212,7 +212,12 @@
3
@@ -212,7 +212,12 @@
4
   !Lagrangian particle associated scalar
4
   !Lagrangian particle associated scalar
5
   character(len=80) :: lag_scal_choice
5
   character(len=80) :: lag_scal_choice
(-)/usr/wip/science/fvcom/pkg-message (+4 lines)
Line 0 Link Here
1
-----------------------------------------------------------------------
2
FVCOM has many build options that can be used in combination.  To build
3
other variants, use one of the slave ports science/fvcom-*.
4
-----------------------------------------------------------------------

Return to bug 189091