summaryrefslogtreecommitdiffstats
path: root/release/packages/dma.ucl
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2016-02-04 15:32:03 +0000
committergjb <gjb@FreeBSD.org>2016-02-04 15:32:03 +0000
commit92f18f7e58d40ea6deca5e11843d4dd2ad0300f2 (patch)
treeb2cc400eea676f2898c9855900556d6f39d5b1f8 /release/packages/dma.ucl
parent212b97a1890a8159b417c1404e76f0c4b0c155b0 (diff)
downloadFreeBSD-src-92f18f7e58d40ea6deca5e11843d4dd2ad0300f2.zip
FreeBSD-src-92f18f7e58d40ea6deca5e11843d4dd2ad0300f2.tar.gz
Rework the way <packagename>.ucl files are generated.
One of the major pain points with how this was implemented is the requirement of in-tree, hard-coded <name>.ucl, as well as <name>-<suffix>.ucl where <suffix> can be lib32, profile, development, debug, or any combination of the four. This created significant overhead when adding new packages and any of the files in any of the combinations were missing. Instead of test(1)-ing if the <packagename>.ucl file exists, hand off to a script to figure out what the final ucl file name should be before invoking pkg(8). The default behavior is 'template.ucl' is used as a fallback. This affects only the userland packages, as the kernel code is already smart enough to handle these variations. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release/packages/dma.ucl')
-rw-r--r--release/packages/dma.ucl7
1 files changed, 3 insertions, 4 deletions
diff --git a/release/packages/dma.ucl b/release/packages/dma.ucl
index 21bd1d9..85bc4c7 100644
--- a/release/packages/dma.ucl
+++ b/release/packages/dma.ucl
@@ -1,7 +1,7 @@
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
-comment = "DragonFly Mail Agent"
+comment = "%COMMENT%"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "https://www.FreeBSD.org"
@@ -9,11 +9,10 @@ prefix = "/"
licenselogic = "single"
licenses = [ BSD2CLAUSE ]
desc = <<EOD
-The DragonFly Mail Agent, a small Mail Transport Agent (MTA), designed for
-home and office use.
+%DESC%
EOD
deps: {
- FreeBSD-runtime: {
+ FreeBSD-%PKGDEPS%: {
origin: "base",
version: "%VERSION%"
}
OpenPOWER on IntegriCloud