author | Mike Sullivan <Mike.Sullivan@Oracle.COM> |
Fri, 26 Aug 2011 17:58:22 -0700 | |
changeset 495 | 4153db6738f5 |
parent 464 | 08f94c414553 |
child 609 | 775168282b2f |
permissions | -rw-r--r-- |
176
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
21 |
# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
181
87e11e685b1f
7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
176
diff
changeset
|
23 |
<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted> |
176
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
24 |
|
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
25 |
set name=pkg.fmri value=pkg:/editor/gnu-emacs/gnu-emacs-no-x11@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
26 |
set name=pkg.summary value="GNU emacs without X Window System support" |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
27 |
set name=info.classification value="org.opensolaris.category.2008:Development/Editors" |
464
08f94c414553
7073736 need to turn _ into -
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
181
diff
changeset
|
28 |
set name=info.upstream-url value=http://www.gnu.org/software/emacs/ |
08f94c414553
7073736 need to turn _ into -
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
181
diff
changeset
|
29 |
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) |
08f94c414553
7073736 need to turn _ into -
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
181
diff
changeset
|
30 |
set name=org.opensolaris.arc-caseid \ |
08f94c414553
7073736 need to turn _ into -
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
181
diff
changeset
|
31 |
value=PSARC/2008/494 |
176
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
32 |
set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
33 |
|
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
34 |
license emacs.license license="GPLv3" |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
35 |
|
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
36 |
legacy pkg=SUNWgnu-emacs-nox \ |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
37 |
name="GNU emacs without X Window System support" \ |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
38 |
desc="GNU emacs without X Window System support" |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
39 |
|
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
40 |
dir path=usr |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
41 |
dir path=usr/bin |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
42 |
dir path=usr/share |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
43 |
dir path=usr/share/man |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
44 |
dir path=usr/share/man/man1 |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
45 |
|
495
4153db6738f5
7083378 clean up some unneeded pkg.linted attributes
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
464
diff
changeset
|
46 |
file path=usr/bin/emacs-nox |
176
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
47 |
hardlink path=usr/bin/emacs-nox-$(COMPONENT_VERSION) target=emacs-nox |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
48 |
file path=usr/share/man/man1/emacs-nox.1 |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
49 |
|
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
50 |
|
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
51 |
# This package requires the emacs core package to be installed. To help |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
52 |
# pkgdepend find that relationship without hardwiring an fmri, specify |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
53 |
# a dependency on a file known to always be present in the core package, |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
54 |
# and allow pkgdepend to generate the fmri. |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
55 |
depend fmri=__TBD pkg.debug.depend.file=usr/bin/emacs \ |
11a04b640bf2
7029475 Move gnu-emacs to userland
Ali Bahrami <Ali.Bahrami@Oracle.COM>
parents:
diff
changeset
|
56 |
pkg.debug.reason=usr/bin/emacs-gtk type=require |