diff options
author | rillig <rillig> | 2009-07-31 22:27:04 +0000 |
---|---|---|
committer | rillig <rillig> | 2009-07-31 22:27:04 +0000 |
commit | f77937b5ff123e43cc2128ed6c8c063fff28fcaa (patch) | |
tree | 71de8e05e7406bffd5bc7e38235a806a6b2f104d /pkgtools | |
parent | 3dba0bc7a5230931bfc667ab6639c5ae04c7a5b8 (diff) | |
download | pkgsrc-f77937b5ff123e43cc2128ed6c8c063fff28fcaa.tar.gz |
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 (limited to 'pkgtools')
-rw-r--r-- | pkgtools/url2pkg/files/url2pkg.pl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgtools/url2pkg/files/url2pkg.pl b/pkgtools/url2pkg/files/url2pkg.pl index 43975fc9ec7..5a712f3e9f6 100644 --- a/pkgtools/url2pkg/files/url2pkg.pl +++ b/pkgtools/url2pkg/files/url2pkg.pl @@ -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 @@ sub generate_initial_package($) { 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"); |