author | Jon Tibble <meths@btinternet.com> |
Fri, 10 Feb 2012 16:19:42 +0000 | |
branch | oi_151a |
changeset 114 | b6d40d0a7b17 |
parent 100 | 0a3c3c0e0ff2 |
permissions | -rw-r--r-- |
0 | 1 |
#!/usr/bin/ksh93 |
2 |
# |
|
3 |
# CDDL HEADER START |
|
4 |
# |
|
5 |
# The contents of this file are subject to the terms of the |
|
6 |
# Common Development and Distribution License (the "License"). |
|
7 |
# You may not use this file except in compliance with the License. |
|
8 |
# |
|
9 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
10 |
# or http://www.opensolaris.org/os/licensing. |
|
11 |
# See the License for the specific language governing permissions |
|
12 |
# and limitations under the License. |
|
13 |
# |
|
14 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
15 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
16 |
# If applicable, add the following below this CDDL HEADER, with the |
|
17 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
18 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
19 |
# |
|
20 |
# CDDL HEADER END |
|
21 |
# |
|
22 |
||
23 |
# |
|
24 |
# Copyright 2009 Sun Microsystems, Inc. All rights reserved. |
|
25 |
# Use is subject to license terms. |
|
26 |
# |
|
27 |
# ident "@(#)install-sfw 1.1 09/05/04 SMI" |
|
28 |
# |
|
29 |
||
30 |
set -o errexit |
|
100
0a3c3c0e0ff2
imported patch sfw-perl510.patch
Alasdair Lumsden <al@everycity.co.uk>
parents:
0
diff
changeset
|
31 |
PREFIX=${ROOT}/usr/perl5/5.10.0 |
0 | 32 |
MAN1DIR=${PREFIX}/man/man1 |
33 |
MAN3DIR=${PREFIX}/man/man3 |
|
34 |
MANSCRIPT=../sunman-stability |
|
35 |
||
36 |
source ${SRC}/tools/install.subr |
|
37 |
||
38 |
cd ${PKGVERS} |
|
39 |
${MAKE} DESTDIR=${ROOT} INSTALL="/usr/ucb/install -c" install_vendor |
|
40 |
||
100
0a3c3c0e0ff2
imported patch sfw-perl510.patch
Alasdair Lumsden <al@everycity.co.uk>
parents:
0
diff
changeset
|
41 |
rm -rf ${ROOT}/usr/perl5/vendor_perl/5.10.0/$(/bin/arch)-solaris-64int/auto/pmtools/ |
0a3c3c0e0ff2
imported patch sfw-perl510.patch
Alasdair Lumsden <al@everycity.co.uk>
parents:
0
diff
changeset
|
42 |
rm ${ROOT}/usr/perl5/5.10.0/lib/$(/bin/arch)-solaris-64int/perllocal.pod |
0 | 43 |
|
44 |
#man page |
|
45 |
||
46 |
for i in blib/man1/*.1 |
|
47 |
do |
|
48 |
_install M ${i} ${MAN1DIR}/$(basename ${i}) 444 |
|
49 |
done |
|
50 |
||
51 |
for i in blib/man3/*.3 |
|
52 |
do |
|
53 |
_install M ${i} ${MAN3DIR}/$(basename ${i}) 444 |
|
54 |
done |
|
55 |
||
56 |
exit 0 |