summaryrefslogtreecommitdiff
path: root/graphics/proj/Makefile
blob: 0d3a2e1c4064e2b77b2cfcf57631944dd8c5addc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
PORTNAME=	proj
DISTVERSION=	9.7.0
PORTEPOCH=	1
CATEGORIES=	graphics geography
MASTER_SITES=	https://github.com/OSGeo/PROJ/releases/download/${DISTVERSION}/ \
		https://download.osgeo.org/proj/

MAINTAINER=	lbartoletti@FreeBSD.org
COMMENT=	Cartographic Projections library
WWW=		https://github.com/OSGeo/PROJ

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	nlohmann-json>=3:devel/nlohmann-json
LIB_DEPENDS=	libcurl.so:ftp/curl \
		libtiff.so:graphics/tiff
TEST_DEPENDS=	googletest>0:devel/googletest
#RUN_DEPENDS=	proj-data>=0:graphics/proj-data

USES=		compiler:c++17-lang cmake:testing cpe pathfix pkgconfig sqlite
CPE_VENDOR=	proj_project
USE_LDCONFIG=	yes

CMAKE_TESTING_ON=	BUILD_TESTING \
			USE_EXTERNAL_GTEST
CMAKE_TESTING_OFF=	TESTING_USE_NETWORK

CMAKE_OFF=	BUILD_TESTING

.include <bsd.port.mk>