aboutsummaryrefslogtreecommitdiff
path: root/devel/hgview
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
commitdaffe00d4a57c0ef6a21947a8121b8d233d8d3a5 (patch)
tree713942325bda393305edb21d46cd7f38d213aebc /devel/hgview
parent51498efaebaad1106dcf0d3f70c8feaa14c411ee (diff)
downloadports-daffe00d4a57c0ef6a21947a8121b8d233d8d3a5.tar.gz
ports-daffe00d4a57c0ef6a21947a8121b8d233d8d3a5.zip
Notes
Diffstat (limited to 'devel/hgview')
-rw-r--r--devel/hgview/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/devel/hgview/Makefile b/devel/hgview/Makefile
index 92ba05103cda..33163eeee5ba 100644
--- a/devel/hgview/Makefile
+++ b/devel/hgview/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: hgview
-# Date created: 20 Nov 2008
-# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= hgview
PORTVERSION= 1.6.2
@@ -31,6 +27,8 @@ PORTDOCS= *
MAN1= hgview.1
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|share/python-support/mercurial-common|${PYTHON_SITELIBDIR:C,^${PYTHONBASE}/,,}|' \
${WRKSRC}/hgviewlib/__pkginfo__.py
@@ -40,8 +38,8 @@ post-patch:
${WRKSRC}/README
@${REINPLACE_CMD} -e 's|'make'|'${GMAKE}'|' ${WRKSRC}/setup.py
-.if !defined(NOPORTDOCS)
post-install:
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif