head	1.4;
access;
symbols
	pkgsrc-2013Q2:1.4.0.28
	pkgsrc-2013Q2-base:1.4
	pkgsrc-2012Q4:1.4.0.26
	pkgsrc-2012Q4-base:1.4
	pkgsrc-2011Q4:1.4.0.24
	pkgsrc-2011Q4-base:1.4
	pkgsrc-2011Q2:1.4.0.22
	pkgsrc-2011Q2-base:1.4
	pkgsrc-2009Q4:1.4.0.20
	pkgsrc-2009Q4-base:1.4
	pkgsrc-2008Q4:1.4.0.18
	pkgsrc-2008Q4-base:1.4
	pkgsrc-2008Q3:1.4.0.16
	pkgsrc-2008Q3-base:1.4
	cube-native-xorg:1.4.0.14
	cube-native-xorg-base:1.4
	pkgsrc-2008Q2:1.4.0.12
	pkgsrc-2008Q2-base:1.4
	cwrapper:1.4.0.10
	cwrapper-base:1.4
	pkg_install-renovation:1.4.0.8
	pkg_install-renovation-base:1.4
	pkgsrc-2008Q1:1.4.0.6
	pkgsrc-2008Q1-base:1.4
	pkgsrc-2007Q4:1.4.0.4
	pkgsrc-2007Q4-base:1.4
	pkgsrc-2007Q3:1.4.0.2
	pkgsrc-2007Q3-base:1.4
	pkgsrc-2007Q2:1.3.0.14
	pkgsrc-2007Q2-base:1.3
	pkgsrc-2007Q1:1.3.0.12
	pkgsrc-2007Q1-base:1.3
	pkgsrc-2006Q4:1.3.0.10
	pkgsrc-2006Q4-base:1.3
	pkgsrc-2006Q3:1.3.0.8
	pkgsrc-2006Q3-base:1.3
	pkgsrc-2006Q2:1.3.0.6
	pkgsrc-2006Q2-base:1.3
	pkgsrc-2006Q1:1.3.0.4
	pkgsrc-2006Q1-base:1.3
	pkgsrc-2005Q4:1.3.0.2
	pkgsrc-2005Q4-base:1.3
	pkgsrc-2005Q3:1.2.0.6
	pkgsrc-2005Q3-base:1.2
	pkgsrc-2005Q2:1.2.0.4
	pkgsrc-2005Q2-base:1.2
	pkgsrc-2005Q1:1.2.0.2
	pkgsrc-2005Q1-base:1.2
	pkgsrc-2004Q4:1.1.0.4
	pkgsrc-2004Q4-base:1.1
	pkgsrc-2004Q3:1.1.0.2
	pkgsrc-2004Q3-base:1.1;
locks; strict;
comment	@# @;


1.4
date	2007.07.16.11.40.11;	author joerg;	state dead;
branches;
next	1.3;

1.3
date	2005.11.05.13.20.09;	author wiz;	state Exp;
branches;
next	1.2;

1.2
date	2005.02.03.23.53.23;	author jlam;	state Exp;
branches;
next	1.1;

1.1
date	2004.08.20.22.27.12;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Retire helper scripts for merge from src, this is now the authoritive
version.
@
text
@#!/bin/sh
#
#	$NetBSD: pkg_install2nbcompat,v 1.3 2005/11/05 13:20:09 wiz Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
#
# This code is derived from software contributed to The NetBSD Foundation
# by Johnny C. Lam.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#    must display the following acknowledgement:
#        This product includes software developed by the NetBSD
#        Foundation, Inc. and its contributors.
# 4. Neither the name of The NetBSD Foundation nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#

if [ $# -lt 1 ]; then echo "pkg_install2nbcompat dest"; exit 1; fi

: ${PKGSRCDIR:=/usr/pkgsrc}
: ${BSDSRCDIR:=/usr/src}

if [ ! -d "${BSDSRCDIR}" ]; then
	echo "${BSDSRCDIR} doesn't exist"
	exit 1
fi

src2nbcompat="${PKGSRCDIR}/pkgtools/pkg_install/files/pi2nbcompat"
dest=$1

$src2nbcompat ${BSDSRCDIR}/usr.sbin/pkg_install		$dest
@


1.3
log
@Sync with base system as of Sat Nov  5 13:19:32 UTC 2005.
Welcome to 20051103!
Now with "automatic" support.
@
text
@d3 1
a3 1
#	$NetBSD: pkg_install2nbcompat,v 1.2 2005/02/03 23:53:23 jlam Exp $
@


1.2
log
@s/pax/pkg_install/ in the usage message.
@
text
@d3 1
a3 1
#	$NetBSD: pkg_install2nbcompat,v 1.1 2004/08/20 22:27:12 jlam Exp $
d50 1
a50 1
src2nbcompat="${PKGSRCDIR}/pkgtools/libnbcompat/files/src2nbcompat"
@


1.1
log
@Add a script that imports from src HEAD to a named directory.
@
text
@d3 1
a3 1
#	$NetBSD$
d40 1
a40 1
if [ $# -lt 1 ]; then echo "pax2nbcompat dest"; exit 1; fi
@

