aboutsummaryrefslogtreecommitdiff
path: root/finance/electrum/Makefile
blob: 5db061af3e5a387135e19ca959a830ce6b26f88b (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
# Created by: Neil Booth
# $FreeBSD$

PORTNAME=	electrum
PORTVERSION=	1.9.8
PORTREVISION=	1
CATEGORIES=	finance python
MASTER_SITES=	http://download.electrum.org/
DISTNAME=	Electrum-${PORTVERSION}

MAINTAINER=	kyuupichan@gmail.com
COMMENT=	Easy to use Bitcoin client

LICENSE=	GPLv3

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}slowaes>0:${PORTSDIR}/security/py-slowaes \
		${PYTHON_PKGNAMEPREFIX}ecdsa>0:${PORTSDIR}/security/py-ecdsa \
		${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.10.3:${PORTSDIR}/x11-toolkits/py-qt4-gui

USE_PYTHON=	-2.7
USE_PYDISTUTILS=yes
USES=		desktop-file-utils gettext
PYDISTUTILS_PKGNAME=	Electrum

post-patch:
	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
		${WRKSRC}/setup.py ${WRKSRC}/lib/util.py

.include <bsd.port.mk>