freebsd-ports/science/libkml/Makefile
Sunpoet Po-Chuan Hsieh f1fb1a4f82 - Cleanup GH_* knobs:
- Use DISTVERSIONPREFIX
  - Remove GH_PROJECT
2015-05-13 18:59:21 +00:00

38 lines
990 B
Makefile

# Created by: Wen Heping <wen@FreeBSD.org>
# $FreeBSD$
PORTNAME= libkml
PORTVERSION= 1.2
DISTVERSIONPREFIX= release-
PORTREVISION= 4
CATEGORIES= science
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Library for parse, generate, and operate on KML
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${LOCALBASE}/bin/curl-config:${PORTSDIR}/ftp/curl \
${LOCALBASE}/include/expat.h:${PORTSDIR}/textproc/expat2
LIB_DEPENDS= liburiparser.so:${PORTSDIR}/net/uriparser
OPTIONS_DEFINE= SWIG
CONFIGURE_ARGS= --disable-java --disable-python \
--with-expat-include-dir=${LOCALBASE}/include \
--with-expat-lib-dir=${LOCALBASE}/lib
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
USES= autoreconf gmake libtool
GH_ACCOUNT= google
USE_GITHUB= yes
SWIG_BUILD_DEPENDS= ${LOCALBASE}/bin/swig:${PORTSDIR}/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>