From 0125e6effec094242a6dde7aec9bc003c9d1ea1c Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 25 Oct 2007 22:00:39 +0000 Subject: * 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 --- fonts/jisx0208fonts/Makefile | 3 ++- fonts/jisx0208fonts/PLIST | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 fonts/jisx0208fonts/PLIST (limited to 'fonts/jisx0208fonts') diff --git a/fonts/jisx0208fonts/Makefile b/fonts/jisx0208fonts/Makefile index fafe17119cb..da0903b8e3b 100644 --- a/fonts/jisx0208fonts/Makefile +++ b/fonts/jisx0208fonts/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2007/02/22 19:26:29 wiz Exp $ +# $NetBSD: Makefile,v 1.31 2007/10/25 22:00:43 jlam Exp $ # DISTNAME= jisx0208fonts-200301316 @@ -31,6 +31,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= YES NO_CONFIGURE= YES NO_BUILD= YES +PLIST_SRC= # empty (meta-package) do-install: # do nothing diff --git a/fonts/jisx0208fonts/PLIST b/fonts/jisx0208fonts/PLIST deleted file mode 100644 index f0ac040bf30..00000000000 --- a/fonts/jisx0208fonts/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:48 jlam Exp $ -@comment this plist intentionally left empty -- cgit v1.2.3