aboutsummaryrefslogtreecommitdiffstats
path: root/net/grive2/Makefile
blob: 3a5173df6b4d6f30c4f8c4cecac9b5e2ddc50b00 (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
# Created by: Carlos J Puga Medina <cpm@FreeBSD.org>
# $FreeBSD$

PORTNAME=   grive2
DISTVERSIONPREFIX=  v
DISTVERSION=    0.5.1-dev
PORTREVISION=   3
CATEGORIES= net

MAINTAINER= cpm@FreeBSD.org
COMMENT=    Open source client for Google Drive

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libboost_filesystem.so:devel/boost-libs \
        libcurl.so:ftp/curl \
        libexpat.so:textproc/expat2 \
        libgcrypt.so:security/libgcrypt \
        libgpg-error.so:security/libgpg-error \
        libyajl.so:devel/yajl

USES=       cmake compiler localbase pkgconfig
CXXFLAGS+=  ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_clang= -Wno-c++11-narrowing

USE_GITHUB= yes
GH_ACCOUNT= vitalif
GH_TAGNAME= ad9b66a

PLIST_FILES=    bin/grive \
        man/man1/grive.1.gz

OPTIONS_DEFINE= BACKTRACE

BACKTRACE_DESC= Enable backtrace support
BACKTRACE_LIB_DEPENDS=  libbfd.so:devel/libbfd
BACKTRACE_LDFLAGS=  -lexecinfo
BACKTRACE_CMAKE_OFF=    -DCMAKE_DISABLE_FIND_PACKAGE_BFD=true

.include <bsd.port.mk>