pkgsrc/games/nethack/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

28 lines
734 B
Makefile

# $NetBSD: Makefile,v 1.23 2007/10/25 22:00:44 jlam Exp $
# Needed so configure/patch rules don't get pulled in
NO_BUILD= yes
NO_CONFIGURE= yes
.include "../../games/nethack-lib/Makefile.common"
DISTNAME= nethack-all-${NETHACK_VERSION}
PKGREVISION= 3
CATEGORIES+= x11
MASTER_SITES= # empty
DISTFILES= # empty
COMMENT= Meta-package for NetHack with x11, qt and tty versions
DEPENDS+= nethack-tty-${NETHACK_VERSION}{,nb*}:../../games/nethack-tty
DEPENDS+= nethack-x11-${NETHACK_VERSION}{,nb*}:../../games/nethack-x11
DEPENDS+= nethack-qt-${NETHACK_VERSION}{,nb*}:../../games/nethack-qt
EXTRACT_ONLY= # empty
NO_CHECKSUM= yes
PLIST_SRC= # empty (meta-package)
do-install: # empty
do-patch: # empty
.include "../../mk/bsd.pkg.mk"