summaryrefslogtreecommitdiffstats
path: root/science/libkml/Makefile
blob: 852d44a7add2846ee8a2a3ac5e4581a669d2cff0 (plain)
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
# Created by: Wen Heping <wen@FreeBSD.org>
# $FreeBSD$

PORTNAME=	libkml
PORTVERSION=	1.2
DISTVERSIONPREFIX=	release-
PORTREVISION=	6
CATEGORIES=	science

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Library for parse, generate, and operate on KML

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	curl-config:ftp/curl
LIB_DEPENDS=	libexpat.so:textproc/expat2 \
		liburiparser.so:net/uriparser

OPTIONS_DEFINE=	SWIG

CONFIGURE_ARGS=	--disable-java --disable-python
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USE_LDCONFIG=	yes
USES=		autoreconf gmake libtool localbase

GH_ACCOUNT=	google
USE_GITHUB=	yes

SWIG_BUILD_DEPENDS=	swig:devel/swig13
SWIG_CONFIGURE_OFF=	--disable-swig

post-patch:
	@${FIND} ${WRKSRC} -name Makefile.am -exec ${REINPLACE_CMD} 's|-Werror||; s| -ansi -pedantic||' {} \;

.include <bsd.port.mk>
OpenPOWER on IntegriCloud