aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/syncthing-gtk/Makefile
blob: 388c7c8b17bfd5ddbb7566287a86a03cf7537ff5 (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
# $FreeBSD$

PORTNAME=   syncthing-gtk
PORTVERSION=    0.9.2.6
DISTVERSIONPREFIX=  v
CATEGORIES= deskutils python

MAINTAINER= swills@FreeBSD.org
COMMENT=    Python based GUI for Syncthing

LICENSE=    GPLv2

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil \
        ${PYTHON_PKGNAMEPREFIX}bcrypt>0:security/py-bcrypt

USE_GITHUB= yes
GH_ACCOUNT= syncthing

USES=       python:2
USE_PYTHON= autoplist distutils
USE_GNOME=  gtk30 pygobject3
INSTALLS_ICONS= yes
NO_ARCH=    yes

post-patch:
    @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
        ${WRKSRC}/syncthing-gtk.desktop \
        ${WRKSRC}/syncthing_gtk/configuration.py

.include <bsd.port.mk>