components/emacs/gnu-emacs-no-x11.p5m
changeset 176 11a04b640bf2
child 181 87e11e685b1f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/emacs/gnu-emacs-no-x11.p5m	Mon Apr 11 15:06:03 2011 -0600
@@ -0,0 +1,53 @@
+#
+# 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, Oracle and/or its affiliates. All rights reserved.
+#
+
+set name=pkg.fmri value=pkg:/editor/gnu-emacs/gnu-emacs-no-x11@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="GNU emacs without X Window System support"
+set name=info.classification value="org.opensolaris.category.2008:Development/Editors"
+set name=info.upstream_url value=http://www.gnu.org/software/emacs/
+set name=info.source_url value=$(COMPONENT_ARCHIVE_URL)
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+
+license emacs.license license="GPLv3"
+
+legacy pkg=SUNWgnu-emacs-nox \
+	name="GNU emacs without X Window System support" \
+	desc="GNU emacs without X Window System support"
+
+dir path=usr
+dir path=usr/bin
+dir path=usr/share
+dir path=usr/share/man
+dir path=usr/share/man/man1
+
+file path=usr/bin/emacs-nox			pkg.linted=True
+hardlink path=usr/bin/emacs-nox-$(COMPONENT_VERSION) target=emacs-nox
+file path=usr/share/man/man1/emacs-nox.1
+
+
+# This package requires the emacs core package to be installed. To help
+# pkgdepend find that relationship without hardwiring an fmri, specify
+# a dependency on a file known to always be present in the core package,
+# and allow pkgdepend to generate the fmri.
+depend fmri=__TBD pkg.debug.depend.file=usr/bin/emacs \
+	pkg.debug.reason=usr/bin/emacs-gtk type=require