aboutsummaryrefslogtreecommitdiff
path: root/science/netcdf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/netcdf/Makefile')
-rw-r--r--science/netcdf/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile
index 9e676f2d097d..b907ef08a76a 100644
--- a/science/netcdf/Makefile
+++ b/science/netcdf/Makefile
@@ -8,13 +8,14 @@
PORTNAME= netcdf
PORTVERSION= 3.6.0p1
CATEGORIES= math
-MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/netcdf/
-DISTNAME= ${PORTNAME}
+MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/netcdf/%SUBDIR%/
+MASTER_SITE_SUBDIR= . old
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/-p/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for machine-independent, array-oriented data access
-WRKSRC= ${WRKDIR}/${PORTNAME}-3.6.0-p1/src
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
CONFLICTS= hdf-4.*