aboutsummaryrefslogtreecommitdiffstats
path: root/science/netcdf-cxx
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-08-16 01:27:48 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-08-16 01:27:48 +0800
commitcbf9ae39d91f9d0d8caee59898644f90a31a9ae0 (patch)
tree61a3664804cc04b191384ebbde8c2dc24bae1005 /science/netcdf-cxx
parentd96249396976d6b17163a796464fdd795f34b404 (diff)
downloadfreebsd-ports-gnome-cbf9ae39d91f9d0d8caee59898644f90a31a9ae0.tar.gz
freebsd-ports-gnome-cbf9ae39d91f9d0d8caee59898644f90a31a9ae0.tar.zst
freebsd-ports-gnome-cbf9ae39d91f9d0d8caee59898644f90a31a9ae0.zip
- Use USE_GITHUB
- Bump PORTREVISION
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