diff options
author | jlam <jlam@pkgsrc.org> | 2007-10-25 22:00:39 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-10-25 22:00:39 +0000 |
commit | ae9b935fd018aee0bd2410c581458d429b05b38b (patch) | |
tree | c90ec620445350ca4c742747e452c31b2a96cf95 /games | |
parent | 84cf6490a4fd5185ef689e72a77e137737f650bd (diff) | |
download | pkgsrc-ae9b935fd018aee0bd2410c581458d429b05b38b.tar.gz |
* 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
Diffstat (limited to 'games')
-rw-r--r-- | games/nethack/Makefile | 3 | ||||
-rw-r--r-- | games/nethack/PLIST | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/games/nethack/Makefile b/games/nethack/Makefile index faa4c497028..c39d5936b8c 100644 --- a/games/nethack/Makefile +++ b/games/nethack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2006/05/26 19:22:49 joerg Exp $ +# $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 @@ -20,6 +20,7 @@ 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 diff --git a/games/nethack/PLIST b/games/nethack/PLIST deleted file mode 100644 index f0ac040bf30..00000000000 --- a/games/nethack/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:48 jlam Exp $ -@comment this plist intentionally left empty |