svn commit: r455260 - head/graphics/autopano-sift-c

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Dec 1 11:08:56 UTC 2017


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>


More information about the svn-ports-head mailing list