mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
da3162c7c9
Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Created by: Kris Moore <kmoore@FreeBSD.org>
|
|
|
|
PORTNAME= teamwords
|
|
PORTVERSION= 0.2.1
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 9
|
|
CATEGORIES= net-im
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Unofficial Qt Slack client
|
|
|
|
LICENSE= LGPL3
|
|
|
|
USES= compiler:c++11-lang gl qmake qt:5
|
|
USE_LDCONFIG= yes
|
|
USE_QT= core gui network webkit widgets buildtools_build
|
|
USE_GL= gl
|
|
|
|
QMAKE_ARGS= CONFIG+="configure"
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= MiT-Ufa
|
|
GH_PROJECT= TeamWords
|
|
PLIST_FILES= bin/teamwords \
|
|
share/applications/teamwords.desktop \
|
|
share/icons/teamwords.png
|
|
SUB_FILES= teamwords.desktop
|
|
|
|
OPTIONS_DEFINE= WEBKITNOTIFY
|
|
|
|
WEBKITNOTIFY_DESC= Use QtWebkit for notifications
|
|
|
|
post-patch-WEBKITNOTIFY-on:
|
|
@${REINPLACE_CMD} 's|linux|unix|' \
|
|
${WRKSRC}/plugins/qtwebkit/qtwebkit-plugins.pri
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/teamwords ${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/teamwords.png
|
|
|
|
.include <bsd.port.mk>
|