2013-07-30 09:42:03 +02:00
|
|
|
# Created by: Key-Teck SIN <ktsin@acm.org>
|
2013-05-24 12:16:58 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= grive
|
|
|
|
PORTVERSION= 0.2.0
|
2013-11-09 16:57:18 +01:00
|
|
|
PORTREVISION= 1
|
2013-05-24 12:16:58 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
MAINTAINER= ktsin@acm.org
|
|
|
|
COMMENT= Open source client for Google Drive
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libiberty.a:${PORTSDIR}/devel/binutils
|
2013-10-21 14:34:44 +02:00
|
|
|
LIB_DEPENDS= libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \
|
|
|
|
libcurl.so:${PORTSDIR}/ftp/curl \
|
|
|
|
libexpat.so:${PORTSDIR}/textproc/expat2 \
|
|
|
|
libgcrypt.so:${PORTSDIR}/security/libgcrypt \
|
|
|
|
libjson.so:${PORTSDIR}/devel/json-c
|
2013-05-24 12:16:58 +02:00
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= Grive
|
|
|
|
GH_PROJECT= ${PORTNAME}
|
|
|
|
GH_COMMIT= 93d696a
|
|
|
|
GH_TAGNAME= v${PORTVERSION}
|
|
|
|
|
|
|
|
USES= cmake
|
|
|
|
CXXFLAGS+= -I${LOCALBASE}/include
|
|
|
|
|
2013-10-21 14:34:44 +02:00
|
|
|
PLIST_FILES= bin/grive man/man1/grive.1.gz
|
2013-05-24 12:16:58 +02:00
|
|
|
|
2013-07-30 09:42:03 +02:00
|
|
|
# Allow to build with GCC 4.2
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,log::,gr::&,g' ${WRKSRC}/grive/src/main.cc
|
2013-05-24 12:16:58 +02:00
|
|
|
|
|
|
|
post-install:
|
2013-10-21 14:34:44 +02:00
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/grive
|
2013-05-24 12:16:58 +02:00
|
|
|
|
2013-07-30 09:42:03 +02:00
|
|
|
.include <bsd.port.mk>
|