diff --git a/devel/git-review/Makefile b/devel/git-review/Makefile index 3b249eddefe1..a62fe85d8c8a 100644 --- a/devel/git-review/Makefile +++ b/devel/git-review/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= git-review -PORTVERSION= 1.23 -PORTREVISION= 1 +PORTVERSION= 1.24 CATEGORIES= devel python MASTER_SITES= CHEESESHOP @@ -11,19 +10,21 @@ COMMENT= Allow to push review and interact with a Gerrit server LICENSE= APACHE20 +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:${PORTSDIR}/devel/py-pbr RUN_DEPENDS= git:${PORTSDIR}/devel/git USES= python -NO_BUILD= yes +USE_PYTHON= distutils autoplist -PLIST_FILES= bin/git-review \ - man/man1/git-review.1.gz +PLIST_FILES= man/man1/git-review.1.gz PORTDOCS= README.rst HACKING.rst AUTHORS -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/git-review ${STAGEDIR}${PREFIX}/bin/git-review - ${INSTALL_MAN} ${WRKSRC}/git-review.1 ${STAGEDIR}${MANPREFIX}/man/man1 - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} +.include +post-install: + ${INSTALL_MAN} ${WRKSRC}/git-review.1 ${STAGEDIR}${MANPREFIX}/man/man1 +.if ${PORT_OPTIONS:MDOCS} + @${INSTALL} -d ${STAGEDIR}${DOCSDIR}/ + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} +.endif .include diff --git a/devel/git-review/distinfo b/devel/git-review/distinfo index 16be739cefc6..a84fdf706c14 100644 --- a/devel/git-review/distinfo +++ b/devel/git-review/distinfo @@ -1,2 +1,2 @@ -SHA256 (git-review-1.23.tar.gz) = ba431c12142ea15b9c3aa462134b62a7ee7ad5891428193bea3b0d1e8b1303fb -SIZE (git-review-1.23.tar.gz) = 25123 +SHA256 (git-review-1.24.tar.gz) = 20fa8be4b86430b41153c270f770dd270bde06ff70c60c411aa9adc9db2f512a +SIZE (git-review-1.24.tar.gz) = 39106