aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-06-10 00:57:14 +0800
committermiwi <miwi@FreeBSD.org>2013-06-10 00:57:14 +0800
commit45d23278c6130e1a9624839cde9895f74245f82f (patch)
treecfa07c447c30ebb401aff0b15bc564d908e71d1b /misc
parent264bb4cc5e39dace07cfad743a3de0ea613e8282 (diff)
downloadfreebsd-ports-gnome-45d23278c6130e1a9624839cde9895f74245f82f.tar.gz
freebsd-ports-gnome-45d23278c6130e1a9624839cde9895f74245f82f.tar.zst
freebsd-ports-gnome-45d23278c6130e1a9624839cde9895f74245f82f.zip
- Update to 2.0
PR: 179221 Submitted by: Ports Fury
Diffstat (limited to 'misc')
-rw-r--r--misc/gctpc/Makefile10
-rw-r--r--misc/gctpc/distinfo4
-rw-r--r--misc/gctpc/files/patch-aa5
-rw-r--r--misc/gctpc/files/patch-ac8
-rw-r--r--misc/gctpc/files/patch-ad10
-rw-r--r--misc/gctpc/pkg-plist1
6 files changed, 10 insertions, 28 deletions
diff --git a/misc/gctpc/Makefile b/misc/gctpc/Makefile
index bf0d1ef2b7db..8214c488daa7 100644
--- a/misc/gctpc/Makefile
+++ b/misc/gctpc/Makefile
@@ -2,21 +2,23 @@
# $FreeBSD$
PORTNAME= gctpc
-PORTVERSION= 1.3
-PORTREVISION= 1
+PORTVERSION= 2.0
CATEGORIES= misc geography
MASTER_SITES= http://edcftp.cr.usgs.gov/pub/software/gctpc/
-DISTNAME= gctpc
+DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= USGS General Cartographic Transformation Package (GCTP)
+OPTIONS_DEFINE= DOCS
+
WRKSRC= ${WRKDIR}/${PORTNAME}/source
+
USE_GMAKE= yes
ALL_TARGET= libgctpc.so.1
USE_LDCONFIG= yes
-CFLAGS+= -Wno-error=return-type
+MAKE_JOBS_UNSAFE= yes
.include <bsd.port.options.mk>
diff --git a/misc/gctpc/distinfo b/misc/gctpc/distinfo
index c87bdde0fa9c..673b75655d6c 100644
--- a/misc/gctpc/distinfo
+++ b/misc/gctpc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gctpc.tar.Z) = 714d20893ab9b901ffa92e0b181b4ab8a92d025fecc6cbf5b5fa02c4e7c07e1e
-SIZE (gctpc.tar.Z) = 11090665
+SHA256 (gctpc20.tar.Z) = 217eae42f580175a04bae11b87afc59fde4f770aeccc16c90ef9f826a94fa66b
+SIZE (gctpc20.tar.Z) = 10381911
diff --git a/misc/gctpc/files/patch-aa b/misc/gctpc/files/patch-aa
index 978ef06d044b..49af39fa6c91 100644
--- a/misc/gctpc/files/patch-aa
+++ b/misc/gctpc/files/patch-aa
@@ -18,7 +18,7 @@ $FreeBSD$
OBJECTS= \
$(ARCHIVE)(alberfor.o) $(ARCHIVE)(alberinv.o) \
-@@ -56,8 +58,13 @@
+@@ -56,6 +58,11 @@
cproj.c report.c lamccfor.c lamccinv.c paksz.c untfz.c sphdz.c \
br_gctp.c Makefile cproj.h proj.h
@@ -28,8 +28,5 @@ $FreeBSD$
+ rm -rf objs
+
$(ARCHIVE): $(OBJECTS)
-- ranlib geolib.a
-+ ranlib libgctpc.a
- $(ARCHIVE)(gctp.o): $(INCS)
diff --git a/misc/gctpc/files/patch-ac b/misc/gctpc/files/patch-ac
deleted file mode 100644
index fcd2c56a0f3f..000000000000
--- a/misc/gctpc/files/patch-ac
+++ /dev/null
@@ -1,8 +0,0 @@
---- ORIG/cproj.c Mon Nov 22 16:39:46 1993
-+++ cproj.c Thu Apr 26 18:40:10 2001
-@@ -408,4 +408,4 @@
-
- /* Function to calculate UTM zone number--NOTE Longitude entered in DEGREES!!!
- ---------------------------------------------------------------------------*/
--calc_utm_zone(lon) double lon; { return((long)(((lon + 180.0) / 6.0) + 1.0)); }
-+long calc_utm_zone(lon) double lon; { return((long)(((lon + 180.0) / 6.0) + 1.0)); }
diff --git a/misc/gctpc/files/patch-ad b/misc/gctpc/files/patch-ad
deleted file mode 100644
index 1d76fa5038bb..000000000000
--- a/misc/gctpc/files/patch-ad
+++ /dev/null
@@ -1,10 +0,0 @@
---- ORIG/gctp.c Fri Feb 24 16:06:16 1995
-+++ gctp.c Thu Apr 26 18:42:52 2001
-@@ -95,7 +95,6 @@
- double lon; /* longitude */
- double lat; /* latitude */
- double temp; /* dummy variable */
--double sign();
- double pakr2dm();
- long i,j; /* loop counters */
- long ininit_flag; /* input initilization flag */
diff --git a/misc/gctpc/pkg-plist b/misc/gctpc/pkg-plist
index cef88d0ad0b1..cb5561cb5db5 100644
--- a/misc/gctpc/pkg-plist
+++ b/misc/gctpc/pkg-plist
@@ -16,6 +16,7 @@ lib/libgctpc.so.1
%%PORTDOCS%%%%DOCSDIR%%/appendixB.txt
%%PORTDOCS%%%%DOCSDIR%%/appendixC.txt
%%PORTDOCS%%%%DOCSDIR%%/for_init.ps
+%%PORTDOCS%%%%DOCSDIR%%/error_codes.txt
%%PORTDOCS%%%%DOCSDIR%%/gctp.ps
%%PORTDOCS%%%%DOCSDIR%%/inv_init.ps
%%PORTDOCS%%%%DOCSDIR%%/overview.ps