Subject: CVS commit: pkgsrc
From: Johnny C. Lam
Date: 2007-10-26 00:01:10
Message id: 20071025220110.D508021507@cvs.netbsd.org

Log Message:
* 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

Files:
RevisionActionfile
1.33modifypkgsrc/archivers/gtar/Makefile
1.18modifypkgsrc/archivers/gzip/Makefile
1.17modifypkgsrc/audio/mad/Makefile
1.53modifypkgsrc/cad/geda/Makefile
1.8modifypkgsrc/cad/wcalc/Makefile
1.121modifypkgsrc/databases/openldap/Makefile
1.10modifypkgsrc/databases/postgresql80/Makefile
1.3modifypkgsrc/databases/postgresql81/Makefile
1.2modifypkgsrc/databases/postgresql82/Makefile
1.69modifypkgsrc/devel/kdevelop/Makefile
1.32modifypkgsrc/devel/subversion/Makefile
1.21modifypkgsrc/editors/emacs-packages/Makefile
1.31modifypkgsrc/fonts/jisx0208fonts/Makefile
1.9modifypkgsrc/fonts/ko-x11fonts/Makefile
1.23modifypkgsrc/games/nethack/Makefile
1.6modifypkgsrc/geography/xrmap/Makefile
1.68modifypkgsrc/graphics/Mesa/Makefile
1.27modifypkgsrc/graphics/freetype/Makefile
1.7modifypkgsrc/graphics/gimp1/Makefile
1.7modifypkgsrc/inputmethod/canna/Makefile
1.6modifypkgsrc/inputmethod/ja-freewnn-server/Makefile
1.9modifypkgsrc/inputmethod/sj3-server/Makefile
1.62modifypkgsrc/lang/gcc3/Makefile
1.18modifypkgsrc/lang/ruby18/Makefile
1.40modifypkgsrc/lang/swi-prolog/Makefile
1.5modifypkgsrc/mail/claws-mail-pgp/Makefile
1.8modifypkgsrc/meta-pkgs/boost/Makefile
1.11modifypkgsrc/meta-pkgs/courier/Makefile
1.13modifypkgsrc/meta-pkgs/fxtv-capture/Makefile
1.72modifypkgsrc/meta-pkgs/gnome/Makefile
1.44modifypkgsrc/meta-pkgs/gnome-base/Makefile
1.26modifypkgsrc/meta-pkgs/gnome-devel/Makefile
1.10modifypkgsrc/meta-pkgs/gnuradio/Makefile
1.24modifypkgsrc/meta-pkgs/gnustep/Makefile
1.19modifypkgsrc/meta-pkgs/gtk2-extras/Makefile
1.58modifypkgsrc/meta-pkgs/kde3/Makefile
1.5modifypkgsrc/meta-pkgs/matchbox/Makefile
1.8modifypkgsrc/meta-pkgs/modular-xorg-apps/Makefile
1.6modifypkgsrc/meta-pkgs/modular-xorg-drivers/Makefile
1.2modifypkgsrc/meta-pkgs/modular-xorg-fonts/Makefile
1.2modifypkgsrc/meta-pkgs/modular-xorg-libs/Makefile
1.16modifypkgsrc/meta-pkgs/netbsd-doc/Makefile
1.22modifypkgsrc/meta-pkgs/netbsd-doc-print/Makefile
1.22modifypkgsrc/meta-pkgs/netbsd-www/Makefile
1.21modifypkgsrc/meta-pkgs/php4-extensions/Makefile
1.3modifypkgsrc/meta-pkgs/pkg_developer/Makefile
1.4modifypkgsrc/meta-pkgs/pkgsrc-guide-tools/Makefile
1.8modifypkgsrc/meta-pkgs/ruby-gnome2/Makefile
1.9modifypkgsrc/meta-pkgs/suse100/Makefile
1.8modifypkgsrc/meta-pkgs/suse9/Makefile
1.21modifypkgsrc/meta-pkgs/web-server/Makefile
1.21modifypkgsrc/meta-pkgs/windowmaker-desktop/Makefile
1.28modifypkgsrc/meta-pkgs/xfce4/Makefile
1.27modifypkgsrc/meta-pkgs/xfce4-extras/Makefile
1.19modifypkgsrc/misc/gnome-dirs/Makefile
1.23modifypkgsrc/misc/gnome1-dirs/Makefile
1.28modifypkgsrc/misc/gnome2-dirs/Makefile
1.2modifypkgsrc/misc/kde3-dirs/Makefile
1.8modifypkgsrc/misc/theme-dirs/Makefile
1.17modifypkgsrc/misc/xdg-dirs/Makefile
1.15modifypkgsrc/misc/xdg-x11-dirs/Makefile
1.7modifypkgsrc/pkgtools/prereq-readme/Makefile
1.21modifypkgsrc/print/LPRng/Makefile
1.6modifypkgsrc/print/foomatic-filters-cups/Makefile
1.7modifypkgsrc/print/foomatic-ppds-cups/Makefile
1.15modifypkgsrc/print/ja-ptex/Makefile
1.10modifypkgsrc/print/ja-vflib/Makefile
1.45modifypkgsrc/print/teTeX/Makefile
1.9modifypkgsrc/print/texmf-dirs/Makefile
1.42modifypkgsrc/sysutils/amanda/Makefile
1.10modifypkgsrc/textproc/chasen/Makefile
1.2modifypkgsrc/textproc/mecab/Makefile
1.10modifypkgsrc/www/clearsilver/Makefile
1.5modifypkgsrc/www/firefox-bin-acroread/Makefile.common
1.10modifypkgsrc/www/opera-acroread/Makefile.common
1.19modifypkgsrc/x11/qt2/Makefile
1.35modifypkgsrc/x11/qt3/Makefile
1.2modifypkgsrc/x11/qt4/Makefile
1.22modifypkgsrc/x11/xview/Makefile
1.3removepkgsrc/archivers/gtar/PLIST
1.3removepkgsrc/archivers/gzip/PLIST
1.7removepkgsrc/audio/mad/PLIST
1.10removepkgsrc/cad/geda/PLIST
1.3removepkgsrc/cad/wcalc/PLIST
1.29removepkgsrc/databases/openldap/PLIST
1.3removepkgsrc/databases/postgresql80/PLIST
1.3removepkgsrc/databases/postgresql81/PLIST
1.3removepkgsrc/databases/postgresql82/PLIST
1.3removepkgsrc/devel/kdevelop/PLIST
1.7removepkgsrc/devel/subversion/PLIST
1.3removepkgsrc/editors/emacs-packages/PLIST
1.3removepkgsrc/fonts/jisx0208fonts/PLIST
1.3removepkgsrc/fonts/ko-x11fonts/PLIST
1.3removepkgsrc/games/nethack/PLIST
1.3removepkgsrc/geography/xrmap/PLIST
1.3removepkgsrc/graphics/Mesa/PLIST
1.3removepkgsrc/graphics/freetype/PLIST
1.3removepkgsrc/graphics/gimp1/PLIST
1.3removepkgsrc/inputmethod/canna/PLIST
1.4removepkgsrc/inputmethod/ja-freewnn-server/PLIST
1.4removepkgsrc/inputmethod/sj3-server/PLIST
1.13removepkgsrc/lang/gcc3/PLIST
1.8removepkgsrc/lang/ruby18/PLIST
1.9removepkgsrc/lang/swi-prolog/PLIST
1.3removepkgsrc/mail/claws-mail-pgp/PLIST
1.3removepkgsrc/meta-pkgs/boost/PLIST
1.3removepkgsrc/meta-pkgs/courier/PLIST
1.3removepkgsrc/meta-pkgs/fxtv-capture/PLIST
1.3removepkgsrc/meta-pkgs/gnome/PLIST
1.3removepkgsrc/meta-pkgs/gnome-base/PLIST
1.3removepkgsrc/meta-pkgs/gnome-devel/PLIST
1.3removepkgsrc/meta-pkgs/gnuradio/PLIST
1.3removepkgsrc/meta-pkgs/gnustep/PLIST
1.3removepkgsrc/meta-pkgs/gtk2-extras/PLIST
1.3removepkgsrc/meta-pkgs/kde3/PLIST
1.3removepkgsrc/meta-pkgs/matchbox/PLIST
1.3removepkgsrc/meta-pkgs/modular-xorg-apps/PLIST
1.3removepkgsrc/meta-pkgs/modular-xorg-drivers/PLIST
1.3removepkgsrc/meta-pkgs/modular-xorg-fonts/PLIST
1.3removepkgsrc/meta-pkgs/modular-xorg-libs/PLIST
1.3removepkgsrc/meta-pkgs/netbsd-doc/PLIST
1.3removepkgsrc/meta-pkgs/netbsd-doc-print/PLIST
1.3removepkgsrc/meta-pkgs/netbsd-www/PLIST
1.3removepkgsrc/meta-pkgs/php4-extensions/PLIST
1.3removepkgsrc/meta-pkgs/pkg_developer/PLIST
1.3removepkgsrc/meta-pkgs/pkgsrc-guide-tools/PLIST
1.3removepkgsrc/meta-pkgs/ruby-gnome2/PLIST
1.3removepkgsrc/meta-pkgs/suse100/PLIST
1.3removepkgsrc/meta-pkgs/suse9/PLIST
1.3removepkgsrc/meta-pkgs/web-server/PLIST
1.3removepkgsrc/meta-pkgs/windowmaker-desktop/PLIST
1.4removepkgsrc/meta-pkgs/xfce4/PLIST
1.4removepkgsrc/meta-pkgs/xfce4-extras/PLIST
1.3removepkgsrc/misc/gnome-dirs/PLIST
1.3removepkgsrc/misc/gnome1-dirs/PLIST
1.3removepkgsrc/misc/gnome2-dirs/PLIST
1.3removepkgsrc/misc/kde3-dirs/PLIST
1.3removepkgsrc/misc/theme-dirs/PLIST
1.3removepkgsrc/misc/xdg-dirs/PLIST
1.3removepkgsrc/misc/xdg-x11-dirs/PLIST
1.3removepkgsrc/pkgtools/prereq-readme/PLIST
1.3removepkgsrc/print/LPRng/PLIST
1.3removepkgsrc/print/foomatic-filters-cups/PLIST
1.3removepkgsrc/print/foomatic-ppds-cups/PLIST
1.3removepkgsrc/print/ja-ptex/PLIST
1.3removepkgsrc/print/ja-vflib/PLIST
1.3removepkgsrc/print/teTeX/PLIST
1.3removepkgsrc/print/texmf-dirs/PLIST
1.3removepkgsrc/sysutils/amanda/PLIST
1.4removepkgsrc/textproc/chasen/PLIST
1.3removepkgsrc/textproc/mecab/PLIST
1.4removepkgsrc/www/clearsilver/PLIST
1.4removepkgsrc/www/firefox-bin-acroread/PLIST
1.5removepkgsrc/www/opera-acroread/PLIST
1.3removepkgsrc/x11/qt2/PLIST
1.3removepkgsrc/x11/qt3/PLIST
1.3removepkgsrc/x11/qt4/PLIST
1.3removepkgsrc/x11/xview/PLIST