components/ksh93/source-demo-ksh93.p5m
changeset 909 ec78fc2e4b1d
parent 789 5f074ca23733
child 1205 6c6c27bcf9ac
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ksh93/source-demo-ksh93.p5m	Mon Jul 09 08:44:23 2012 +0100
@@ -0,0 +1,62 @@
+#
+# 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) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
+#
+
+# The man pages are all at the top of a "files" directory; setting the hash to
+# point to the files therein.
+<transform file path=usr/share/man/man.+/(.+)$ -> set action.hash %<\1> >
+# Bypassing the mangler for these files because they are pre-Solarified.
+<transform file path=usr/share/man/.+$ -> add mangler.bypass true >
+set name=pkg.fmri \
+    value=pkg:/source/demo/ksh93@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.human-version value=$(IPS_HUMAN_VERSION)
+set name=pkg.description value="Source code to demonstrate the KornShell"
+set name=pkg.summary value="KornShell demos"
+set name=info.classification value=org.opensolaris.category.2008:System/Core
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=info.upstream \
+    value="AT&T Software Technology (AST) OpenSource Software Collection"
+set name=info.upstream-url value=$(COMPONENT_ARCHIVE_URL)
+set name=org.opensolaris.arc-caseid value=PSARC/2012/002
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+dir path=usr group=sys
+dir path=usr/demo
+dir path=usr/demo/ksh
+dir path=usr/demo/ksh/fun
+dir path=usr/share/man/ja_JP.UTF-8/man1
+dir path=usr/share/man/man1
+file $(MACH64)/fun/dirs path=usr/demo/ksh/fun/dirs mode=0755 preserve=true
+file $(MACH64)/fun/popd path=usr/demo/ksh/fun/popd mode=0755 preserve=true
+file $(MACH64)/fun/pushd path=usr/demo/ksh/fun/pushd mode=0755 preserve=true
+file $(MACH64)/fun/title path=usr/demo/ksh/fun/title mode=0755 preserve=true
+file dirs.1.ja_JP.UTF-8 path=usr/share/man/ja_JP.UTF-8/man1/dirs.1
+file popd.1.ja_JP.UTF-8 path=usr/share/man/ja_JP.UTF-8/man1/popd.1
+file pushd.1.ja_JP.UTF-8 path=usr/share/man/ja_JP.UTF-8/man1/pushd.1
+file path=usr/share/man/man1/dirs.1
+file path=usr/share/man/man1/popd.1
+file path=usr/share/man/man1/pushd.1
+license ksh93.license license=CPL
+# Ensure that we upgrade the old package to the version where it's
+# renamed.
+depend fmri=pkg:/source/demo/[email protected] type=optional