Changeset View
Changeset View
Standalone View
Standalone View
release/packages/caroot.ucl
# | # | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
name = "FreeBSD-%PKGNAME%" | name = "%PKG_NAME_PREFIX%-%PKGNAME%" | ||||
origin = "base" | origin = "base" | ||||
version = "%VERSION%" | version = "%VERSION%" | ||||
comment = "%COMMENT%" | comment = "%COMMENT%" | ||||
categories = [ base ] | categories = [ base ] | ||||
maintainer = "re@FreeBSD.org" | maintainer = %PKG_MAINTAINER% | ||||
www = "https://www.FreeBSD.org" | www = "%PKG_WWW%" | ||||
prefix = "/" | prefix = "/" | ||||
licenselogic = "single" | licenselogic = "single" | ||||
licenses = [ BSD2CLAUSE ] | licenses = [ BSD2CLAUSE ] | ||||
desc = <<EOD | desc = <<EOD | ||||
%DESC% | %DESC% | ||||
EOD | EOD | ||||
scripts: { | scripts: { | ||||
# XXX If pkg picks up a mechanism to detect in the post-install script | # XXX If pkg picks up a mechanism to detect in the post-install script | ||||
# files being added or removed, we should use it instead to gate the | # files being added or removed, we should use it instead to gate the | ||||
# rehash. | # rehash. | ||||
post-install = <<EOD | post-install = <<EOD | ||||
[ -x /usr/sbin/certctl ] && env DESTDIR=${PKG_ROOTDIR} \ | [ -x /usr/sbin/certctl ] && env DESTDIR=${PKG_ROOTDIR} \ | ||||
/usr/sbin/certctl rehash | /usr/sbin/certctl rehash | ||||
EOD | EOD | ||||
} | } |