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 /meta-pkgs/xfce4 | |
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 'meta-pkgs/xfce4')
-rw-r--r-- | meta-pkgs/xfce4/Makefile | 4 | ||||
-rw-r--r-- | meta-pkgs/xfce4/PLIST | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/meta-pkgs/xfce4/Makefile b/meta-pkgs/xfce4/Makefile index 94d27f571b8..b8039dd7d48 100644 --- a/meta-pkgs/xfce4/Makefile +++ b/meta-pkgs/xfce4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2007/09/21 13:03:59 wiz Exp $ +# $NetBSD: Makefile,v 1.28 2007/10/25 22:00:59 jlam Exp $ .include "Makefile.common" @@ -11,7 +11,7 @@ COMMENT= Xfce NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes -NO_MTREE= yes +PLIST_SRC= # empty (meta-package) WRKSRC= ${WRKDIR} do-install: diff --git a/meta-pkgs/xfce4/PLIST b/meta-pkgs/xfce4/PLIST deleted file mode 100644 index f9c59e0a03b..00000000000 --- a/meta-pkgs/xfce4/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.4 2007/10/25 17:49:56 jlam Exp $ -@comment this plist intentionally left empty |