diff options
author | jlam <jlam> | 2007-10-25 22:00:39 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-10-25 22:00:39 +0000 |
commit | 496d61914b2bd77dabbd4fde285e9fb90c0f265f (patch) | |
tree | c90ec620445350ca4c742747e452c31b2a96cf95 /audio | |
parent | 0ffc56e029bd8ecf5e9123c88c7620e6dddd40a6 (diff) | |
download | pkgsrc-496d61914b2bd77dabbd4fde285e9fb90c0f265f.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 'audio')
-rw-r--r-- | audio/mad/Makefile | 3 | ||||
-rw-r--r-- | audio/mad/PLIST | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/audio/mad/Makefile b/audio/mad/Makefile index 817972f498e..490e9741969 100644 --- a/audio/mad/Makefile +++ b/audio/mad/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2006/02/05 23:08:11 joerg Exp $ +# $NetBSD: Makefile,v 1.17 2007/10/25 22:00:39 jlam Exp $ # DISTNAME= mad-0.15.0b @@ -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/audio/mad/PLIST b/audio/mad/PLIST deleted file mode 100644 index d91e8d4a659..00000000000 --- a/audio/mad/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.7 2007/10/25 17:49:46 jlam Exp $ -@comment this plist intentionally left empty |