summaryrefslogtreecommitdiff
path: root/net/grive/Makefile
blob: 9c3f5c69b14992a75429cab6dfb0cef5b5df96b2 (plain)
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
# $NetBSD: Makefile,v 1.7 2017/01/01 16:06:32 adam Exp $

DISTNAME=	${GHNAME}-${GHDATE}-${GHCOMMIT}
PKGNAME=	${GHNAME}-0.3.0.${GHDATE}
PKGREVISION=	6
CATEGORIES=	net
MASTER_SITES=	https://github.com/${GHACCOUNT}/${GHNAME}/archive/${GHCOMMIT}/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.lbreda.com/grive/start
COMMENT=	Independent open source implementation of Google Drive client
LICENSE=	gnu-gpl-v2

GHACCOUNT=	Grive
GHNAME=		grive
GHDATE=		20130502
GHCOMMIT=	27817e835fe115ebbda5410ec904aa49a2ad01f1

WRKSRC=		${WRKDIR}/grive-${GHCOMMIT}
USE_CMAKE=	yes
USE_LANGUAGES=	c c++

SUBST_CLASSES+=		disableqt
SUBST_MESSAGE.disableqt=Disable QT frontend
SUBST_STAGE.disableqt=	pre-configure
SUBST_FILES.disableqt=	CMakeLists.txt
SUBST_SED.disableqt=	-e '/ bgrive/d'

SUBST_CLASSES+=		manpath
SUBST_MESSAGE.manpath=	Fix manpath
SUBST_STAGE.manpath=	pre-configure
SUBST_FILES.manpath=	bgrive/CMakeLists.txt grive/CMakeLists.txt
SUBST_SED.manpath=	-e 's,DESTINATION share/man,DESTINATION ${PKGMANDIR},g'

.include "../../security/libgcrypt/buildlink3.mk"
.include "../../textproc/json-c/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/cppunit/buildlink3.mk"
.include "../../devel/libiberty/buildlink3.mk"
.include "../../devel/yajl/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"