aboutsummaryrefslogtreecommitdiffstats
path: root/math/liborigin/Makefile
blob: 75ce968b4bed69f63d611d28851987fcbbfe453f (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
WRKSRC=     ${WRKDIR}/${PORTNAME}

PORTDOCS=   *

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

NO_STAGE=   yes
.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>