1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/science/libkml/Makefile

38 lines
897 B
Makefile

# Created by: Wen Heping <wen@FreeBSD.org>
PORTNAME= libkml
PORTVERSION= 1.3.0
PORTREVISION= 18
CATEGORIES= science
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Reference implementation of OGC KML 2.2
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= boost-libs>=1.44.0:devel/boost-libs \
googletest>=1.7.0:devel/googletest \
minizip>=1.2.8:archivers/minizip
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libexpat.so:textproc/expat2 \
libgtest.so:devel/googletest \
libminizip.so:archivers/minizip \
liburiparser.so:net/uriparser
OPTIONS_DEFINE= EXAMPLES
USES= cmake compiler:c11 pathfix
CMAKE_OFF= WITH_JAVA WITH_PYTHON WITH_SWIG
USE_CXXSTD= gnu++98
USE_LDCONFIG= yes
USE_GITHUB= yes
EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES INSTALL_EXAMPLES
EXAMPLES_CMAKE_ON= -DKML_EXAMPLES_DIR=${EXAMPLESDIR}
EXAMPLES_LIB_DEPENDS= libcurl.so:ftp/curl
.include <bsd.port.mk>