summaryrefslogtreecommitdiffstats
path: root/devel/smack/Makefile
blob: 432463a51bd911365538cab53426fc895908e7d3 (plain)
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
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$

PORTNAME=	smack
PORTVERSION=	0.5.0
PORTREVISION=	6
CATEGORIES=	devel

MAINTAINER=	vg@FreeBSD.org
COMMENT=	Low-level I/O storage library which packs data

LICENSE=	GPLv2

LIB_DEPENDS=	libboost_iostreams.so:devel/boost-libs \
		libsnappy.so:archivers/snappy

USE_GITHUB=	yes
GH_ACCOUNT=	zloidemon
GH_TAGNAME=	72c81bf

USES=		cmake
USE_LDCONFIG=	yes

OPTIONS_DEFINE=	EXAMPLES

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MEXAMPLES}
PLIST_SUB=	EXAMPLES=""
CMAKE_ARGS=	-DENABLE_EXAMPLES=ON
.else
CMAKE_ARGS=	-DENABLE_EXAMPLES=OFF
PLIST_SUB=	EXAMPLES="@comment "
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud