Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/net-im/diligent/Makefile
16123 views
# Created by: Kris Moore <[email protected]>

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

MAINTAINER=	[email protected]
COMMENT=	Unofficial Qt Slack client

LICENSE=	LGPL3

USE_LDCONFIG=	yes
USE_QT=		core gui linguist network svg \
		webkit widgets x11extras buildtools_build
USE_GL=		gl
USES=		compiler:c++11-lang gl qmake qt:5

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>