components/patch/patch.p5m
author John Beck <John.Beck@Oracle.COM>
Sat, 17 Jan 2015 09:17:37 -0800
branchs11-update
changeset 3661 47545fb8aed4
parent 3410 840954262ba5
child 3734 24181f5eb463
permissions -rw-r--r--
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests

#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
#

<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
set name=pkg.fmri \
    value=pkg:/text/gnu-patch@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="The GNU Patch utility"
set name=com.oracle.info.description value="GNU patch"
set name=com.oracle.info.tpno value=$(TPNO)
set name=info.classification \
    value=org.opensolaris.category.2008:Development/GNU
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid \
    value=PSARC/1999/555 value=PSARC/2014/324
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

file usr/bin/patch path=usr/gnu/bin/patch
file usr/share/man/man1/patch.1 path=usr/gnu/share/man/man1/patch.1

legacy pkg=SUNWgpch desc="The GNU Patch utility" name="The GNU Patch utility"
license patch.license license=GPLv2

link path=usr/bin/patch target=../gnu/bin/patch
link path=usr/bin/gpatch target=../gnu/bin/patch facet.compat.gnulinks=true
link path=usr/share/man/man1/patch.1 \
    target=../../../gnu/share/man/man1/patch.1
link path=usr/share/man/man1/gpatch.1 \
    target=../../../gnu/share/man/man1/patch.1 facet.compat.gnulinks=all