2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Jim Klimov
14 # Copyright 2018 Michal Nowak
17 set name=pkg.fmri value=pkg:/text/file@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
18 set name=pkg.human-version value=$(HUMAN_VERSION)
19 set name=pkg.summary value="Darwinsys file - a file type guesser (the GNU/Linux variant)"
20 set name=info.classification value="org.opensolaris.category.2008:System/Text Tools"
21 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
22 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
23 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
25 <transform file path=usr.*/man/.+ -> default mangler.man.stability volatile>
27 license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
29 file usr/bin/$(MACH64)/file path=usr/gnu/bin/$(MACH64)/file
30 file usr/bin/file path=usr/gnu/bin/$(MACH32)/file
31 # Ensure binary matching the kernel bitness
32 hardlink path=usr/gnu/bin/file target=../../lib/isaexec pkg.linted=true
33 link path=usr/bin/gfile target=../gnu/bin/file facet.compat.gnulinks=true
34 file usr/share/man/man1/file.1 path=usr/gnu/share/man/man1/file.1
35 link path=usr/share/man/man1/gfile.1 target=../../../gnu/share/man/man1/file.1 facet.compat.gnulinks=true