1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/net/grive/Makefile
Jan Beich 98eb11b2f0 devel/boost-*: update to 1.65.1
Changes:	http://www.boost.org/users/history/version_1_65_1.html
PR:		218835
Approved by:	maintainer timeout (1.65.1: 2 weeks; 1.65.0: 1 month)
Tested by:	jhibbits (on powerpc64, earlier version)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D11582
2017-09-25 00:08:16 +00:00

41 lines
954 B
Makefile

# Created by: Key-Teck SIN <ktsin@acm.org>
# $FreeBSD$
PORTNAME= grive
PORTVERSION= 0.3.0
PORTREVISION= 8
CATEGORIES= net
MAINTAINER= ktsin@acm.org
COMMENT= Open source client for Google Drive
LICENSE= GPLv2
LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \
libcurl.so:ftp/curl \
libexpat.so:textproc/expat2 \
libgcrypt.so:security/libgcrypt \
libjson-c.so:devel/json-c \
libyajl.so:devel/yajl
CONFLICTS_INSTALL= grive2-[0-9]*
USE_GITHUB= yes
GH_ACCOUNT= Grive
GH_TAGNAME= 27817e8
USES= cmake
CXXFLAGS+= -I${LOCALBASE}/include
PLIST_FILES= bin/grive man/man1/grive.1.gz
post-patch:
@${REINPLACE_CMD} -e '/FIND_LIBRARY/s,json,&-c,' \
${WRKSRC}/cmake/Modules/FindJSONC.cmake
# Do not build Qt4-based frontend: it's buggy and quite useless anyway
@${REINPLACE_CMD} -e '/ bgrive/d' ${WRKSRC}/CMakeLists.txt
# Allow to build with GCC 4.2
@${REINPLACE_CMD} -e 's,log::,gr::&,g' ${WRKSRC}/grive/src/main.cc
.include <bsd.port.mk>