4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
22 # Copyright (c) 2018, Michal Nowak
25 set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
26 set name=pkg.description value="Utility to show the full path of (shell) commands"
27 set name=pkg.summary value="GNU which"
28 set name=info.classification \
29 value="org.opensolaris.category.2008:Applications/System Utilities"
30 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
31 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
32 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
34 license COPYING license=GPLv3
36 file path=usr/gnu/bin/which
37 file path=usr/gnu/share/man/man1/which.1
38 file path=usr/share/info/which.info
39 link path=usr/bin/gwhich target=../gnu/bin/which facet.compat.gnulinks=true
40 link path=usr/share/man/man1/gwhich.1 \
41 target=../../../gnu/share/man/man1/which.1 facet.compat.gnulinks=all