30 lines
638 B
Makefile
30 lines
638 B
Makefile
# $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>
|