diff options
author | wiz <wiz@pkgsrc.org> | 2001-02-16 13:06:17 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-02-16 13:06:17 +0000 |
commit | 1b7f0d246f2f256fabb26f4b3db46a119b6f5945 (patch) | |
tree | d451a3db8b4e988109ec4e1b267be49694da109b /pkgtools/url2pkg | |
parent | 45e53b4367cab19f9f887bf001681852885d668e (diff) | |
download | pkgsrc-1b7f0d246f2f256fabb26f4b3db46a119b6f5945.tar.gz |
Change COMMENT handling:
COMMENTs are now a variable in the Makefile instead of a pkg/COMMENT
file. The COMMENT var should be in the maintainer block after the
homepage.
Modify bsd.pkg.mk, pkglint, url2pkg, and port2pkg (last one untested)
for the new behaviour. Document new state in Packages.txt.
This should save lots of inodes, and lots of time when untarring/updating.
Idea by Alistair Crooks.
For the time being, accept pkg/COMMENT instead of a COMMENT var to avoid
a flag day.
Diffstat (limited to 'pkgtools/url2pkg')
-rw-r--r-- | pkgtools/url2pkg/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/url2pkg/files/url2pkg | 8 |
2 files changed, 5 insertions, 7 deletions
diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile index 4e7c66459c9..94b0d1824f4 100644 --- a/pkgtools/url2pkg/Makefile +++ b/pkgtools/url2pkg/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.11 2001/01/29 09:57:41 abs Exp $ +# $NetBSD: Makefile,v 1.12 2001/02/16 13:06:19 wiz Exp $ # -DISTNAME= url2pkg-1.14 +DISTNAME= url2pkg-1.15 CATEGORIES= pkgtools sysutils MASTER_SITES= # Nothing DISTFILES= # Nothing diff --git a/pkgtools/url2pkg/files/url2pkg b/pkgtools/url2pkg/files/url2pkg index 85cfa84924c..6c56af5e948 100755 --- a/pkgtools/url2pkg/files/url2pkg +++ b/pkgtools/url2pkg/files/url2pkg @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: url2pkg,v 1.14 2001/01/28 17:30:20 hubertf Exp $ +# $NetBSD: url2pkg,v 1.15 2001/02/16 13:06:20 wiz Exp $ # # url2pkg # (c) 1999 Hubert Feyrer @@ -74,6 +74,7 @@ if [ ! -f w*/.extract_done ]; then echo "" echo "MAINTAINER= $email_maintainer" echo "HOMEPAGE= " + echo "COMMENT= <SHORT_DESCRIPTION_OF_THE_PACKAGE>" echo "" echo '.include "../../mk/bsd.pkg.mk"' ) >Makefile @@ -133,13 +134,10 @@ echo "" echo "Contents of "`echo w*`"/${wrksrc}:" ls -la w*/$wrksrc -if [ ! -f pkg/COMMENT ]; then - touch pkg/COMMENT -fi if [ ! -f pkg/DESCR ]; then touch pkg/DESCR fi echo "" -echo "Don't forget to fill in pkg/COMMENT and pkg/DESCR when you're done." +echo "Don't forget to fill in the COMMENT variable and pkg/DESCR when you're done." echo "" echo "Good luck! (See pkgsrc/Packages.txt for some more help :-)" |