aboutsummaryrefslogtreecommitdiff
path: root/graphics/libgeotiff/Makefile
blob: 6dd2c199de407ea82788b54757667722deef4c8b (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
32
33
34
35
36
37
38
39
40
41
42
PORTNAME=	libgeotiff
PORTVERSION=	1.7.1
PORTREVISION=	3
CATEGORIES=	graphics
MASTER_SITES=	https://download.osgeo.org/geotiff/libgeotiff/ \
		LOCAL/sunpoet

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Library for reading and writing GeoTIFF information tags
WWW=		https://github.com/OSGeo/libgeotiff

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	proj>=6,1:graphics/proj
LIB_DEPENDS=	libjbig.so:graphics/jbigkit \
		libproj.so:graphics/proj \
		libtiff.so:graphics/tiff

USES=		jpeg libtool

CONFIGURE_ARGS=	--datadir=${DATADIR} \
		--disable-doxygen-chi \
		--disable-doxygen-chm \
		--disable-doxygen-doc \
		--disable-doxygen-dot \
		--disable-doxygen-html \
		--disable-doxygen-man \
		--disable-doxygen-pdf \
		--disable-doxygen-ps \
		--disable-doxygen-rtf \
		--disable-doxygen-xml \
		--with-jpeg=${LOCALBASE} \
		--with-libtiff=${LOCALBASE} \
		--with-proj=${LOCALBASE} \
		--with-zip=/usr
CPPFLAGS+=	-fPIC
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USE_LDCONFIG=	yes

.include <bsd.port.mk>