summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-06-21 22:43:17 +0000
committerhubertf <hubertf@pkgsrc.org>2000-06-21 22:43:17 +0000
commit07d10c9c35cfb4294180178b581ee79e5547e54e (patch)
tree8f01b5a222a12f2a439de7451b79ab86208b428c /pkgtools
parent7e80317e09d2b114739bf180bb764836edec7acc (diff)
downloadpkgsrc-07d10c9c35cfb4294180178b581ee79e5547e54e.tar.gz
* 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...
Diffstat (limited to 'pkgtools')
-rwxr-xr-xpkgtools/url2pkg/files/url2pkg14
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgtools/url2pkg/files/url2pkg b/pkgtools/url2pkg/files/url2pkg
index 866b139a410..5126d2b48db 100755
--- a/pkgtools/url2pkg/files/url2pkg
+++ b/pkgtools/url2pkg/files/url2pkg
@@ -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 :-)"