aboutsummaryrefslogtreecommitdiff
path: root/devel/liberasurecode/Makefile
blob: 402cebd8dc2106adbead9791db699e598dafebbe (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
PORTNAME=	liberasurecode
DISTVERSION=	1.8.0
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

PLIST_SUB=	DISTVERSION=${DISTVERSION}

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

.include <bsd.port.mk>