pkgsrc/pkgtools/prereq-readme/Makefile
jlam ae9b935fd0 * 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
2007-10-25 22:00:39 +00:00

34 lines
675 B
Makefile

# $NetBSD: Makefile,v 1.7 2007/10/25 22:01:03 jlam Exp $
#
DISTNAME= prereq-readme-20050521
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/
COMMENT= Tools required for pkgsrc README.html generation
WRKSRC= ${WRKDIR}
NO_CHECKSUM= yes
NO_CONFIGURE= yes
NO_BUILD= yes
NO_INSTALL= # defined
NO_PACKAGE= # defined
PLIST_SRC= # empty (meta-package)
# list all the tools we use
USE_TOOLS+= awk
USE_TOOLS+= cmp
USE_TOOLS+= echo
USE_TOOLS+= expr
USE_TOOLS+= fgrep
USE_TOOLS+= find
USE_TOOLS+= grep
USE_TOOLS+= gzip
USE_TOOLS+= sed
USE_TOOLS+= setenv
USE_TOOLS+= sort
.include "../../mk/bsd.pkg.mk"