#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2016 Jim Klimov
# Copyright 2023 Niklas Poslovski
#

set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-tools@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY) - Shell toolkit"
set name=info.classification value=org.opensolaris.category.2008:System/Shells
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>

# Note: the tools require their libs; pkgdepend does this bit automagically
# (so "require" dependency type is reported as error); just in case I want
# to constrain the version so the libs and progs match:
depend fmri=$(COMPONENT_FMRI)-libs@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)	type=optional
depend fmri=$(COMPONENT_FMRI)-lenses@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)	type=require

file path=usr/bin/augmatch
file path=usr/bin/augparse
file path=usr/bin/augprint
file path=usr/bin/augtool
file path=usr/bin/fadot

file path=usr/share/bash-completion/completions/augmatch
file path=usr/share/bash-completion/completions/augprint
file path=usr/share/bash-completion/completions/augtool

file path=usr/share/man/man1/augmatch.1
file path=usr/share/man/man1/augparse.1
file path=usr/share/man/man1/augprint.1
file path=usr/share/man/man1/augtool.1