* allow using a different make command by using the env-var "MAKE".

Patch submitted by Thomas Klausner in private mail.
 * Mention that the user has to create pkg/COMMENT and pkg/DESCR manually

This file should probably be moved to pkgsrc...
This commit is contained in:
hubertf 2000-06-21 22:43:17 +00:00
parent 7e80317e09
commit 07d10c9c35

View file

@ -1,11 +1,15 @@
#!/bin/sh
#
# $NetBSD: url2pkg,v 1.10 2000/06/15 21:38:01 hubertf Exp $
# $NetBSD: url2pkg,v 1.11 2000/06/21 22:43:17 hubertf Exp $
#
# url2pkg
# (c) 1999 Hubert Feyrer
#
if [ "$MAKE" = "" ]; then
MAKE=make
fi
if [ "$PKGEDITOR" != "" ]; then
editor="$PKGEDITOR"
elif [ "$EDITOR" != "" ]; then
@ -80,10 +84,10 @@ if [ ! -f w*/.extract_done ]; then
${editor} +5 Makefile
echo "Running 'make makesum' ..."
make makesum
$MAKE makesum
echo "Running 'make extract' ..."
make extract
$MAKE extract
fi
#
@ -130,4 +134,6 @@ echo "Contents of "`echo w*`"/${wrksrc}:"
ls -la w*/$wrksrc
echo ""
echo "Good luck! (See ../../Packages.txt for some more help :-)"
echo "Don't forget to fill in pkg/COMMENT and pkg/DESCR when you're done."
echo ""
echo "Good luck! (See pkgsrc/Packages.txt for some more help :-)"