Date: Sat, 11 Jan 2014 15:25:26 +0100 From: Mathieu Arnold <mat@FreeBSD.org> To: Johan van Selst <johans@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r339423 - head/security/mcrypt Message-ID: <A9B5C4E98BB85B5798903919@atuin.in.mat.cc> In-Reply-To: <201401111222.s0BCMGf9042862@svn.freebsd.org> References: <201401111222.s0BCMGf9042862@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
+--On 11 janvier 2014 12:22:16 +0000 Johan van Selst <johans@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A9B5C4E98BB85B5798903919>