summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-10-25 22:00:39 +0000
committerjlam <jlam@pkgsrc.org>2007-10-25 22:00:39 +0000
commitae9b935fd018aee0bd2410c581458d429b05b38b (patch)
treec90ec620445350ca4c742747e452c31b2a96cf95 /cad
parent84cf6490a4fd5185ef689e72a77e137737f650bd (diff)
downloadpkgsrc-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 'cad')
-rw-r--r--cad/geda/Makefile4
-rw-r--r--cad/geda/PLIST2
-rw-r--r--cad/wcalc/Makefile4
-rw-r--r--cad/wcalc/PLIST2
4 files changed, 4 insertions, 8 deletions
diff --git a/cad/geda/Makefile b/cad/geda/Makefile
index 5b067cda396..1e3204863c5 100644
--- a/cad/geda/Makefile
+++ b/cad/geda/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2007/02/22 19:26:10 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2007/10/25 22:00:40 jlam Exp $
#
DISTNAME= geda-${PKGVERSION}
@@ -24,7 +24,7 @@ EXTRACT_ONLY= # none
NO_CHECKSUM= yes
NO_CONFIGURE= yes
NO_BUILD= yes
-NO_MTREE= yes
+PLIST_SRC= # empty (meta-package)
do-install: # empty
diff --git a/cad/geda/PLIST b/cad/geda/PLIST
deleted file mode 100644
index e19411f18b0..00000000000
--- a/cad/geda/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.10 2007/10/25 17:49:46 jlam Exp $
-@comment this plist intentionally left empty
diff --git a/cad/wcalc/Makefile b/cad/wcalc/Makefile
index bdb8bcc25ad..531460c4235 100644
--- a/cad/wcalc/Makefile
+++ b/cad/wcalc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/05/21 10:04:40 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2007/10/25 22:00:40 jlam Exp $
#
.include "../../cad/wcalc/Makefile.common"
@@ -37,7 +37,7 @@ DEPENDS+= mex-wcalc-${VER}*:../../cad/mex-wcalc
EXTRACT_ONLY= # none
NO_CONFIGURE= yes
NO_BUILD= yes
-NO_MTREE= yes
+PLIST_SRC= # empty (meta-package)
do-patch: # empty
do-install: # empty
diff --git a/cad/wcalc/PLIST b/cad/wcalc/PLIST
deleted file mode 100644
index ef3f791b1c1..00000000000
--- a/cad/wcalc/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:46 jlam Exp $
-@comment this plist intentionally left empty