git: 595b35fa1f9f - main - graphics/proj: Disable DATA option

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Mon, 10 Jan 2022 19:53:40 UTC
The branch main has been updated by lbartoletti:

URL: https://cgit.FreeBSD.org/ports/commit/?id=595b35fa1f9f993f8176a5c91baa943999f742cc

commit 595b35fa1f9f993f8176a5c91baa943999f742cc
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2022-01-10 18:49:49 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-01-10 18:52:46 +0000

    graphics/proj: Disable DATA option
    
    DATA option allows you to download all the data, but it requires
    more than 1.1GB!
    
    As mentionned in the pkg-message, this option is disabled by default.
    But it was not the case for proj8.
    
    PR:             261048
    Reported by:    p5B2E9A8F@t-online.de
---
 graphics/proj/Makefile             | 2 +-
 graphics/proj/files/pkg-message.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/graphics/proj/Makefile b/graphics/proj/Makefile
index d637de2a69ad..ce1b112605d3 100644
--- a/graphics/proj/Makefile
+++ b/graphics/proj/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	proj
 PORTVERSION=	8.2.1
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	graphics geography
 MASTER_SITES=	https://download.osgeo.org/proj/
@@ -22,7 +23,6 @@ USES=		compiler:c++11-lang gmake libtool pathfix pkgconfig sqlite
 USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=		DATA
-OPTIONS_DEFAULT=		DATA
 OPTIONS_SUB=		yes
 
 DATA_DISTFILES=	proj-data-1.8${EXTRACT_SUFX}
diff --git a/graphics/proj/files/pkg-message.in b/graphics/proj/files/pkg-message.in
index 0bcec34ffd5c..c5331a9f8fce 100644
--- a/graphics/proj/files/pkg-message.in
+++ b/graphics/proj/files/pkg-message.in
@@ -6,7 +6,7 @@ should either be fetched dynamically at runtime (disabled by default, cf
 https://proj.org/usage/network.html) or be fetched locally depending on your
 work area needs, using the projsync command. 
 
-DATA option allows you to download all the data, but it requires more than 400mb!
+DATA option allows you to download all the data, but it requires more than 1.1Gb!
 This option is disabled by default.
 
 It is better to use the projsync command.