From 0125e6effec094242a6dde7aec9bc003c9d1ea1c 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 --- print/LPRng/Makefile | 3 ++- print/LPRng/PLIST | 2 -- print/foomatic-filters-cups/Makefile | 3 ++- print/foomatic-filters-cups/PLIST | 2 -- print/foomatic-ppds-cups/Makefile | 3 ++- print/foomatic-ppds-cups/PLIST | 2 -- print/ja-ptex/Makefile | 3 ++- print/ja-ptex/PLIST | 2 -- print/ja-vflib/Makefile | 3 ++- print/ja-vflib/PLIST | 2 -- print/teTeX/Makefile | 3 ++- print/teTeX/PLIST | 2 -- print/texmf-dirs/Makefile | 7 ++++--- print/texmf-dirs/PLIST | 2 -- 14 files changed, 16 insertions(+), 23 deletions(-) delete mode 100644 print/LPRng/PLIST delete mode 100644 print/foomatic-filters-cups/PLIST delete mode 100644 print/foomatic-ppds-cups/PLIST delete mode 100644 print/ja-ptex/PLIST delete mode 100644 print/ja-vflib/PLIST delete mode 100644 print/teTeX/PLIST delete mode 100644 print/texmf-dirs/PLIST (limited to 'print') diff --git a/print/LPRng/Makefile b/print/LPRng/Makefile index a284f9dc97f..4880d5a6067 100644 --- a/print/LPRng/Makefile +++ b/print/LPRng/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2006/09/04 08:47:17 martti Exp $ +# $NetBSD: Makefile,v 1.21 2007/10/25 22:01:03 jlam Exp $ DISTNAME= LPRng-3.6.28 PKGREVISION= 2 @@ -17,6 +17,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty (meta-package) do-install: # empty diff --git a/print/LPRng/PLIST b/print/LPRng/PLIST deleted file mode 100644 index 35f1b4b32b2..00000000000 --- a/print/LPRng/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 diff --git a/print/foomatic-filters-cups/Makefile b/print/foomatic-filters-cups/Makefile index b53d88b2d9f..6ff1504d356 100644 --- a/print/foomatic-filters-cups/Makefile +++ b/print/foomatic-filters-cups/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2006/06/15 20:40:16 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2007/10/25 22:01:03 jlam Exp $ .include "../../print/foomatic-filters/Makefile.common" @@ -17,6 +17,7 @@ EXTRACT_ONLY= # empty WRKSRC= ${WRKDIR} NO_CHECKSUM= yes NO_CONFIGURE= yes +PLIST_SRC= # empty EVAL_PREFIX+= CUPS_PREFIX=cups CUPS_FILTERDIR= ${CUPS_PREFIX:Q}/libexec/cups/filter diff --git a/print/foomatic-filters-cups/PLIST b/print/foomatic-filters-cups/PLIST deleted file mode 100644 index 35f1b4b32b2..00000000000 --- a/print/foomatic-filters-cups/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 diff --git a/print/foomatic-ppds-cups/Makefile b/print/foomatic-ppds-cups/Makefile index 1300637edee..ada9565324a 100644 --- a/print/foomatic-ppds-cups/Makefile +++ b/print/foomatic-ppds-cups/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2007/03/14 12:12:57 markd Exp $ +# $NetBSD: Makefile,v 1.7 2007/10/25 22:01:04 jlam Exp $ .include "../../print/foomatic-ppds/Makefile.common" @@ -16,6 +16,7 @@ EXTRACT_ONLY= # empty WRKSRC= ${WRKDIR} NO_CHECKSUM= yes NO_CONFIGURE= yes +PLIST_SRC= # empty EVAL_PREFIX+= CUPS_PREFIX=cups CUPS_DATADIR= ${CUPS_PREFIX:Q}/share/cups/model diff --git a/print/foomatic-ppds-cups/PLIST b/print/foomatic-ppds-cups/PLIST deleted file mode 100644 index 739b5284f39..00000000000 --- a/print/foomatic-ppds-cups/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:59 jlam Exp $ -@comment this plist intentionally left empty diff --git a/print/ja-ptex/Makefile b/print/ja-ptex/Makefile index 511afc61cdd..63601b32c64 100644 --- a/print/ja-ptex/Makefile +++ b/print/ja-ptex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/02/15 14:42:17 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2007/10/25 22:01:04 jlam Exp $ DISTNAME= ja-ptex-1.0 PKGREVISION= 3 @@ -18,6 +18,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty (meta-package) MESSAGE_SRC= ${PKGDIR}/MESSAGE diff --git a/print/ja-ptex/PLIST b/print/ja-ptex/PLIST deleted file mode 100644 index 739b5284f39..00000000000 --- a/print/ja-ptex/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:59 jlam Exp $ -@comment this plist intentionally left empty diff --git a/print/ja-vflib/Makefile b/print/ja-vflib/Makefile index 550511ffefa..9a9409dc1df 100644 --- a/print/ja-vflib/Makefile +++ b/print/ja-vflib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/02/19 17:20:41 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2007/10/25 22:01:04 jlam Exp $ DISTNAME= ja-vflib-${VFLIB_VERSION} VFLIB_VERSION= 2.24.2nb2 @@ -18,6 +18,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty (meta-package) do-install: # empty diff --git a/print/ja-vflib/PLIST b/print/ja-vflib/PLIST deleted file mode 100644 index 739b5284f39..00000000000 --- a/print/ja-vflib/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:59 jlam Exp $ -@comment this plist intentionally left empty diff --git a/print/teTeX/Makefile b/print/teTeX/Makefile index 3147104c40b..0e6b8e314bd 100644 --- a/print/teTeX/Makefile +++ b/print/teTeX/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2007/02/22 19:27:06 wiz Exp $ +# $NetBSD: Makefile,v 1.45 2007/10/25 22:01:05 jlam Exp $ # DISTNAME= teTeX-3.0 @@ -21,6 +21,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty do-install: # do nothing diff --git a/print/teTeX/PLIST b/print/teTeX/PLIST deleted file mode 100644 index 739b5284f39..00000000000 --- a/print/teTeX/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:59 jlam Exp $ -@comment this plist intentionally left empty diff --git a/print/texmf-dirs/Makefile b/print/texmf-dirs/Makefile index 53653218026..c2a2578ab3f 100644 --- a/print/texmf-dirs/Makefile +++ b/print/texmf-dirs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2006/12/05 21:00:12 minskim Exp $ +# $NetBSD: Makefile,v 1.9 2007/10/25 22:01:05 jlam Exp $ DISTNAME= texmf-dirs-1.4 CATEGORIES= print @@ -9,10 +9,11 @@ MAINTAINER= minskim@NetBSD.org HOMEPAGE= # empty COMMENT= Local TeX directory structure -NO_BUILD= yes -NO_CONFIGURE= yes NO_CHECKSUM= yes NO_EXTRACT= yes +NO_CONFIGURE= yes +NO_BUILD= yes +PLIST_SRC= # empty USE_LANGUAGES= # empty WRKSRC= ${WRKDIR} diff --git a/print/texmf-dirs/PLIST b/print/texmf-dirs/PLIST deleted file mode 100644 index 739b5284f39..00000000000 --- a/print/texmf-dirs/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:59 jlam Exp $ -@comment this plist intentionally left empty -- cgit v1.2.3