pkgsrc/devel/bmake/import-bmake-sh
2007-10-09 19:19:08 +00:00

23 lines
665 B
Text
Executable file

:
# $Id: import-bmake-sh,v 1.2 2007/10/09 19:19:08 martti 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