diff options
author | jlam <jlam@pkgsrc.org> | 2007-10-25 22:00:39 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-10-25 22:00:39 +0000 |
commit | 0125e6effec094242a6dde7aec9bc003c9d1ea1c (patch) | |
tree | c90ec620445350ca4c742747e452c31b2a96cf95 /archivers | |
parent | f1b15dda3dc16a357dc6d6dde16fdf42e01d14e6 (diff) | |
download | pkgsrc-0125e6effec094242a6dde7aec9bc003c9d1ea1c.tar.gz |
* If PLIST_SRC is explicitly set to an empty value in a package Makefile,
then automatically generate a PLIST that says "${PKGNAME} has no files".
* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
and no PLIST files exist, then fail during the package build with
PKG_FAIL_REASON.
* Remove "intentionally empty" PLISTs again.
Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:
PLIST_SRC= # empty
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/gtar/Makefile | 3 | ||||
-rw-r--r-- | archivers/gtar/PLIST | 2 | ||||
-rw-r--r-- | archivers/gzip/Makefile | 3 | ||||
-rw-r--r-- | archivers/gzip/PLIST | 2 |
4 files changed, 4 insertions, 6 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile index 3fcbeca7e61..6c06542f2bf 100644 --- a/archivers/gtar/Makefile +++ b/archivers/gtar/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2006/03/04 21:28:52 jlam Exp $ +# $NetBSD: Makefile,v 1.33 2007/10/25 22:00:39 jlam Exp $ DISTNAME= gtar-1.15.1 PKGREVISION= 1 @@ -19,6 +19,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty (meta-package) do-install: # empty diff --git a/archivers/gtar/PLIST b/archivers/gtar/PLIST deleted file mode 100644 index 0426b4fdc86..00000000000 --- a/archivers/gtar/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:45 jlam Exp $ -@comment this plist intentionally left empty diff --git a/archivers/gzip/Makefile b/archivers/gzip/Makefile index 58c812f7731..a92d53d665d 100644 --- a/archivers/gzip/Makefile +++ b/archivers/gzip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2006/06/30 09:51:01 joerg Exp $ +# $NetBSD: Makefile,v 1.18 2007/10/25 22:00:39 jlam Exp $ # DISTNAME= gzip-1.2.4b @@ -20,6 +20,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= YES NO_CONFIGURE= YES NO_BUILD= YES +PLIST_SRC= # empty (meta-package) do-install: # empty diff --git a/archivers/gzip/PLIST b/archivers/gzip/PLIST deleted file mode 100644 index 0426b4fdc86..00000000000 --- a/archivers/gzip/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:45 jlam Exp $ -@comment this plist intentionally left empty |