aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-lerc/Makefile
blob: f33610fb9a0201c81e6950f9ee9082879fd7e74e (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
PORTNAME=	lerc
PORTVERSION=	4.0.0
DISTVERSIONPREFIX=	v
CATEGORIES=	graphics python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Python binding for LERC (Limited Error Raster Compression)
WWW=		https://esri.github.io/lerc/

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/../../LICENSE

LIB_DEPENDS=	libLerc.so:graphics/lerc

USES=		python:3.6+
USE_PYTHON=	autoplist concurrent distutils

WRKSRC_SUBDIR=	OtherLanguages/Python

GH_ACCOUNT=	Esri
USE_GITHUB=	yes

# lib/libLerc.* are not available until configure phase
post-configure:
	@${MKDIR} ${WRKSRC}/../../bin/FreeBSD/
	@${CP} ${LOCALBASE}/lib/libLerc.so.* ${WRKSRC}/../../bin/FreeBSD/

.include <bsd.port.mk>