pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/url2pkg/files Added PKG_DESTDIR_SUPPORT, as s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/264bbe369717
branches:  trunk
changeset: 396695:264bbe369717
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Jul 31 22:27:04 2009 +0000

description:
Added PKG_DESTDIR_SUPPORT, as suggested by Kamel Ibn Hassen Derouiche on
tech-pkg.

Commented out the LICENSE definition, since pkg_admin is very picky
about invalid values. Having either "" or "LICENSE" as the value doesn't
let you even fetch and extract the distfiles.

diffstat:

 pkgtools/url2pkg/files/url2pkg.pl |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 1c8df157f6c9 -r 264bbe369717 pkgtools/url2pkg/files/url2pkg.pl
--- a/pkgtools/url2pkg/files/url2pkg.pl Fri Jul 31 22:20:28 2009 +0000
+++ b/pkgtools/url2pkg/files/url2pkg.pl Fri Jul 31 22:27:04 2009 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: url2pkg.pl,v 1.13 2009/05/19 15:17:27 wiz Exp $
+# $NetBSD: url2pkg.pl,v 1.14 2009/07/31 22:27:04 rillig Exp $
 #
 
 use strict;
@@ -284,8 +284,11 @@
        print_section(*MF, [
                ["MAINTAINER", get_maintainer()],
                ["HOMEPAGE", $homepage],
-               ["COMMENT", "SHORT_DESCRIPTION_OF_THE_PACKAGE"],
-               ["LICENSE", "LICENSE"],
+               ["COMMENT", "TODO: Short description of the package"],
+               ["#LICENSE", "# TODO: (see mk/license.mk)"],
+       ]);
+       print_section(*MF, [
+               ["PKG_DESTDIR_SUPPORT", "user-destdir"],
        ]);
        print MF ("# url2pkg-marker (please do not remove this line.)\n");
        print MF (".include \"../../mk/bsd.pkg.mk\"\n");



Home | Main Index | Thread Index | Old Index