summaryrefslogtreecommitdiffstats
path: root/net-im/sigram/Makefile
blob: f17d1c5a46483cdc718742b5b60d1af95fc7eb04 (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
# Created by: Kris Moore <kmoore@freebsd.org>
# $FreeBSD$

PORTNAME=	sigram
PORTVERSION=	0.11182014
PORTREVISION=	2
CATEGORIES=	net-im

MAINTAINER=	kmoore@FreeBSD.org
COMMENT=	Qt5 based telegram client

LICENSE=	GPLv3

USE_GITHUB=	yes
GH_ACCOUNT=	sialan-labs
GH_TAGNAME=	${GH_COMMIT}
GH_COMMIT=	ce3fb15

USE_OPENSSL=	yes
USE_QT5=	core gui network opengl xml widgets buildtools_build graphicaleffects \
		multimedia printsupport qml quick quickcontrols widgets \
		sql sql-sqlite3
USES=		compiler:c++11-lib openal:soft qmake
QMAKE_ARGS+=	target.path=${LOCALBASE}/bin

.include <bsd.port.pre.mk>

post-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/share/sigram
	${CP} -r ${WRKSRC}/build/* ${STAGEDIR}${PREFIX}/share/sigram/
	${RM} ${STAGEDIR}/${PREFIX}/share/sigram/Sigram

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud