summaryrefslogtreecommitdiff
path: root/pkgtools/url2pkg
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-10-31 18:45:42 +0000
committerzuntum <zuntum@pkgsrc.org>2001-10-31 18:45:42 +0000
commitbb7f1484e0c57a40aef5c2005a116f5bb6a62099 (patch)
tree8f70214047e7eb2220eee12d58428c9750942ddf /pkgtools/url2pkg
parent4ec51e5f6a5bb2a09df117f10d686c3b3f8ab36f (diff)
downloadpkgsrc-bb7f1484e0c57a40aef5c2005a116f5bb6a62099.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')
-rw-r--r--pkgtools/url2pkg/Makefile6
-rwxr-xr-xpkgtools/url2pkg/files/url2pkg11
2 files changed, 8 insertions, 9 deletions
diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile
index 731e4a825c5..21932a0ac85 100644
--- a/pkgtools/url2pkg/Makefile
+++ b/pkgtools/url2pkg/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2001/09/09 20:36:43 agc Exp $
+# $NetBSD: Makefile,v 1.16 2001/10/31 18:45:42 zuntum Exp $
#
-DISTNAME= url2pkg-1.15
+DISTNAME= url2pkg-1.16
CATEGORIES= pkgtools sysutils
MASTER_SITES= # Nothing
DISTFILES= # Nothing
@@ -17,7 +17,7 @@ NO_PATCH= yes
EXTRACT_CMD= ${ECHO}
do-install:
- ${INSTALL_SCRIPT} ${FILESDIR}/${DISTNAME:C/-.*$//} ${LOCALBASE}/bin/${DISTNAME:C/-.*$//}
+ ${INSTALL_SCRIPT} ${FILESDIR}/${DISTNAME:C/-.*$//} ${PREFIX}/bin/${DISTNAME:C/-.*$//}
${INSTALL_MAN} ${FILESDIR}/${DISTNAME:C/-.*$//}.8 ${PREFIX}/man/man8
.include "../../mk/bsd.pkg.mk"
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 :-)"