xref: /freebsd/release/packages/ucl/README (revision 66f36c3686762d9a6e48b0453fc7221be36a0eb8)
1*66f36c36SLexi WinterThis directory contains package manifests for the base packages in UCL format.
2*66f36c36SLexi WinterThere are two types of manifest: "<package>.ucl" applies specifically to the
3*66f36c36SLexi Winterpackage called "<package>", and "<package>-all.ucl" applies to all of that
4*66f36c36SLexi Winterpackage's subpackages.
5*66f36c36SLexi Winter
6*66f36c36SLexi WinterFor example, if a Makefile sets PACKAGE=foo, then the build might generate the
7*66f36c36SLexi Winterfollowing packages:
8*66f36c36SLexi Winter
9*66f36c36SLexi Winter	FreeBSD-foo
10*66f36c36SLexi Winter	FreeBSD-foo-dev
11*66f36c36SLexi Winter	FreeBSD-foo-lib32
12*66f36c36SLexi Winter	FreeBSD-foo-man
13*66f36c36SLexi Winter
14*66f36c36SLexi WinterAll of these packages will include "foo-all.ucl", but "foo.ucl" will only be
15*66f36c36SLexi Winterincluded by FreeBSD-foo, "foo-dev.ucl" will only be included by FreeBSD-foo-dev,
16*66f36c36SLexi Winterand so on.
17*66f36c36SLexi Winter
18*66f36c36SLexi WinterIn general, dependencies and post-install scripts should be added in the
19*66f36c36SLexi Winterpackage-specific manifests, while comment and description should be set
20*66f36c36SLexi Winterin the "-all" manifest.
21*66f36c36SLexi Winter
22