aboutsummaryrefslogtreecommitdiffstats
path: root/devel/smack/Makefile
blob: 4045c13d17e0b2cf256dc405d7773c5f182b0223 (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
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$

PORTNAME=   smack
PORTVERSION=    0.5.0
PORTREVISION=   10
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>