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/theme-dirs | |
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/theme-dirs')
-rw-r--r-- | misc/theme-dirs/Makefile | 3 | ||||
-rw-r--r-- | misc/theme-dirs/PLIST | 2 |
2 files changed, 2 insertions, 3 deletions
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 |