summaryrefslogtreecommitdiff
path: root/sysutils/xbatt
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2000-06-26 16:44:20 +0000
committerdmcmahill <dmcmahill>2000-06-26 16:44:20 +0000
commit54beaaeaff0d6fcdfc54b0e4c1dadec6c13771f2 (patch)
tree2359e6af7ef1d854941dfdf42898db6d58673952 /sysutils/xbatt
parent0230454a69b7a49886d04292c1229165f50cc44a (diff)
downloadpkgsrc-54beaaeaff0d6fcdfc54b0e4c1dadec6c13771f2.tar.gz
only allow these packages on APM capable machines.
Diffstat (limited to 'sysutils/xbatt')
-rw-r--r--sysutils/xbatt/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/xbatt/Makefile b/sysutils/xbatt/Makefile
index e7945a8453c..907b868f0af 100644
--- a/sysutils/xbatt/Makefile
+++ b/sysutils/xbatt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/10/31 21:16:07 hubertf Exp $
+# $NetBSD: Makefile,v 1.2 2000/06/26 16:44:22 dmcmahill Exp $
#
DISTNAME= xbatt-1.3pr1
@@ -9,6 +9,10 @@ MASTER_SITES= http://www2.clave.gr.jp/~eto/xbatt/
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www2.clave.gr.jp/~eto/xbatt/ # Not really
+.if !exists(/usr/include/machine/apmvar.h")
+IGNORE+= "APM is not available for ${MACHINE_PLATFORM}"
+.endif
+
DEPENDS+= xpm-3.4k:../../graphics/xpm
USE_IMAKE= yes