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 | ae9b935fd018aee0bd2410c581458d429b05b38b (patch) | |
tree | c90ec620445350ca4c742747e452c31b2a96cf95 /devel | |
parent | 84cf6490a4fd5185ef689e72a77e137737f650bd (diff) | |
download | pkgsrc-ae9b935fd018aee0bd2410c581458d429b05b38b.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 'devel')
-rw-r--r-- | devel/kdevelop/Makefile | 4 | ||||
-rw-r--r-- | devel/kdevelop/PLIST | 2 | ||||
-rw-r--r-- | devel/subversion/Makefile | 4 | ||||
-rw-r--r-- | devel/subversion/PLIST | 2 |
4 files changed, 4 insertions, 8 deletions
diff --git a/devel/kdevelop/Makefile b/devel/kdevelop/Makefile index 1743e1baa7c..314983fd0eb 100644 --- a/devel/kdevelop/Makefile +++ b/devel/kdevelop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.68 2007/10/20 10:51:38 markd Exp $ +# $NetBSD: Makefile,v 1.69 2007/10/25 22:00:42 jlam Exp $ DISTNAME= kdevelop-3.5.0 CATEGORIES= devel kde meta-pkgs @@ -16,7 +16,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes -NO_MTREE= yes +PLIST_SRC= # empty (meta-package) do-install: # empty diff --git a/devel/kdevelop/PLIST b/devel/kdevelop/PLIST deleted file mode 100644 index 389bce243b1..00000000000 --- a/devel/kdevelop/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:47 jlam Exp $ -@comment this plist intentionally left empty diff --git a/devel/subversion/Makefile b/devel/subversion/Makefile index 1c0ce8813ab..cd7eca0ba8c 100644 --- a/devel/subversion/Makefile +++ b/devel/subversion/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2007/07/03 12:51:20 joerg Exp $ +# $NetBSD: Makefile,v 1.32 2007/10/25 22:00:43 jlam Exp $ PKGNAME= subversion-${SVNVER} COMMENT= Version control system, meta-package @@ -24,7 +24,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= YES NO_CONFIGURE= YES NO_BUILD= YES -NO_MTREE= YES +PLIST_SRC= # empty (meta-package) .include "../../lang/python/pyversion.mk" .include "../../lang/ruby/rubyversion.mk" diff --git a/devel/subversion/PLIST b/devel/subversion/PLIST deleted file mode 100644 index 5ace22ed010..00000000000 --- a/devel/subversion/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.7 2007/10/25 17:49:47 jlam Exp $ -@comment this plist intentionally left empty |