summaryrefslogtreecommitdiff
path: root/pkgtools/url2pkg/files
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-10-31 18:45:42 +0000
committerzuntum <zuntum>2001-10-31 18:45:42 +0000
commitb3d9aea0ed782ecd69b0d0480b6029960e8a896a (patch)
tree8f70214047e7eb2220eee12d58428c9750942ddf /pkgtools/url2pkg/files
parenta92b1b8ae8097a4da069c1572575fcf8c3bedc04 (diff)
downloadpkgsrc-b3d9aea0ed782ecd69b0d0480b6029960e8a896a.tar.gz
o store pkgdir files (PLIST, DESCR and other) in . by default,
no need to use pkg/ for that purpose o use ${PREFIX} instead of ${LOCALBASE} in do-install Bump version to 1.16 OK'd by hubertf
Diffstat (limited to 'pkgtools/url2pkg/files')
-rwxr-xr-xpkgtools/url2pkg/files/url2pkg11
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgtools/url2pkg/files/url2pkg b/pkgtools/url2pkg/files/url2pkg
index 3f4b5caf394..f4cc41a6dc7 100755
--- a/pkgtools/url2pkg/files/url2pkg
+++ b/pkgtools/url2pkg/files/url2pkg
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: url2pkg,v 1.16 2001/02/18 05:21:07 hubertf Exp $
+# $NetBSD: url2pkg,v 1.17 2001/10/31 18:45:43 zuntum Exp $
#
# url2pkg
# (c) 1999 Hubert Feyrer
@@ -79,8 +79,7 @@ if [ ! -f w*/.extract_done ]; then
echo '.include "../../mk/bsd.pkg.mk"'
) >Makefile
- mkdir pkg
- echo '@comment $'NetBSD'$' >pkg/PLIST
+ echo '@comment $'NetBSD'$' > PLIST
${editor} +5 Makefile
@@ -134,10 +133,10 @@ echo ""
echo "Contents of "`echo w*`"/${wrksrc}:"
ls -la w*/$wrksrc
-if [ ! -f pkg/DESCR ]; then
- touch pkg/DESCR
+if [ ! -f DESCR ]; then
+ touch DESCR
fi
echo ""
-echo "Don't forget to fill in the COMMENT variable and pkg/DESCR when you're done."
+echo "Don't forget to fill in the COMMENT variable and DESCR when you're done."
echo ""
echo "Good luck! (See pkgsrc/Packages.txt for some more help :-)"