freebsd-ports/graphics/libgeotiff/Makefile
2023-01-18 15:48:50 +01:00

43 lines
1020 B
Makefile

PORTNAME= libgeotiff
PORTVERSION= 1.7.1
PORTREVISION= 2
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-zlib=/usr
CPPFLAGS+= -fPIC
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
.include <bsd.port.mk>