svn commit: r359099 - head/polish/libtlen

Vanilla I. Shu vanilla at FreeBSD.org
Tue Jun 24 15:37:55 UTC 2014


Author: vanilla
Date: Tue Jun 24 15:37:54 2014
New Revision: 359099
URL: http://svnweb.freebsd.org/changeset/ports/359099
QAT: https://qat.redports.org/buildarchive/r359099/

Log:
  1: Stagify.
  2: convert PORTNODOCS to options.

Modified:
  head/polish/libtlen/Makefile

Modified: head/polish/libtlen/Makefile
==============================================================================
--- head/polish/libtlen/Makefile	Tue Jun 24 15:34:26 2014	(r359098)
+++ head/polish/libtlen/Makefile	Tue Jun 24 15:37:54 2014	(r359099)
@@ -11,13 +11,16 @@ COMMENT=	Backend for interoperability wi
 
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-NO_STAGE=	yes
 
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
 post-install:
-	@${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in libtlen.html libtlen.css AUTHORS TODO
-	@${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/docs/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 


More information about the svn-ports-head mailing list