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 | 0125e6effec094242a6dde7aec9bc003c9d1ea1c (patch) | |
tree | c90ec620445350ca4c742747e452c31b2a96cf95 /textproc | |
parent | f1b15dda3dc16a357dc6d6dde16fdf42e01d14e6 (diff) | |
download | pkgsrc-0125e6effec094242a6dde7aec9bc003c9d1ea1c.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 'textproc')
-rw-r--r-- | textproc/chasen/Makefile | 3 | ||||
-rw-r--r-- | textproc/chasen/PLIST | 2 | ||||
-rw-r--r-- | textproc/mecab/Makefile | 3 | ||||
-rw-r--r-- | textproc/mecab/PLIST | 2 |
4 files changed, 4 insertions, 6 deletions
diff --git a/textproc/chasen/Makefile b/textproc/chasen/Makefile index 585c34ba5f2..d099919b902 100644 --- a/textproc/chasen/Makefile +++ b/textproc/chasen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/08/02 15:03:09 taca Exp $ +# $NetBSD: Makefile,v 1.10 2007/10/25 22:01:06 jlam Exp $ # DISTNAME= chasen-${CHASEN_VERSION} @@ -16,6 +16,7 @@ DEPENDS+= ipadic>=2.6.3:../../textproc/ipadic NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty (meta-package) PKG_DESTDIR_SUPPORT= user-destdir diff --git a/textproc/chasen/PLIST b/textproc/chasen/PLIST deleted file mode 100644 index 8caa3decd64..00000000000 --- a/textproc/chasen/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.4 2007/10/25 17:50:00 jlam Exp $ -@comment this plist intentionally left empty diff --git a/textproc/mecab/Makefile b/textproc/mecab/Makefile index 93ec23dcae8..69ceed660fd 100644 --- a/textproc/mecab/Makefile +++ b/textproc/mecab/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/05/12 13:48:24 obache Exp $ +# $NetBSD: Makefile,v 1.2 2007/10/25 22:01:06 jlam Exp $ .include "Makefile.common" @@ -12,6 +12,7 @@ DEPENDS+= {mecab-ipadic>=2.7.0,mecab-jumandic>=5.1}:../../textproc/mecab-ipadic NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= #empty do-install: #empty diff --git a/textproc/mecab/PLIST b/textproc/mecab/PLIST deleted file mode 100644 index 67464306ab7..00000000000 --- a/textproc/mecab/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:50:00 jlam Exp $ -@comment this plist intentionally left empty |