summaryrefslogtreecommitdiff
path: root/sysutils/kapm
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2000-06-26 16:44:20 +0000
committerdmcmahill <dmcmahill>2000-06-26 16:44:20 +0000
commit683cde2a805ca02fd0dfbe36daa4fe4471a38e6d (patch)
tree2359e6af7ef1d854941dfdf42898db6d58673952 /sysutils/kapm
parentdbd5bec279f7affd2095abb02f65301db72c9c2a (diff)
downloadpkgsrc-683cde2a805ca02fd0dfbe36daa4fe4471a38e6d.tar.gz
only allow these packages on APM capable machines.
Diffstat (limited to 'sysutils/kapm')
-rw-r--r--sysutils/kapm/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/kapm/Makefile b/sysutils/kapm/Makefile
index 189db51307a..848c3b0883f 100644
--- a/sysutils/kapm/Makefile
+++ b/sysutils/kapm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/04/12 23:33:37 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.4 2000/06/26 16:44:21 dmcmahill Exp $
#
DISTNAME= kapm-0.3.1
@@ -8,6 +8,10 @@ MASTER_SITES= ftp://bodnar42.dhs.org/pub/kapm/
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://bodnar42.dhs.org/kapm/
+.if !exists(/usr/include/machine/apmvar.h")
+IGNORE+= "APM is not available for ${MACHINE_PLATFORM}"
+.endif
+
DEPENDS+= kdebase-1.1.2:../../x11/kdebase
USE_X11BASE= YES # to get things near KDE