freebsd-ports/devel/hgreviewboard/Makefile
Sergey A. Osokin 06a8050112 devel/mercurial: update to 5.9.1.
Bump PORTREVISIONs for dependant ports.
While I'm here update devel/tortoisehg to 5.9.1. (*)

Approved by:	arrowd (*)
PR:		ports/258352
2021-09-15 22:16:07 -04:00

36 lines
905 B
Makefile

PORTNAME= hgreviewboard
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= devel python
MASTER_SITES= https://bitbucket.org/ccaughie/hgreviewboard/get/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTVERSION}
DIST_SUBDIR= hgreviewboard
MAINTAINER= ports@FreeBSD.org
COMMENT= Mercurial reviewboard extension
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PY_MERCURIAL} \
rbt:devel/rbtools
WRKSRC= ${WRKDIR}/ccaughie-hgreviewboard-e461a0baf62d
USES= python
NO_BUILD= yes
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e 's/import simplejson/import json as simplejson/' \
${WRKSRC}/reviewboard.py
do-install:
@${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/reviewboard
${INSTALL_DATA} ${WRKSRC}/__init__.py \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/reviewboard
${INSTALL_DATA} ${WRKSRC}/reviewboard.py \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/reviewboard
.include <bsd.port.mk>