aboutsummaryrefslogtreecommitdiff
path: root/release/packages/template.ucl
diff options
context:
space:
mode:
Diffstat (limited to 'release/packages/template.ucl')
-rw-r--r--release/packages/template.ucl36
1 files changed, 26 insertions, 10 deletions
diff --git a/release/packages/template.ucl b/release/packages/template.ucl
index a65f58868118..1609a7213be0 100644
--- a/release/packages/template.ucl
+++ b/release/packages/template.ucl
@@ -1,19 +1,35 @@
-#
-#
+# This is the default set of options applied to all packages, unless overridden
+# in the package-specific manifests.
+# The name of the package. $PKG_NAME_PREFIX is "FreeBSD", or might be replaced
+# by a downstream packager.
name = "${PKG_NAME_PREFIX}-${PKGNAME}"
-origin = "base"
-version = "${VERSION}"
-comment = "${COMMENT}"
+
+# Base packages always install to /.
+prefix = "/"
+
+origin = "base/${PKG_NAME_PREFIX}-${PKGNAME}"
categories = [ base ]
+
+# $VERSION is the version of the base system being built.
+version = "${VERSION}"
+
+# Maintainer and WWW point to freebsd.org by default. This should not be
+# changed in package-specific manifests even for third-party packages.
maintainer = "${PKG_MAINTAINER}"
www = "${PKG_WWW}"
-prefix = "/"
+
+# Default the license to BSD2CLAUSE since this is the standard license for
+# the base system.
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
-desc = <<EOD
-${DESC}
-EOD
-.include(try=true,duplicate=rewrite) "${UCLFILES}/${PKGGENNAME}-all.ucl"
+
+# By default, packages go in the "base" set which includes everything.
+annotations {
+ set = base
+}
+
+# Include the package-specific UCL.
+.include(try=false,duplicate=rewrite) "${UCLFILES}/${PKGGENNAME}-all.ucl"
.include(try=true,duplicate=rewrite) "${UCLFILES}/${PKGNAME}.ucl"
.include(try=true,duplicate=rewrite) "${UCLFILES}/${FORCEINCLUDE}.ucl"