pkgsrc/devel/bmake/import-bmake-sh
2015-05-19 21:48:58 +00:00

22 lines
595 B
Text
Executable file

:
# $Id: import-bmake-sh,v 1.3 2015/05/19 21:48:58 joerg 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
version=`awk '/^MAKE_VERSION=/ { print "bmake-" $2; }' Makefile`
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