aboutsummaryrefslogtreecommitdiffstats
path: root/security/certificate-transparency/Makefile
blob: cec88aa08aa9a8f8a817f0bbc0b665b7b8ce8bf5 (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
42
43
44
45
46
47
# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$

PORTNAME=   certificate-transparency
PORTVERSION=    20161015
PORTREVISION=   33
CATEGORIES= security

MAINTAINER= ports@FreeBSD.org
COMMENT=    Open framework for monitoring and auditing SSL certificates

LICENSE=    APACHE20

LIB_DEPENDS?=   libevent.so:devel/libevent \
        libevhtp.so:www/libevhtp \
        libgtest.so:devel/googletest \
        libgflags.so:devel/gflags \
        libglog.so:devel/glog \
        libgmock.so:devel/googlemock \
        libicuuc.so:devel/icu \
        libjson-c.so:devel/json-c \
        libleveldb.so:databases/leveldb \
        libobjecthash.so:devel/objecthash \
        libprotobuf.so:devel/protobuf \
        libsqlite3.so:databases/sqlite3 \
        libtcmalloc.so:devel/google-perftools

USES=       autoreconf compiler:c++11-lib gmake pkgconfig
GNU_CONFIGURE=  yes
CONFIGURE_ENV+= "CFLAGS+=-I${LOCALBASE}/include CXXFLAGS+=-lgtest CXXFLAGS+=-lgmock"
MAKE_FLAGS+=    "V=1"
USE_GITHUB= yes
GH_ACCOUNT= google
GH_TAGNAME= 28478cb

CPPFLAGS+=  "-I${LOCALBASE}/include"
CPPFLAGS+=  "-I${LOCALBASE}/include/evhtp"
LDFLAGS+=   "-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

.if ${SSL_DEFAULT} == base
BROKEN_FreeBSD_12=  could not find the OpenSSL libraries
BROKEN_FreeBSD_13=  could not find the OpenSSL libraries
.endif

.include <bsd.port.post.mk>