2013-12-06 18:29:54 -05:00
|
|
|
# Created by: Yuri Victorovich <yuri@tsoft.com>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bitmessage
|
2014-08-09 08:27:18 -04:00
|
|
|
PORTVERSION= 0.4.3
|
2014-09-10 16:50:31 -04:00
|
|
|
PORTREVISION= 1
|
2013-12-06 18:29:54 -05:00
|
|
|
CATEGORIES= net-p2p
|
|
|
|
MASTER_SITES= GH
|
|
|
|
|
|
|
|
MAINTAINER= yuri@tsoft.com
|
|
|
|
COMMENT= Secure P2P communications client
|
|
|
|
|
2014-03-12 22:58:56 -04:00
|
|
|
LICENSE= MIT
|
|
|
|
|
2013-12-06 18:29:54 -05:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}qt4-core>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-core \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}qt4-gui>=${PYQT4_VERSION}:${PORTSDIR}/x11-toolkits/py-qt4-gui
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= Bitmessage
|
|
|
|
GH_PROJECT= PyBitmessage
|
2014-08-09 08:27:18 -04:00
|
|
|
GH_COMMIT= ab49373
|
2013-12-06 18:29:54 -05:00
|
|
|
GH_TAGNAME= v${PORTVERSION}
|
|
|
|
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
|
2014-03-12 22:58:56 -04:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|python2|${PYTHON_CMD}|' ${WRKSRC}/Makefile
|
|
|
|
|
2013-12-06 18:29:54 -05:00
|
|
|
do-build:
|
|
|
|
@(cd ${WRKSRC} && \
|
|
|
|
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
|
|
|
|
-d ${WRKSRC} -f ${WRKSRC} && \
|
|
|
|
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
|
|
|
|
-d ${WRKSRC} -f ${WRKSRC})
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|