summaryrefslogtreecommitdiff
path: root/misc/gnome2-dirs
diff options
context:
space:
mode:
authorjlam <jlam>2007-10-25 22:00:39 +0000
committerjlam <jlam>2007-10-25 22:00:39 +0000
commit496d61914b2bd77dabbd4fde285e9fb90c0f265f (patch)
treec90ec620445350ca4c742747e452c31b2a96cf95 /misc/gnome2-dirs
parent0ffc56e029bd8ecf5e9123c88c7620e6dddd40a6 (diff)
downloadpkgsrc-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 'misc/gnome2-dirs')
-rw-r--r--misc/gnome2-dirs/Makefile3
-rw-r--r--misc/gnome2-dirs/PLIST2
2 files changed, 2 insertions, 3 deletions
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