svn commit: r319123 - head/devel/qct

Boris Samorodov bsam at FreeBSD.org
Sun May 26 17:36:39 UTC 2013


Author: bsam
Date: Sun May 26 17:36:38 2013
New Revision: 319123
URL: http://svnweb.freebsd.org/changeset/ports/319123

Log:
  Convert NOPORTDOCS -> PORT_OPTIONS:MDOCS.

Modified:
  head/devel/qct/Makefile

Modified: head/devel/qct/Makefile
==============================================================================
--- head/devel/qct/Makefile	Sun May 26 17:10:31 2013	(r319122)
+++ head/devel/qct/Makefile	Sun May 26 17:36:38 2013	(r319123)
@@ -18,10 +18,13 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}qt4-
 USE_PYTHON=	2.5+
 USE_PYDISTUTILS=	yes
 WRKSRC=		${WRKDIR}/qct
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
 
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
 	${INSTALL_MAN} ${WRKSRC}/doc/qct.1.txt ${DOCSDIR}/qct.1.txt
 .endif
 


More information about the svn-ports-all mailing list