Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Feb 2014 13:59:25 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Emanuel Haupt <ehaupt@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r343457 - head/audio/p5-Shout
Message-ID:  <D51FCA4F34828A264C471DCA@atuin.in.mat.cc>
In-Reply-To: <20140209131626.ad5097b391ebb1e6d738e28a@FreeBSD.org>
References:  <201402091101.s19B1aPh072112@svn.freebsd.org> <1E1640591FF296C66F82EF62@atuin.in.mat.cc> <20140209131626.ad5097b391ebb1e6d738e28a@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
+--On 9 f=C3=A9vrier 2014 13:16:26 +0100 Emanuel Haupt <ehaupt@FreeBSD.org>
wrote:
| Mathieu Arnold <mat@FreeBSD.org> wrote:
|>=20
|>=20
|> +--On 9 f=C3=A9vrier 2014 11:01:36 +0000 Emanuel Haupt =
<ehaupt@FreeBSD.org>
|> wrote:
|> | +.include <bsd.port.options.mk>
|> | +
|> |  post-install:
|> | -.ifndef(NOPORTDOCS)
|> | -	@${MKDIR} ${DOCSDIR}
|> | -	${INSTALL_SCRIPT} ${WRKSRC}/example*.pl ${DOCSDIR}
|> | -.endif
|> | +	${STRIP_CMD} ${STAGEDIR}
|> | ${SITE_PERL}/${PERL_ARCH}/auto/Shout/Shout.so
|> | +	${MKDIR} ${STAGEDIR}${DOCSDIR}
|> | +	${INSTALL_SCRIPT} ${WRKSRC}/example*.pl ${STAGEDIR}
|> | ${DOCSDIR}=20
|> |  .include <bsd.port.mk>
|>=20
|> What do you need bsd.port.options.mk for ?
|=20
| I think it's required for dealing with the conditional installation of:
|=20
|         ${MKDIR} ${STAGEDIR}${DOCSDIR}
|         ${INSTALL_SCRIPT} ${WRKSRC}/example*.pl ${STAGEDIR}${DOCSDIR}

Yes, and like the wiki[1] says, unless there's a tremendous number of files
and the IO hit is pretty severe you should install them always.

(Also, if those are examples, they should go in EXAMPLESDIR)

1: <https://wiki.freebsd.org/ports/StageDir>;
--=20
Mathieu Arnold



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