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 /graphics | |
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 'graphics')
-rw-r--r-- | graphics/Mesa/Makefile | 3 | ||||
-rw-r--r-- | graphics/Mesa/PLIST | 2 | ||||
-rw-r--r-- | graphics/freetype/Makefile | 3 | ||||
-rw-r--r-- | graphics/freetype/PLIST | 2 | ||||
-rw-r--r-- | graphics/gimp1/Makefile | 3 | ||||
-rw-r--r-- | graphics/gimp1/PLIST | 2 |
6 files changed, 6 insertions, 9 deletions
diff --git a/graphics/Mesa/Makefile b/graphics/Mesa/Makefile index faf15e35e3f..b081ba077d2 100644 --- a/graphics/Mesa/Makefile +++ b/graphics/Mesa/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.67 2007/02/22 19:26:32 wiz Exp $ +# $NetBSD: Makefile,v 1.68 2007/10/25 22:00:45 jlam Exp $ PKGNAME= Mesa-${MESA_VERSION} MASTER_SITES= # empty @@ -14,6 +14,7 @@ NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes EXTRACT_ONLY= # empty +PLIST_SRC= # empty (meta-package) do-patch: # empty do-install: # empty diff --git a/graphics/Mesa/PLIST b/graphics/Mesa/PLIST deleted file mode 100644 index f2544ff84d3..00000000000 --- a/graphics/Mesa/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:49 jlam Exp $ -@comment this plist intentionally left empty diff --git a/graphics/freetype/Makefile b/graphics/freetype/Makefile index 6de8c3cbcb6..29cf3ea0606 100644 --- a/graphics/freetype/Makefile +++ b/graphics/freetype/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2006/06/17 19:41:33 minskim Exp $ +# $NetBSD: Makefile,v 1.27 2007/10/25 22:00:45 jlam Exp $ DISTNAME= freetype-${FT_VERS} FT_VERS= 1.5 @@ -17,6 +17,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty (meta-package) do-install: # empty diff --git a/graphics/freetype/PLIST b/graphics/freetype/PLIST deleted file mode 100644 index f2544ff84d3..00000000000 --- a/graphics/freetype/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:49 jlam Exp $ -@comment this plist intentionally left empty diff --git a/graphics/gimp1/Makefile b/graphics/gimp1/Makefile index ae5dcdef5a4..1440e1abacb 100644 --- a/graphics/gimp1/Makefile +++ b/graphics/gimp1/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2006/09/02 19:37:34 rillig Exp $ +# $NetBSD: Makefile,v 1.7 2007/10/25 22:00:46 jlam Exp $ # DISTNAME= gimp-1.2.5 @@ -13,6 +13,7 @@ COMMENT= GNU Image Manipulation Program NO_CHECKSUM= yes NO_BUILD= YES +PLIST_SRC= # empty (meta-package) DEPENDS+= gimp-base>=1.2.5:../../graphics/gimp1-base DEPENDS+= gimp-data>=1.2:../../graphics/gimp1-data diff --git a/graphics/gimp1/PLIST b/graphics/gimp1/PLIST deleted file mode 100644 index f2544ff84d3..00000000000 --- a/graphics/gimp1/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:49 jlam Exp $ -@comment this plist intentionally left empty |