svn commit: r351788 - head/x11-toolkits/pure-tk

Baptiste Daroussin bapt at FreeBSD.org
Tue Apr 22 09:54:33 UTC 2014


Author: bapt
Date: Tue Apr 22 09:54:33 2014
New Revision: 351788
URL: http://svnweb.freebsd.org/changeset/ports/351788
QAT: https://qat.redports.org/buildarchive/r351788/

Log:
  Support stage

Modified:
  head/x11-toolkits/pure-tk/Makefile

Modified: head/x11-toolkits/pure-tk/Makefile
==============================================================================
--- head/x11-toolkits/pure-tk/Makefile	Tue Apr 22 09:52:49 2014	(r351787)
+++ head/x11-toolkits/pure-tk/Makefile	Tue Apr 22 09:54:33 2014	(r351788)
@@ -27,25 +27,16 @@ post-patch:
 		-e "s|-ltk\$$(tclvers)|-ltk${TK_SHLIB_VER}|" \
 		${WRKSRC}/Makefile
 
-NO_STAGE=	yes
-
 PORTDOCS=	README
 
 PORTEXAMPLES=	*
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list