summaryrefslogtreecommitdiff
path: root/misc/xdg-dirs
diff options
context:
space:
mode:
authorjlam <jlam>2007-10-25 22:00:39 +0000
committerjlam <jlam>2007-10-25 22:00:39 +0000
commit3e3c8a4d17fe61d8cd0875ca670f2674b5ad48c5 (patch)
treec90ec620445350ca4c742747e452c31b2a96cf95 /misc/xdg-dirs
parent648a3df9c412e0848a2fcb0ecba5e3ac15ce51ef (diff)
downloadpkgsrc-3e3c8a4d17fe61d8cd0875ca670f2674b5ad48c5.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/xdg-dirs')
-rw-r--r--misc/xdg-dirs/Makefile3
-rw-r--r--misc/xdg-dirs/PLIST2
2 files changed, 2 insertions, 3 deletions
diff --git a/misc/xdg-dirs/Makefile b/misc/xdg-dirs/Makefile
index ebec370e6c0..1d25a5c7f7d 100644
--- a/misc/xdg-dirs/Makefile
+++ b/misc/xdg-dirs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/11/02 18:21:18 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2007/10/25 22:01:02 jlam Exp $
#
DISTNAME= xdg-dirs-1.4
@@ -18,6 +18,7 @@ NO_BUILD= yes
NO_CONFIGURE= yes
NO_CHECKSUM= yes
NO_EXTRACT= yes
+PLIST_SRC= # empty
USE_LANGUAGES= # empty
WRKSRC= ${WRKDIR}
diff --git a/misc/xdg-dirs/PLIST b/misc/xdg-dirs/PLIST
deleted file mode 100644
index 35f1b4b32b2..00000000000
--- a/misc/xdg-dirs/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:58 jlam Exp $
-@comment this plist intentionally left empty