summaryrefslogtreecommitdiff
path: root/devel/liborcus/Makefile
blob: 6ae70a758cb6a76c7f15adc8c83edbf99bfcaeec (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
34
35
36
37
38
39
40
41
PORTNAME=	liborcus
DISTVERSION=	0.19.2
PORTREVISION=	4
CATEGORIES=	devel misc
MASTER_SITES=	https://kohei.us/files/orcus/src/

MAINTAINER=	office@FreeBSD.org
COMMENT=	Standalone file import filter library for spreadsheet documents
WWW=		https://gitlab.com/orcus/orcus

LICENSE=	MPL20
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	mdds>=2.1:devel/mdds
LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
		libixion-0.18.so:textproc/libixion

USES=		compiler:c++17-lang gmake libtool localbase:ldflags \
		pathfix pkgconfig tar:xz
USE_LDCONFIG=	yes

GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip

CXXFLAGS+=	-Wno-narrowing

CONFIGURE_ARGS=	--disable-werror \
		--with-boost="${LOCALBASE}" \
		--with-boost-system=boost_system \
		--disable-python

OPTIONS_DEFINE=	STATIC
OPTIONS_DEFAULT=STATIC
OPTIONS_SUB=	yes

STATIC_CONFIGURE_ENABLE=	static

PLIST_SUB=	VERSION=0.18
#PLIST_SUB=	VERSION=${PORTVERSION:R}

.include <bsd.port.mk>