mirror of
https://git.freebsd.org/ports.git
synced 2025-06-16 18:20:33 -04:00
31 lines
803 B
Makefile
31 lines
803 B
Makefile
PORTNAME= git-review
|
|
DISTVERSION= 2.2.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
MAINTAINER= dereckson@gmail.com
|
|
COMMENT= Allow to push code to review and interact with a Gerrit server
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR}
|
|
RUN_DEPENDS= git:devel/git \
|
|
${PYTHON_PKGNAMEPREFIX}requests>2.4:www/py-requests@${PY_FLAVOR}
|
|
|
|
USES= python:3.7+
|
|
USE_PYTHON= autoplist distutils concurrent optsuffix
|
|
NO_ARCH= yes
|
|
|
|
PORTDOCS= README.rst CONTRIBUTING.rst AUTHORS
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/git-review.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|