Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2014 15:42:56 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361792 - head/deskutils/mirall
Message-ID:  <201407141542.s6EFguSr036850@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Mon Jul 14 15:42:55 2014
New Revision: 361792
URL: http://svnweb.freebsd.org/changeset/ports/361792
QAT: https://qat.redports.org/buildarchive/r361792/

Log:
  Fix installation with DOCS disabled.
  
  PR:		144406
  Submitted by:	Chris Nehren

Modified:
  head/deskutils/mirall/Makefile

Modified: head/deskutils/mirall/Makefile
==============================================================================
--- head/deskutils/mirall/Makefile	Mon Jul 14 15:38:39 2014	(r361791)
+++ head/deskutils/mirall/Makefile	Mon Jul 14 15:42:55 2014	(r361792)
@@ -41,6 +41,9 @@ post-patch:
 post-build:
 	@(cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample)
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${INSTALL_WRKSRC}/doc/latex && ${INSTALL_DATA} *.pdf \
@@ -48,5 +51,6 @@ post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
 	@(cd ${INSTALL_WRKSRC}/doc/html/unthemed && ${COPYTREE_SHARE} . \
 		${STAGEDIR}${DOCSDIR}/html)
+.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407141542.s6EFguSr036850>