aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorstephen <stephen@FreeBSD.org>2016-10-03 03:54:57 +0800
committerstephen <stephen@FreeBSD.org>2016-10-03 03:54:57 +0800
commit26f61a0fffa3cc1e750db9e201f5786c123e7e4a (patch)
tree1decade95aab8879f486740d333f03b7db085c0b /science
parenta76ad62fda6bb3643364b96f95772ac7bd3c7176 (diff)
downloadfreebsd-ports-gnome-26f61a0fffa3cc1e750db9e201f5786c123e7e4a.tar.gz
freebsd-ports-gnome-26f61a0fffa3cc1e750db9e201f5786c123e7e4a.tar.zst
freebsd-ports-gnome-26f61a0fffa3cc1e750db9e201f5786c123e7e4a.zip
- Add LICENSE.
- Use make makepatch.
Diffstat (limited to 'science')
-rw-r--r--science/cdf/Makefile5
-rw-r--r--science/cdf/files/patch-src_include_cdflib.h4
-rw-r--r--science/cdf/files/patch-src_tests_Makefile6
3 files changed, 10 insertions, 5 deletions
diff --git a/science/cdf/Makefile b/science/cdf/Makefile
index e212fb9537fc..ed99e4ca9d09 100644
--- a/science/cdf/Makefile
+++ b/science/cdf/Makefile
@@ -13,6 +13,11 @@ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= stephen@FreeBSD.org
COMMENT= Device independent view of the CDF data model
+LICENSE= NASA-G
+LICENSE_NAME= NASA/Goddard Space Flight Center
+LICENSE_FILE= ${WRKSRC}/CDF_copyright.txt
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
USES= fortran ncurses
USE_LDCONFIG= yes
MAKE_FLAGS= INSTALLDIR=${STAGEDIR}${PREFIX} OS=freebsd ENV=gnu \
diff --git a/science/cdf/files/patch-src_include_cdflib.h b/science/cdf/files/patch-src_include_cdflib.h
index 2d5f0acc0b10..cf0878f2eab6 100644
--- a/science/cdf/files/patch-src_include_cdflib.h
+++ b/science/cdf/files/patch-src_include_cdflib.h
@@ -1,5 +1,5 @@
---- src/include/cdflib.h.orig 2010-01-18 15:22:03.000000000 -0600
-+++ src/include/cdflib.h 2010-01-18 15:22:32.000000000 -0600
+--- src/include/cdflib.h.orig 2009-05-12 12:37:37 UTC
++++ src/include/cdflib.h
@@ -375,8 +375,7 @@
#elif defined(unix) && !defined(AIX) && !defined(Mach) && !defined(hpux) || \
defined(__MINGW32__)
diff --git a/science/cdf/files/patch-src_tests_Makefile b/science/cdf/files/patch-src_tests_Makefile
index 501b756554e6..a24ac2704728 100644
--- a/science/cdf/files/patch-src_tests_Makefile
+++ b/science/cdf/files/patch-src_tests_Makefile
@@ -1,6 +1,6 @@
---- src/tests/Makefile.orig Thu May 12 19:12:49 2005
-+++ src/tests/Makefile Fri Jan 27 22:20:32 2006
-@@ -31,16 +31,16 @@
+--- src/tests/Makefile.orig 2009-05-12 18:09:12 UTC
++++ src/tests/Makefile
+@@ -33,16 +33,16 @@
SHELL=/bin/sh
NULL=true