aboutsummaryrefslogtreecommitdiffstats
path: root/math/liborigin/Makefile
blob: 17c6dc7ac4c380f3f86ca02707ad77538c82cc4e (plain) (blame)
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
# $FreeBSD$

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:${PORTSDIR}/devel/boost-libs

CONFLICTS_INSTALL=  labplot-2.*

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

PORTDOCS=   *

OPTIONS_DEFINE= DOXYGEN
DOXYGEN_BUILD_DEPENDS=  doxygen:${PORTSDIR}/devel/doxygen

.include <bsd.port.options.mk>

.if ! ${PORT_OPTIONS:MDOXYGEN}
post-patch:
    ${REINPLACE_CMD} -e '/find_package(Doxygen)/d' ${WRKSRC}/CMakeLists.txt
.endif

.include <bsd.port.mk>