blob: 41bdd5f08f133a2b7f72646dd0a1e64732cf3df7 (
plain)
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
31
32
33
34
35
36
|
# $FreeBSD$
PORTNAME= hgreviewboard
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= https://bitbucket.org/ccaughie/hgreviewboard/get/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTVERSION}
DIST_SUBDIR= hgreviewboard
MAINTAINER= rpaulo@FreeBSD.org
COMMENT= Mercurial reviewboard extension
LICENSE= BSD2CLAUSE
RUN_DEPENDS= hg:${PORTSDIR}/devel/mercurial \
rbt:${PORTSDIR}/devel/rbtools
WRKSRC= ${WRKDIR}/ccaughie-hgreviewboard-e461a0baf62d
USES= python
NO_BUILD= yes
post-patch:
${SED} -i '' -e 's/import simplejson/import json as simplejson/' \
${WRKSRC}/reviewboard.py
do-install:
${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/reviewboard
${INSTALL_DATA} ${WRKSRC}/__init__.py \
${STAGEDIR}${PYTHON_SITELIBDIR}/reviewboard
${INSTALL_DATA} ${WRKSRC}/reviewboard.py \
${STAGEDIR}${PYTHON_SITELIBDIR}/reviewboard
.include <bsd.port.mk>
|