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 /www | |
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 'www')
-rw-r--r-- | www/clearsilver/Makefile | 4 | ||||
-rw-r--r-- | www/clearsilver/PLIST | 2 | ||||
-rw-r--r-- | www/firefox-bin-acroread/Makefile.common | 5 | ||||
-rw-r--r-- | www/firefox-bin-acroread/PLIST | 2 | ||||
-rw-r--r-- | www/opera-acroread/Makefile.common | 5 | ||||
-rw-r--r-- | www/opera-acroread/PLIST | 2 |
6 files changed, 6 insertions, 14 deletions
diff --git a/www/clearsilver/Makefile b/www/clearsilver/Makefile index 30442e00b3a..2bbb20fc292 100644 --- a/www/clearsilver/Makefile +++ b/www/clearsilver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/02/05 23:11:20 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2007/10/25 22:01:07 jlam Exp $ .include "Makefile.common" @@ -12,7 +12,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= YES NO_CONFIGURE= YES NO_BUILD= YES -NO_MTREE= YES +PLIST_SRC= # empty (meta-package) .include "../../lang/python/pyversion.mk" .include "../../lang/ruby/rubyversion.mk" diff --git a/www/clearsilver/PLIST b/www/clearsilver/PLIST deleted file mode 100644 index 8caa3decd64..00000000000 --- a/www/clearsilver/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/www/firefox-bin-acroread/Makefile.common b/www/firefox-bin-acroread/Makefile.common index 78b618eefce..883e50f1696 100644 --- a/www/firefox-bin-acroread/Makefile.common +++ b/www/firefox-bin-acroread/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.4 2007/07/30 16:12:56 jlam Exp $ +# $NetBSD: Makefile.common,v 1.5 2007/10/25 22:01:07 jlam Exp $ PKGNAME= ${DISTNAME:C|MozillaFirebird|firefox|} CATEGORIES= www print @@ -15,8 +15,7 @@ WRKSRC= ${WRKDIR} NO_CHECKSUM= YES NO_CONFIGURE= YES BUILD_DIRS= # empty - -PLIST_SRC= ${PKGSRCDIR}/www/firefox-bin-acroread/PLIST +PLIST_SRC= # empty FILES_SUBST+= ACROREAD=${ACROREAD:Q} FILES_SUBST+= ACRO_SUBDIR=${ACRO_SUBDIR:Q} diff --git a/www/firefox-bin-acroread/PLIST b/www/firefox-bin-acroread/PLIST deleted file mode 100644 index 65659b4309b..00000000000 --- a/www/firefox-bin-acroread/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.4 2007/10/25 17:50:02 jlam Exp $ -@comment this plist intentionally left empty diff --git a/www/opera-acroread/Makefile.common b/www/opera-acroread/Makefile.common index 4e3942bb03a..73f081b864d 100644 --- a/www/opera-acroread/Makefile.common +++ b/www/opera-acroread/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.9 2007/08/23 18:20:34 jlam Exp $ +# $NetBSD: Makefile.common,v 1.10 2007/10/25 22:01:08 jlam Exp $ PKGNAME= ${DISTNAME:C|MozillaFirebird|firefox|} CATEGORIES= www print @@ -17,8 +17,7 @@ WRKSRC= ${WRKDIR} NO_CHECKSUM= YES NO_CONFIGURE= YES BUILD_DIRS= # empty - -PLIST_SRC= ${PKGSRCDIR}/www/opera-acroread/PLIST +PLIST_SRC= # empty FILES_SUBST+= ACROREAD=${ACROREAD:Q} FILES_SUBST+= ACRO_SUBDIR=${ACRO_SUBDIR:Q} diff --git a/www/opera-acroread/PLIST b/www/opera-acroread/PLIST deleted file mode 100644 index 25b1a224a99..00000000000 --- a/www/opera-acroread/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.5 2007/10/25 17:50:02 jlam Exp $ -@comment this plist intentionally left empty |