Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Dec 2016 09:00:20 +0000 (UTC)
From:      jbeich@freebsd.org (Jan Beich)
To:        amdmi3@FreeBSD.org, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r429485 - head/multimedia/mlt
Message-ID:  <20161226090020.EAADE1D31@freefall.freebsd.org>
In-Reply-To: <201612260846.uBQ8kadE098744@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dmitry Marakasov <amdmi3@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})



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161226090020.EAADE1D31>