24 lines
663 B
Text
24 lines
663 B
Text
|
:
|
||
|
# $Id: import-bmake-sh,v 1.1 2005/12/02 00:14:56 sjg Exp $
|
||
|
|
||
|
# Nice and simple, but make sure it is done consistently...
|
||
|
# Simply unpack bmake-<version>.tar.gz
|
||
|
# cd bmake
|
||
|
# then run this script.
|
||
|
|
||
|
[ -s make-conf.h -a ! -d CVS ] || {
|
||
|
echo "Must be in top level dir of bmake distribution" >&2
|
||
|
exit 1
|
||
|
}
|
||
|
|
||
|
# what version are we importing
|
||
|
eval `sed -n "/^[A-Z]*AKE_VER/s/^\([A-Z][A-Z_]*\)[ :=][ :=]*\([^ ][^ ]*\).*/\1='\2'/p" Makefile.in`
|
||
|
version=`eval echo $MAKE_VERSION`
|
||
|
version_tag=`echo $version | tr '.' '-'`
|
||
|
|
||
|
CVSROOT=cvs.netbsd.org:/cvsroot
|
||
|
set -x
|
||
|
$ECHO ${CVS:-cvs} -d $CVSROOT import -m "Import $version" \
|
||
|
pkgsrc/devel/bmake/files BMAKE $version_tag
|
||
|
|