freebsd-ports/devel/git-review/Makefile
2019-10-27 21:57:45 +00:00

33 lines
807 B
Makefile

# $FreeBSD$
PORTNAME= git-review
DISTVERSION= 1.28.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
USE_PYTHON= autoplist distutils concurrent optsuffix
NO_ARCH= yes
PORTDOCS= README.rst HACKING.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>