From 3e3c8a4d17fe61d8cd0875ca670f2674b5ad48c5 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 --- graphics/gimp1/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'graphics/gimp1/Makefile') diff --git a/graphics/gimp1/Makefile b/graphics/gimp1/Makefile index ae5dcdef5a4..1440e1abacb 100644 --- a/graphics/gimp1/Makefile +++ b/graphics/gimp1/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2006/09/02 19:37:34 rillig Exp $ +# $NetBSD: Makefile,v 1.7 2007/10/25 22:00:46 jlam Exp $ # DISTNAME= gimp-1.2.5 @@ -13,6 +13,7 @@ COMMENT= GNU Image Manipulation Program NO_CHECKSUM= yes NO_BUILD= YES +PLIST_SRC= # empty (meta-package) DEPENDS+= gimp-base>=1.2.5:../../graphics/gimp1-base DEPENDS+= gimp-data>=1.2:../../graphics/gimp1-data -- cgit v1.2.3