Index: head/science/fvcom/Makefile =================================================================== --- head/science/fvcom/Makefile (revision 363092) +++ head/science/fvcom/Makefile (revision 363093) @@ -1,46 +1,56 @@ # Created by: Jason Bacon # $FreeBSD$ PORTNAME= fvcom PORTVERSION= 2.7.1 PORTREVISION?= 3 CATEGORIES= science MASTER_SITES= http://fvcom.smast.umassd.edu/FVCOM/index.html/ DISTNAME= sourcecode1 DIST_SUBDIR= fvcom -MAINTAINER= ports@FreeBSD.org +MAINTAINER= jwbacon@tds.net COMMENT= Unstructured Grid Finite Volume Coastal Ocean Model # Check netcdf lib for Fortran support! LIB_DEPENDS+= libnetcdff.so:${PORTSDIR}/science/netcdf-fortran \ liblapack.so:${PORTSDIR}/math/lapack \ libblas.so:${PORTSDIR}/math/lapack USES= fortran +USE_GCC= yes WRKSRC= ${WRKDIR}/FVCOM2.7.1/FVCOM_source -PLIST_FILES= bin/${PORTNAME}${PKGNAMESUFFIX} +PLIST_FILES= ${MPIPREFIX}bin/${PORTNAME}${PKGNAMESUFFIX} -RESTRICTED= may not be redistributed because of licensing reasons +RESTRICTED= Requires (free) registration .include .if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}) IGNORE= may not be redistributed because of licensing reasons.\ Please register at http://fvcom.smast.umassd.edu/FVCOM/index.html\ in order to download the source code ${DISTFILES}\ and place it in ${DISTDIR}/${DIST_SUBDIR}/ .endif +MAKE_JOBS_UNSAFE= yes + post-extract: ${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile +post-patch: + ${REINPLACE_CMD} -e 's|gcc|${CC}|g' \ + ${WRKDIR}/FVCOM2.7.1/METIS_source/makefile + ${REINPLACE_CMD} -e 's|cpp|${CPP}|g' \ + ${WRKDIR}/FVCOM2.7.1/FVCOM_source/Makefile + pre-build: (cd ${WRKSRC}/../METIS_source && make) do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${MPIPREFIX}bin ${INSTALL_PROGRAM} ${WRKSRC}/fvcom \ - ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} + ${STAGEDIR}${PREFIX}/${MPIPREFIX}bin/${PORTNAME}${PKGNAMESUFFIX} .include Index: head/science/fvcom/files/patch-mod_lag.F =================================================================== --- head/science/fvcom/files/patch-mod_lag.F (revision 363092) +++ head/science/fvcom/files/patch-mod_lag.F (revision 363093) @@ -1,16 +1,16 @@ --- mod_lag.F.orig 2008-07-25 16:44:11.000000000 -0500 -+++ mod_lag.F 2012-03-31 21:57:17.000000000 -0500 ++++ mod_lag.F 2014-04-28 12:23:34.000000000 -0500 @@ -212,7 +212,12 @@ !Lagrangian particle associated scalar character(len=80) :: lag_scal_choice integer, parameter:: n_scal_choice = 6 - character(len=80) :: scal_choices(n_scal_choice) = (/"s1","t1","rho1","km","kh","user_defined"/) + character(len=80) :: scal_choices(n_scal_choice) = (/ "s1 ", & + "t1 ", & + "rho1 ", & + "km ", & + "kh ", & + "user_defined"/) logical :: scal_choice_valid Index: head/science/fvcom/pkg-message =================================================================== --- head/science/fvcom/pkg-message (nonexistent) +++ head/science/fvcom/pkg-message (revision 363093) @@ -0,0 +1,4 @@ +----------------------------------------------------------------------- +FVCOM has many build options that can be used in combination. To build +other variants, use one of the slave ports science/fvcom-*. +----------------------------------------------------------------------- Property changes on: head/science/fvcom/pkg-message ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property