svn commit: r429485 - head/multimedia/mlt

Jan Beich jbeich at freebsd.org
Mon Dec 26 09:00:21 UTC 2016


Dmitry Marakasov <amdmi3 at FreeBSD.org> writes:

> +post-install-DOCS-on:
> +.for f in ${PORTDOCS}
> +	cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${DOCSDIR}
> +.endfor
> +
> +post-install-EXAMPLES-on:
> +.for f in ${PORTEXAMPLES}
> +	cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${EXAMPLESDIR}
> +.endfor
> +

COPYTREE_SHARE can handle multiple arguments as long as they're quoted.

post-install-EXAMPLES-on:
	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR})

post-install-DOCS-on:
	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})


More information about the svn-ports-head mailing list