aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2010-05-15 14:26:13 +0800
committerlwhsu <lwhsu@FreeBSD.org>2010-05-15 14:26:13 +0800
commitee1526c0b4019c207a618027971eef6e2f0119b8 (patch)
tree0a70100af425d88e41279afaa952db41020a54cc
parent2ec8f73aeff4326258a59c998d2dc3cd96ff1de2 (diff)
downloadfreebsd-ports-gnome-ee1526c0b4019c207a618027971eef6e2f0119b8.tar.gz
freebsd-ports-gnome-ee1526c0b4019c207a618027971eef6e2f0119b8.tar.zst
freebsd-ports-gnome-ee1526c0b4019c207a618027971eef6e2f0119b8.zip
- Add netcdf 4.x support
PR: ports/146416 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet AT sunpoet.net> (maintainer)
-rw-r--r--science/netcdf-ftn/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/science/netcdf-ftn/Makefile b/science/netcdf-ftn/Makefile
index d7697c9950e4..8476edcf589e 100644
--- a/science/netcdf-ftn/Makefile
+++ b/science/netcdf-ftn/Makefile
@@ -7,9 +7,16 @@
PORTNAME= netcdf
-COMMENT= Network Common Data Form, with Fortran support
+MAINTAINER= sunpoet@sunpoet.net
+COMMENT= NetCDF (network Common Data Form), with Fortran support
+NETCDF_VER?= 4
+
+.if ${NETCDF_VER} == 4
+MASTERDIR= ${.CURDIR}/../netcdf4
+.else
MASTERDIR= ${.CURDIR}/../netcdf
+.endif
WITH_FORTRAN= yes