aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-04-12 23:06:10 +0800
committermat <mat@FreeBSD.org>2016-04-12 23:06:10 +0800
commit80d4ac93a80f1e8f530479ffe80f2a6376a6cf61 (patch)
tree27683c0abca473619926bc1f05a58dceef508a5c /misc
parent7da2b73c9f20de75c7e287248930db736016f8a7 (diff)
downloadfreebsd-ports-gnome-80d4ac93a80f1e8f530479ffe80f2a6376a6cf61.tar.gz
freebsd-ports-gnome-80d4ac93a80f1e8f530479ffe80f2a6376a6cf61.tar.zst
freebsd-ports-gnome-80d4ac93a80f1e8f530479ffe80f2a6376a6cf61.zip
Unbreak.
PR: 208716 Submitted by: tkato432 yahoo com Sponsored by: Absolight
Diffstat (limited to 'misc')
-rw-r--r--misc/gctpc/Makefile4
-rw-r--r--misc/gctpc/files/patch-Makefile6
-rw-r--r--misc/gctpc/files/patch-cproj.h11
3 files changed, 10 insertions, 11 deletions
diff --git a/misc/gctpc/Makefile b/misc/gctpc/Makefile
index 1c9abea9f4f7..2bd200ca9874 100644
--- a/misc/gctpc/Makefile
+++ b/misc/gctpc/Makefile
@@ -4,14 +4,12 @@
PORTNAME= gctpc
PORTVERSION= 2.0
CATEGORIES= misc geography
-MASTER_SITES= http://edcftp.cr.usgs.gov/pub/software/gctpc/
+MASTER_SITES= http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/util/sorc/wgrib2.cd/grib2/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= USGS General Cartographic Transformation Package (GCTP)
-BROKEN= unfetchable
-
WRKSRC= ${WRKDIR}/${PORTNAME}/source
USES= gmake tar:Z
diff --git a/misc/gctpc/files/patch-Makefile b/misc/gctpc/files/patch-Makefile
index 01ce2636c7ea..9182a4f42b5f 100644
--- a/misc/gctpc/files/patch-Makefile
+++ b/misc/gctpc/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Fri Feb 24 17:05:37 1995
-+++ Makefile Thu May 31 15:33:40 2001
+--- Makefile.orig 1998-03-13 21:02:27 UTC
++++ Makefile
@@ -1,10 +1,12 @@
INCDIR =
@@ -15,7 +15,7 @@
OBJECTS= \
$(ARCHIVE)(alberfor.o) $(ARCHIVE)(alberinv.o) \
-@@ -56,6 +58,11 @@
+@@ -56,6 +58,11 @@ SOURCES = gctp.c alberfor.c alberinv.c a
cproj.c report.c lamccfor.c lamccinv.c paksz.c untfz.c sphdz.c \
br_gctp.c Makefile cproj.h proj.h
diff --git a/misc/gctpc/files/patch-cproj.h b/misc/gctpc/files/patch-cproj.h
index 8bb0c3ebb2e3..fbecb51a421b 100644
--- a/misc/gctpc/files/patch-cproj.h
+++ b/misc/gctpc/files/patch-cproj.h
@@ -1,13 +1,14 @@
---- ../work/gctpc/source/cproj.h Fri Nov 19 14:32:06 1993
-+++ cproj.h Sun Feb 11 12:32:19 2001
-@@ -1,3 +1,6 @@
+--- cproj.h.orig 1998-06-24 21:25:45 UTC
++++ cproj.h
+@@ -1,4 +1,7 @@
+ #include <math.h>
+#ifndef INCLUDED_CPROJ_H
+#define INCLUDED_CPROJ_H
+
- #include <math.h>
+ #include "proj.h"
#define PI 3.141592653589793238
-@@ -26,3 +29,32 @@
+@@ -27,3 +30,32 @@
#define IMOD(A, B) (A) - (((A) / (B)) * (B)) /* Integer mod function */