diff options
author | jlam <jlam> | 2007-10-25 22:00:39 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-10-25 22:00:39 +0000 |
commit | 496d61914b2bd77dabbd4fde285e9fb90c0f265f (patch) | |
tree | c90ec620445350ca4c742747e452c31b2a96cf95 /www/opera-acroread | |
parent | 0ffc56e029bd8ecf5e9123c88c7620e6dddd40a6 (diff) | |
download | pkgsrc-496d61914b2bd77dabbd4fde285e9fb90c0f265f.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/opera-acroread')
-rw-r--r-- | www/opera-acroread/Makefile.common | 5 | ||||
-rw-r--r-- | www/opera-acroread/PLIST | 2 |
2 files changed, 2 insertions, 5 deletions
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 |