Question about pkg-plist

Ion-Mihai Tetcu itetcu at
Sun Jan 31 20:04:24 UTC 2010

On Sun, 31 Jan 2010 20:27:53 +0100
david fries <djf at> wrote:

> Hello everybody
> I'm currently working on a tiny little port. It consists of a single
> binary and an accompanying LICENSE file. When I ran genplist, it
> generated this in
> bin/mybinary
> %%PORTDOCS%%@dirrm %%DOCSDIR%%
> Simple enough. However, I also know that the LICENSE file will also be
> installed if NOPORTDOCS has been defined. I thought maybe I should
> write something like this. 
> bin/mybinary
> @dirrm %%DOCSDIR%%

If you install the LICENCE file depending on NOPORTDOCS, the you should
keep the first variant; if not, the second. First is what you should do.

IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu at, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list