aboutsummaryrefslogtreecommitdiffstats
path: root/devel/liberasurecode/Makefile
blob: 7f36c9a712212b32a1581c0d487e2081e8fd3b1e (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
PORTNAME=	liberasurecode
DISTVERSION=	1.6.5
CATEGORIES=	devel

MAINTAINER=	fuz@FreeBSD.org
COMMENT=	Unified Erasure Coding interface for common storage workloads
WWW=		https://github.com/openstack/liberasurecode

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		gmake pkgconfig autoreconf libtool
USE_GITHUB=	yes
GH_ACCOUNT=	openstack
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-pkgconfigdir="${PREFIX}/libdata/pkgconfig" \
		--disable-werror
INSTALL_TARGET=	install-strip
TEST_TARGET=	test

CFLAGS_amd64=	-DINTEL_SSE2

# documentation file names vary depending on architecture
PORTDOCS=	html

OPTIONS_DEFINE=	DOCS SIMD
DOCS_CONFIGURE_ENABLE=	doxygen
DOCS_BUILD_DEPENDS=	doxygen:devel/doxygen
SIMD_CONFIGURE_ENABLE=	mmi

.include <bsd.port.mk>