svn commit: r339423 - head/security/mcrypt

Mathieu Arnold mat at FreeBSD.org
Sat Jan 11 14:25:29 UTC 2014


+--On 11 janvier 2014 12:22:16 +0000 Johan van Selst <johans at FreeBSD.org>
wrote:
| +.include <bsd.port.options.mk>
| +
| +post-install:
| +.if ${PORT_OPTIONS:MEXAMPLES}
| +	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
| +	@${INSTALL_DATA} ${WRKSRC}/doc/sample.mcryptrc ${STAGEDIR}${EXAMPLESDIR}
| +.endif
| +.if ${PORT_OPTIONS:MDOCS}
| +	@${MKDIR} ${STAGEDIR}${DOCSDIR}
| +	@cd  ${WRKSRC}/doc && ${INSTALL_DATA} FORMAT magic ${STAGEDIR}${DOCSDIR}
|  .endif

With staging, you should always stage the examples and docs, and you then
can drop the include because you don't need it any more.

-- 
Mathieu Arnold


More information about the svn-ports-all mailing list