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 /misc | |
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 'misc')
-rw-r--r-- | misc/gnome-dirs/Makefile | 3 | ||||
-rw-r--r-- | misc/gnome-dirs/PLIST | 2 | ||||
-rw-r--r-- | misc/gnome1-dirs/Makefile | 3 | ||||
-rw-r--r-- | misc/gnome1-dirs/PLIST | 2 | ||||
-rw-r--r-- | misc/gnome2-dirs/Makefile | 3 | ||||
-rw-r--r-- | misc/gnome2-dirs/PLIST | 2 | ||||
-rw-r--r-- | misc/kde3-dirs/Makefile | 3 | ||||
-rw-r--r-- | misc/kde3-dirs/PLIST | 2 | ||||
-rw-r--r-- | misc/theme-dirs/Makefile | 3 | ||||
-rw-r--r-- | misc/theme-dirs/PLIST | 2 | ||||
-rw-r--r-- | misc/xdg-dirs/Makefile | 3 | ||||
-rw-r--r-- | misc/xdg-dirs/PLIST | 2 | ||||
-rw-r--r-- | misc/xdg-x11-dirs/Makefile | 3 | ||||
-rw-r--r-- | misc/xdg-x11-dirs/PLIST | 2 |
14 files changed, 14 insertions, 21 deletions
diff --git a/misc/gnome-dirs/Makefile b/misc/gnome-dirs/Makefile index 04b198f4893..31c7ee485f3 100644 --- a/misc/gnome-dirs/Makefile +++ b/misc/gnome-dirs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/11/05 17:24:31 joerg Exp $ +# $NetBSD: Makefile,v 1.19 2007/10/25 22:00:59 jlam Exp $ # DISTNAME= gnome-dirs-1.6 @@ -19,6 +19,7 @@ NO_CHECKSUM= yes NO_EXTRACT= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty .include "dirs.mk" .include "../../mk/bsd.prefs.mk" diff --git a/misc/gnome-dirs/PLIST b/misc/gnome-dirs/PLIST deleted file mode 100644 index 84697151db6..00000000000 --- a/misc/gnome-dirs/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:57 jlam Exp $ -@comment this plist intentionally left empty diff --git a/misc/gnome1-dirs/Makefile b/misc/gnome1-dirs/Makefile index 82558ddc7ab..b5a3ced0cb0 100644 --- a/misc/gnome1-dirs/Makefile +++ b/misc/gnome1-dirs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2006/03/30 21:14:32 jmmv Exp $ +# $NetBSD: Makefile,v 1.23 2007/10/25 22:01:00 jlam Exp $ # DISTNAME= gnome1-dirs-1.6 @@ -19,6 +19,7 @@ NO_CHECKSUM= yes NO_EXTRACT= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty .include "dirs.mk" .include "../../mk/bsd.prefs.mk" diff --git a/misc/gnome1-dirs/PLIST b/misc/gnome1-dirs/PLIST deleted file mode 100644 index 84697151db6..00000000000 --- a/misc/gnome1-dirs/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:57 jlam Exp $ -@comment this plist intentionally left empty diff --git a/misc/gnome2-dirs/Makefile b/misc/gnome2-dirs/Makefile index be8bf6ff0ef..699e6c57b3c 100644 --- a/misc/gnome2-dirs/Makefile +++ b/misc/gnome2-dirs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2006/11/05 17:24:32 joerg Exp $ +# $NetBSD: Makefile,v 1.28 2007/10/25 22:01:01 jlam Exp $ # DISTNAME= gnome2-dirs-1.6 @@ -18,6 +18,7 @@ NO_EXTRACT= yes NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty .include "dirs.mk" .include "../../mk/bsd.prefs.mk" diff --git a/misc/gnome2-dirs/PLIST b/misc/gnome2-dirs/PLIST deleted file mode 100644 index 84697151db6..00000000000 --- a/misc/gnome2-dirs/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:57 jlam Exp $ -@comment this plist intentionally left empty diff --git a/misc/kde3-dirs/Makefile b/misc/kde3-dirs/Makefile index 3c70e03362d..2151672c4bd 100644 --- a/misc/kde3-dirs/Makefile +++ b/misc/kde3-dirs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/01/26 02:30:13 markd Exp $ +# $NetBSD: Makefile,v 1.2 2007/10/25 22:01:01 jlam Exp $ # DISTNAME= kde3-dirs-1.0 @@ -18,6 +18,7 @@ NO_EXTRACT= yes NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty .include "dirs.mk" .include "../../mk/bsd.prefs.mk" diff --git a/misc/kde3-dirs/PLIST b/misc/kde3-dirs/PLIST deleted file mode 100644 index 84697151db6..00000000000 --- a/misc/kde3-dirs/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:57 jlam Exp $ -@comment this plist intentionally left empty diff --git a/misc/theme-dirs/Makefile b/misc/theme-dirs/Makefile index e540a1793bc..432f21e7541 100644 --- a/misc/theme-dirs/Makefile +++ b/misc/theme-dirs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2005/12/29 06:21:55 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2007/10/25 22:01:02 jlam Exp $ # DISTNAME= theme-dirs-1.1 @@ -15,6 +15,7 @@ NO_BUILD= yes NO_CONFIGURE= yes NO_CHECKSUM= yes NO_EXTRACT= yes +PLIST_SRC= # empty USE_DIRS= xdg-1.1 USE_LANGUAGES= # empty WRKSRC= ${WRKDIR} diff --git a/misc/theme-dirs/PLIST b/misc/theme-dirs/PLIST deleted file mode 100644 index 84697151db6..00000000000 --- a/misc/theme-dirs/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:57 jlam Exp $ -@comment this plist intentionally left empty diff --git a/misc/xdg-dirs/Makefile b/misc/xdg-dirs/Makefile index ebec370e6c0..1d25a5c7f7d 100644 --- a/misc/xdg-dirs/Makefile +++ b/misc/xdg-dirs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2006/11/02 18:21:18 joerg Exp $ +# $NetBSD: Makefile,v 1.17 2007/10/25 22:01:02 jlam Exp $ # DISTNAME= xdg-dirs-1.4 @@ -18,6 +18,7 @@ NO_BUILD= yes NO_CONFIGURE= yes NO_CHECKSUM= yes NO_EXTRACT= yes +PLIST_SRC= # empty USE_LANGUAGES= # empty WRKSRC= ${WRKDIR} diff --git a/misc/xdg-dirs/PLIST b/misc/xdg-dirs/PLIST deleted file mode 100644 index 35f1b4b32b2..00000000000 --- a/misc/xdg-dirs/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:58 jlam Exp $ -@comment this plist intentionally left empty diff --git a/misc/xdg-x11-dirs/Makefile b/misc/xdg-x11-dirs/Makefile index 13a71b231af..1ccd6402d64 100644 --- a/misc/xdg-x11-dirs/Makefile +++ b/misc/xdg-x11-dirs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/01/08 15:47:39 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2007/10/25 22:01:02 jlam Exp $ # DISTNAME= xdg-x11-dirs-1.4 @@ -16,6 +16,7 @@ NO_BUILD= yes NO_CONFIGURE= yes NO_CHECKSUM= yes NO_EXTRACT= yes +PLIST_SRC= # empty USE_LANGUAGES= # empty USE_X11BASE= yes WRKSRC= ${WRKDIR} diff --git a/misc/xdg-x11-dirs/PLIST b/misc/xdg-x11-dirs/PLIST deleted file mode 100644 index 35f1b4b32b2..00000000000 --- a/misc/xdg-x11-dirs/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:58 jlam Exp $ -@comment this plist intentionally left empty |