# $FreeBSD: tags/RELEASE_11_0_0/math/liborigin/Makefile 412348 2016-04-01 14:16:16Z mat $

PORTNAME=	liborigin
PORTVERSION=	2.0.0
PORTEPOCH=	1
CATEGORIES=	math
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/2.0

MAINTAINER=	makc@FreeBSD.org
COMMENT=	Library and utility for reading OriginLab project files

BUILD_DEPENDS=	${LOCALBASE}/include/boost/algorithm/string.hpp:devel/boost-libs

CONFLICTS_INSTALL=	labplot-2.*

USES=		cmake:outsource
USE_LDCONFIG=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}

PORTDOCS=	*

OPTIONS_DEFINE=	DOXYGEN
DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen

post-patch-DOXYGEN-off:
	${REINPLACE_CMD} -e '/find_package(Doxygen)/d' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>
