diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-03-02 17:17:18 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-03-02 17:17:18 +0000 |
commit | 4f20c43ff63e670f1c8095daa42eb6ea767897dd (patch) | |
tree | 4931c4444a0310052c76096c1cf748155eef8aa8 /devel/hgreviewboard/Makefile | |
parent | 04481af80023ddfe51645c5177c588f171882fa3 (diff) | |
download | ports-4f20c43ff63e670f1c8095daa42eb6ea767897dd.tar.gz ports-4f20c43ff63e670f1c8095daa42eb6ea767897dd.zip |
Notes
Diffstat (limited to 'devel/hgreviewboard/Makefile')
-rw-r--r-- | devel/hgreviewboard/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/devel/hgreviewboard/Makefile b/devel/hgreviewboard/Makefile index eacc58a7cba6..1ec7fa14a93a 100644 --- a/devel/hgreviewboard/Makefile +++ b/devel/hgreviewboard/Makefile @@ -12,7 +12,8 @@ DIST_SUBDIR= hgreviewboard MAINTAINER= ports@FreeBSD.org COMMENT= Mercurial reviewboard extension -LICENSE= BSD2CLAUSE +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= hg:devel/mercurial \ rbt:devel/rbtools @@ -21,16 +22,17 @@ WRKSRC= ${WRKDIR}/ccaughie-hgreviewboard-e461a0baf62d USES= python NO_BUILD= yes +NO_ARCH= yes post-patch: - ${SED} -i '' -e 's/import simplejson/import json as simplejson/' \ + @${REINPLACE_CMD} -e 's/import simplejson/import json as simplejson/' \ ${WRKSRC}/reviewboard.py do-install: - ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/reviewboard + @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/reviewboard ${INSTALL_DATA} ${WRKSRC}/__init__.py \ - ${STAGEDIR}${PYTHON_SITELIBDIR}/reviewboard + ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/reviewboard ${INSTALL_DATA} ${WRKSRC}/reviewboard.py \ - ${STAGEDIR}${PYTHON_SITELIBDIR}/reviewboard + ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/reviewboard .include <bsd.port.mk> |