aboutsummaryrefslogtreecommitdiff
path: root/devel/git-review/Makefile
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2013-04-18 12:06:10 +0000
committerFrederic Culot <culot@FreeBSD.org>2013-04-18 12:06:10 +0000
commitf972472c8b0dd3d7add6909b506a1c4b815aa9ae (patch)
treee0615723356b552fa44cf397798a02834cdbcd66 /devel/git-review/Makefile
parent4a613a348ed6271deb9ff27b9a29a42de17673b6 (diff)
Notes
Diffstat (limited to 'devel/git-review/Makefile')
-rw-r--r--devel/git-review/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/git-review/Makefile b/devel/git-review/Makefile
index 2fb66775cca7..e34562967f93 100644
--- a/devel/git-review/Makefile
+++ b/devel/git-review/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= git-review
-PORTVERSION= 1.20
+PORTVERSION= 1.21
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
MASTER_SITE_SUBDIR= source/g/${PORTNAME}
@@ -19,13 +19,15 @@ NO_BUILD= yes
MAN1= git-review.1
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/git-review ${PREFIX}/bin/git-review
${INSTALL_MAN} ${WRKSRC}/git-review.1 ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.md ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/HACKING ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/HACKING.rst ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/AUTHORS ${DOCSDIR}
.endif