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

PORTNAME=	diligent
PORTVERSION=	0.2.7
DISTVERSIONPREFIX=	v
CATEGORIES=	net-im

MAINTAINER=	kmoore@FreeBSD.org
COMMENT=	Unofficial Qt Slack client

LICENSE=	LGPL3

LIB_DEPENDS=	libQt5WebKitWidgets.so:www/webkit-qt5

USE_LDCONFIG=	yes
USE_QT5=	core gui network svg linguist \
		buildtools x11extras widgets
USE_GL+=	gl
USES=		compiler:c++11-lang qmake tar:xz

QMAKE_ARGS=	CONFIG+="configure"

USE_GITHUB=	yes
GH_ACCOUNT=	trueos
GH_PROJECT=	diligent
PLIST_FILES=	bin/diligent \
		share/applications/diligent.desktop \
		share/icons/diligent.png
SUB_FILES=      diligent.desktop

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/diligent ${STAGEDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKDIR}/${SUB_FILES} ${STAGEDIR}${PREFIX}/share/applications/
	${MKDIR} ${STAGEDIR}${PREFIX}/share/icons
	${INSTALL_DATA} ${WRKSRC}/images/png/Slack.png ${STAGEDIR}${PREFIX}/share/icons/diligent.png

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