Generating packages from ports without docs

Greg Larkin glarkin at FreeBSD.org
Thu Feb 5 14:36:06 PST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matias Surdi wrote:
> Hi,
> 
> When I build a package with "make package" for a port, the resulting
> package contains also the docs (which upon installatin are located in
> /usr/local/share/doc/[package]
> 
> 
> Which is the best way to not include those files in the generated package?
> 
> 
> Thanks a lot.

Hi Matias,

"make NOPORTDOCS=yes package" ought to do it.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/       - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJi2nW0sRouByUApARAp9OAJ9JGC7f5NRkTRlAAtrr7IMVvtzd2QCgg0p2
IsGnQUEDP9GO85hgN/1gaw8=
=w/Ud
-----END PGP SIGNATURE-----



More information about the freebsd-questions mailing list