diff options
Diffstat (limited to 'devel/hgview/Makefile')
-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 |