Skip to content

Commit

Permalink
install missing files into proto area
Browse files Browse the repository at this point in the history
  • Loading branch information
jjelinek committed Mar 16, 2011
1 parent e6593ad commit eb02bc6
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 5 deletions.
9 changes: 8 additions & 1 deletion bzip2/install-bzip2
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,20 @@
#
# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
#
# Copyright (c) Joyent Inc
# Copyright (c) 2011, Joyent Inc. All rights reserved.

VERS=$1

PREFIX=${DESTDIR}/usr
BINDIR=${PREFIX}/bin
LIBDIR=${PREFIX}/lib
INCDIR=${PREFIX}/include
MANDIR=${PREFIX}/share/man/man1

mkdir -p $BINDIR
mkdir -p $LIBDIR
mkdir -p $INCDIR
mkdir -p $MANDIR

. ../install.subr

Expand Down Expand Up @@ -73,4 +75,9 @@ do
_install N ${i} ${INCDIR}/${i} 644
done

for i in bzdiff.1 bzgrep.1 bzip2.1 bzmore.1
do
_install N ${i} ${MANDIR}/${i} 555
done

exit 0
19 changes: 18 additions & 1 deletion gzip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@
#
# CDDL HEADER END
#
# Copyright (c) 2010 Joyent Inc.
# Copyright (c) 2010 Joyent Inc., All rights reserved.
#

VER=gzip-1.3.5
BASE=$(PWD)
DESTDIR=$(BASE)/../proto
BINDIR=$(DESTDIR)/usr/bin
MANDIR=$(DESTDIR)/usr/share/man/man1

all: $(VER)/config.status
( cd $(VER); env - PATH=$(PATH) \
Expand All @@ -33,6 +35,21 @@ install:
mkdir -p $(DESTDIR)
( cd $(VER); \
gmake DESTDIR=$(DESTDIR) install)
mv $(BINDIR)/zcmp $(BINDIR)/gzcmp
mv $(BINDIR)/zdiff $(BINDIR)/gzdiff
mv $(BINDIR)/zegrep $(BINDIR)/gzegrep
mv $(BINDIR)/zfgrep $(BINDIR)/gzfgrep
mv $(BINDIR)/zforce $(BINDIR)/gzforce
mv $(BINDIR)/zgrep $(BINDIR)/gzgrep
mv $(BINDIR)/zless $(BINDIR)/gzless
mv $(BINDIR)/zmore $(BINDIR)/gzmore
mv $(BINDIR)/znew $(BINDIR)/gznew
mv $(MANDIR)/zdiff.1 $(MANDIR)/gzdiff.1
mv $(MANDIR)/zforce.1 $(MANDIR)/gzforce.1
mv $(MANDIR)/zgrep.1 $(MANDIR)/gzgrep.1
mv $(MANDIR)/zless.1 $(MANDIR)/gzless.1
mv $(MANDIR)/zmore.1 $(MANDIR)/gzmore.1
mv $(MANDIR)/znew.1 $(MANDIR)/gznew.1

clean:
rm -rf $(VER)
Expand Down
8 changes: 7 additions & 1 deletion libxml/install-libxml2
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright (c) Joyent Inc.
# Copyright (c) 2011 Joyent Inc., All rights reserved.
#

set -o errexit
Expand All @@ -37,6 +37,7 @@ ROOTLIBDIR=${DESTDIR}/lib
INCDIR=${PREFIX}/include/libxml2/libxml
BINDIR=${PREFIX}/bin
SHAREDIR=${PREFIX}/share
MANDIR=${PREFIX}/share/man/man1
ACLOCALDIR=${SHAREDIR}/aclocal

mkdir -p $PREFIX
Expand All @@ -45,6 +46,7 @@ mkdir -p $ROOTLIBDIR
mkdir -p $INCDIR
mkdir -p $BINDIR
mkdir -p $SHAREDIR
mkdir -p $MANDIR
mkdir -p $ACLOCALDIR

source ../install.subr
Expand All @@ -62,6 +64,10 @@ _install E .libs/xmllint ${BINDIR}/xmllint 555

_install N libxml.m4 ${ACLOCALDIR}/libxml.m4 444

_install N xml2-config.1 ${MANDIR}/xml2-config.1 555
_install N doc/xmllint.1 ${MANDIR}/xmllint.1 555
_install N doc/xmlcatalog.1 ${MANDIR}/xmlcatalog.1 555

cd include/libxml

for i in \
Expand Down
13 changes: 12 additions & 1 deletion ncurses/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@
#
# CDDL HEADER END
#
# Copyright (c) 2010 Joyent Inc.
# Copyright (c) 2010 Joyent Inc., All rights reserved.
#

VER=ncurses-5.7
VER64=$(VER)-64
BASE=$(PWD)
DESTDIR=$(BASE)/../proto
USRDIR=$(DESTDIR)/usr

all: $(VER)/config.status $(VER64)/config.status
( cd $(VER); env - PATH=$(PATH) \
Expand All @@ -38,6 +39,16 @@ install:
gmake DESTDIR=$(DESTDIR) install)
@ ( cd $(VER64); \
gmake DESTDIR=$(DESTDIR) install)
mv $(USRDIR)/gnu/bin/infocmp $(USRDIR)/bin/ginfocmp
mv $(USRDIR)/gnu/bin/tic $(USRDIR)/bin/gtic
mv $(USRDIR)/gnu/bin/toe $(USRDIR)/bin/gtoe
mv $(USRDIR)/gnu/bin/tput $(USRDIR)/bin/gtput
mv $(USRDIR)/gnu/bin/tset $(USRDIR)/bin/gtset
rm -rf $(USRDIR)/include/ncurses
mv $(USRDIR)/gnu/include/ncurses $(USRDIR)/include
mkdir -p $(USRDIR)/gnu/share/doc/ncurses
cp $(VER)/README $(USRDIR)/gnu/share/doc/ncurses

clean:
rm -rf $(VER) $(VER64)

Expand Down
8 changes: 7 additions & 1 deletion nss-nspr/install-nss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#
# CDDL HEADER END
#
# Copyright (c) 2010 Joyent Inc.
# Copyright (c) 2010 Joyent Inc., All rights reserved.
#

set -o errexit
Expand All @@ -29,10 +29,12 @@ VERS=${1}
ROOT=$(pwd)
BIN_PREFIX=${DESTDIR}/usr/bin
PREFIX=${DESTDIR}/usr/lib/mps
INC_PREFIX=${DESTDIR}/usr/include/mps

echo PREFIX=${PREFIX}
mkdir -p ${PREFIX}
mkdir -p ${BIN_PREFIX}
mkdir -p ${INC_PREFIX}

source ../install.subr

Expand All @@ -56,3 +58,7 @@ _install N lib/libplc4.so ${PREFIX}/libplc4.so 555
_install N lib/libplds4.so ${PREFIX}/libplds4.so 555

_install N bin/certutil ${BIN_PREFIX}/certutil 555

cp -pr ${ROOT}/${VERS}/mozilla/dist/SunOS5.11_i86pc_gcc_OPT.OBJ/include/* \
${INC_PREFIX}
cp ${ROOT}/${VERS}/mozilla/dist/public/nss/* ${INC_PREFIX}

0 comments on commit eb02bc6

Please sign in to comment.