aboutsummaryrefslogtreecommitdiff
path: root/science/netcdf-cxx
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-08-15 17:27:48 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-08-15 17:27:48 +0000
commit1e6b2a897debce25e3bab42500b021c3a0ac6020 (patch)
tree61a3664804cc04b191384ebbde8c2dc24bae1005 /science/netcdf-cxx
parentafe52ead94150b64feb03710de67117f1d01ff84 (diff)
downloadports-1e6b2a897debce25e3bab42500b021c3a0ac6020.tar.gz
ports-1e6b2a897debce25e3bab42500b021c3a0ac6020.zip
Notes
Diffstat (limited to 'science/netcdf-cxx')
-rw-r--r--science/netcdf-cxx/Makefile11
-rw-r--r--science/netcdf-cxx/distinfo4
2 files changed, 9 insertions, 6 deletions
diff --git a/science/netcdf-cxx/Makefile b/science/netcdf-cxx/Makefile
index 7df91cf71890..6801abc249b1 100644
--- a/science/netcdf-cxx/Makefile
+++ b/science/netcdf-cxx/Makefile
@@ -3,10 +3,8 @@
PORTNAME= netcdf-cxx
PORTVERSION= 4.2.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= science
-MASTER_SITES= https://github.com/Unidata/${PORTNAME}4/archive/v${PORTVERSION}.tar.gz?dummy=/ \
- LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= C++ library for machine-independent, array-oriented data access
@@ -20,7 +18,12 @@ GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
USES= libtool pathfix
-WRKSRC= ${WRKDIR}/${PORTNAME}4-${PORTVERSION}
+
+USE_GITHUB= yes
+GH_ACCOUNT= Unidata
+GH_COMMIT= b477274
+GH_PROJECT= ${PORTNAME}4
+GH_TAGNAME= v${PORTVERSION}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnetcdf_c++4.so.1
diff --git a/science/netcdf-cxx/distinfo b/science/netcdf-cxx/distinfo
index e19966ae1b3e..e2a5afe63010 100644
--- a/science/netcdf-cxx/distinfo
+++ b/science/netcdf-cxx/distinfo
@@ -1,2 +1,2 @@
-SHA256 (netcdf-cxx-4.2.1.tar.gz) = bad56abfc99f321829070c04aebb377fc8942a4d09e5a3c88ad2b6547ed50ebc
-SIZE (netcdf-cxx-4.2.1.tar.gz) = 456547
+SHA256 (netcdf-cxx-4.2.1.tar.gz) = 03c639e7834302adc98934ea0e81821143e62e721533f0e111dcb38ae1ca49e4
+SIZE (netcdf-cxx-4.2.1.tar.gz) = 456691