Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2017 11:08:55 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455260 - head/graphics/autopano-sift-c
Message-ID:  <201712011108.vB1B8t07090628@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Dec  1 11:08:55 2017
New Revision: 455260
URL: https://svnweb.freebsd.org/changeset/ports/455260

Log:
  - Optionize DOCS

Modified:
  head/graphics/autopano-sift-c/Makefile

Modified: head/graphics/autopano-sift-c/Makefile
==============================================================================
--- head/graphics/autopano-sift-c/Makefile	Fri Dec  1 11:08:29 2017	(r455259)
+++ head/graphics/autopano-sift-c/Makefile	Fri Dec  1 11:08:55 2017	(r455260)
@@ -23,14 +23,14 @@ USES=		cmake jpeg
 
 PORTDOCS=	*
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|share/man|man|' -e '/set(all_libs/s/$$/ m/' \
 		${WRKSRC}/CMakeLists.txt
 
-post-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.1ST ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>



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