diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-07-12 15:01:45 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-07-12 15:01:45 +0000 |
commit | daffe00d4a57c0ef6a21947a8121b8d233d8d3a5 (patch) | |
tree | 713942325bda393305edb21d46cd7f38d213aebc /devel/hgview | |
parent | 51498efaebaad1106dcf0d3f70c8feaa14c411ee (diff) | |
download | ports-daffe00d4a57c0ef6a21947a8121b8d233d8d3a5.tar.gz ports-daffe00d4a57c0ef6a21947a8121b8d233d8d3a5.zip |
Notes
Diffstat (limited to 'devel/hgview')
-rw-r--r-- | devel/hgview/Makefile | 10 |
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 |