freebsd-ports/devel/git-review/Makefile
Dmitry Marakasov f43b997d00 - Add missing DOCS option
- Switch to options helpers
- Add NO_ARCH

Approved by:	portmgr blanket
2015-08-31 21:28:55 +00:00

35 lines
840 B
Makefile

# $FreeBSD$
PORTNAME= git-review
PORTVERSION= 1.24
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
MAINTAINER= dereckson@gmail.com
COMMENT= Allow to push review and interact with a Gerrit server
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:${PORTSDIR}/devel/py-pbr
RUN_DEPENDS= git:${PORTSDIR}/devel/git \
${PYTHON_PKGNAMEPREFIX}requests>2.4:${PORTSDIR}/www/py-requests
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
PLIST_FILES= man/man1/git-review.1.gz
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>