aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-lerc/Makefile
blob: 12425e110993aa6c7ab4e7ddcd05e4abcd6739c1 (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
PORTNAME=	lerc
PORTVERSION=	4.0.1
CATEGORIES=	graphics python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

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

LICENSE=	APACHE20

LIB_DEPENDS=	libLerc.so:graphics/lerc

USES=		dos2unix python:3.6+
USE_PYTHON=	autoplist concurrent distutils

post-patch:
	@${RM} ${WRKSRC}/lerc/libLerc.so.4

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

.include <bsd.port.mk>