From ae9b935fd018aee0bd2410c581458d429b05b38b 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 --- databases/openldap/Makefile | 3 ++- databases/openldap/PLIST | 2 -- databases/postgresql80/Makefile | 3 ++- databases/postgresql80/PLIST | 2 -- databases/postgresql81/Makefile | 3 ++- databases/postgresql81/PLIST | 2 -- databases/postgresql82/Makefile | 3 ++- databases/postgresql82/PLIST | 2 -- 8 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 databases/openldap/PLIST delete mode 100644 databases/postgresql80/PLIST delete mode 100644 databases/postgresql81/PLIST delete mode 100644 databases/postgresql82/PLIST (limited to 'databases') diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile index 38ee942fac2..c22e7d9fdaf 100644 --- a/databases/openldap/Makefile +++ b/databases/openldap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.120 2007/09/02 13:02:36 ghen Exp $ +# $NetBSD: Makefile,v 1.121 2007/10/25 22:00:41 jlam Exp $ DISTNAME= openldap-${OPENLDAP_VERSION} OPENLDAP_VERSION= 2.3.38 @@ -18,6 +18,7 @@ EXTRACT_ONLY= # yes NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty (meta-package) do-patch: # empty do-install: # empty diff --git a/databases/openldap/PLIST b/databases/openldap/PLIST deleted file mode 100644 index 68027139ef8..00000000000 --- a/databases/openldap/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.29 2007/10/25 17:49:46 jlam Exp $ -@comment this plist intentionally left empty diff --git a/databases/postgresql80/Makefile b/databases/postgresql80/Makefile index d74411ed303..210183666a2 100644 --- a/databases/postgresql80/Makefile +++ b/databases/postgresql80/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/02/21 19:05:06 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2007/10/25 22:00:41 jlam Exp $ PKGNAME= postgresql80-${BASE_VERS} COMMENT= Robust, next generation, object-relational DBMS @@ -12,6 +12,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= YES NO_CONFIGURE= YES NO_BUILD= YES +PLIST_SRC= # empty (meta-package) do-install: # empty do-patch: # empty diff --git a/databases/postgresql80/PLIST b/databases/postgresql80/PLIST deleted file mode 100644 index ef3f791b1c1..00000000000 --- a/databases/postgresql80/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:46 jlam Exp $ -@comment this plist intentionally left empty diff --git a/databases/postgresql81/Makefile b/databases/postgresql81/Makefile index 47f17aed2b7..2329d217019 100644 --- a/databases/postgresql81/Makefile +++ b/databases/postgresql81/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2006/03/21 06:39:33 martti Exp $ +# $NetBSD: Makefile,v 1.3 2007/10/25 22:00:41 jlam Exp $ PKGNAME= postgresql81-${BASE_VERS} COMMENT= Robust, next generation, object-relational DBMS @@ -12,6 +12,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= YES NO_CONFIGURE= YES NO_BUILD= YES +PLIST_SRC= # empty (meta-package) do-install: # empty do-patch: # empty diff --git a/databases/postgresql81/PLIST b/databases/postgresql81/PLIST deleted file mode 100644 index 389bce243b1..00000000000 --- a/databases/postgresql81/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/databases/postgresql82/Makefile b/databases/postgresql82/Makefile index 2dded510ebe..779eca18da0 100644 --- a/databases/postgresql82/Makefile +++ b/databases/postgresql82/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ +# $NetBSD: Makefile,v 1.2 2007/10/25 22:00:42 jlam Exp $ PKGNAME= postgresql82-${BASE_VERS} COMMENT= Robust, next generation, object-relational DBMS @@ -12,6 +12,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty (meta-package) do-install: # empty do-patch: # empty diff --git a/databases/postgresql82/PLIST b/databases/postgresql82/PLIST deleted file mode 100644 index 389bce243b1..00000000000 --- a/databases/postgresql82/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 -- cgit v1.2.3