403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/science/fvcom/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/science/fvcom/Makefile
PORTNAME=	fvcom
PORTVERSION=	2.7.1
PORTREVISION?=	17
CATEGORIES=	science
MASTER_SITES=	http://fvcom.smast.umassd.edu/FVCOM/index.html/
DISTNAME=	sourcecode1
DIST_SUBDIR=	fvcom

MAINTAINER=	jwb@FreeBSD.org
COMMENT=	Unstructured Grid Finite Volume Coastal Ocean Model
WWW=		http://fvcom.smast.umassd.edu/FVCOM/index.html

# Converted from RESTRICTED
LICENSE=	fvcom
LICENSE_NAME=	fvcom
LICENSE_TEXT=	Requires (free) registration
LICENSE_PERMS=	auto-accept

# Check netcdf lib for Fortran support!
LIB_DEPENDS+=	libnetcdff.so:science/netcdf-fortran \
		liblapack.so:math/lapack \
		libblas.so:math/lapack

USES=		fortran
USE_GCC=	yes
WRKSRC=		${WRKDIR}/FVCOM2.7.1/FVCOM_source

PLIST_FILES=	${MPIPREFIX}bin/${PORTNAME}${PKGNAMESUFFIX}

.include <bsd.port.pre.mk>

.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}/${MPIPREFIX}bin/${PORTNAME}${PKGNAMESUFFIX}

.include <bsd.port.post.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit