aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/scudcloud/Makefile
blob: 36229adb408475e2456b50fdcc0676899f795ca5 (plain) (blame)
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
# Created by: Nicola Stanislao Vitale <nivit@FreeBSD.org>
# $FreeBSD$

PORTNAME=   scudcloud
PORTVERSION=    1.65
DISTVERSIONPREFIX=  v
CATEGORIES= net-im

MAINTAINER= nivit@FreeBSD.org
COMMENT=    Desktop client app for Slack

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}jsmin>0:devel/py-jsmin@${PY_FLAVOR}
RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}sip>0:devel/py-sip@${PY_FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}qt5-webkit>0:www/py-qt5-webkit@${PY_FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}qt5-webkitwidgets>0:www/py-qt5-webkitwidgets@${PY_FLAVOR}

GH_ACCOUNT= raelgc

HUNSPELL_RUN_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}hunspell>0:textproc/py-hunspell@${PY_FLAVOR} \
            qupzilla:www/qupzilla-qt5

INSTALLS_ICONS= yes

OPTIONS_DEFINE= HUNSPELL

USES=       python:3.4+
USE_GITHUB= yes
USE_PYTHON= autoplist distutils optsuffix
NO_ARCH=    yes

post-patch:
        @${REINPLACE_CMD} -i.bak -e 's,%%LOCALBASE%%,${LOCALBASE},1' \
            ${WRKSRC}/share/${PORTNAME}.desktop \
            ${WRKSRC}/${PORTNAME}/resources.py

.include <bsd.port.mk>