%%PORTSDIR%% and %%PORTDOCS%%
Joe Marcus Clarke
marcus at marcuscom.com
Fri Dec 19 14:24:51 PST 2003
On Fri, 2003-12-19 at 17:23, Lev Serebryakov wrote:
> Hello, ports! How are you?
>
> Now, if port supports `NOPORTDOCS=yes' and installs documents ino
> standard place, it need to have something like this in `pkg-plist':
>
> %%PORTDOCS%%%%DOCSDIR%%/some-doc.html
>
> But why we need this?! May be, when NOPORTDOCS is set, define
> DOCSDIR to @comment in substs? So, such cionstruction
>
> %%DOCSDIR%%/some-doc.html
>
> Will work properly in any case!
But you would still need %%PORTDOSC%% for things such as:
%%PORTDOCS%%@dirrm %%DOCSDIR%%
Plus, it's nice to have DOCSDIR defined even if PORTDOCS is not set.
Joe
>
> --
> Lev Serebryakov
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20031219/3ff90c7b/attachment.bin
More information about the freebsd-ports
mailing list