pkgsrc/sysutils/xbattbar/Makefile
xtraeme fa43e6186a Look for the indicator "charging" to know when the AC Adapter is plugged
in/off, so that it works fine with -current where the 'discharging'
sensor was removed.

Found by pooka@... bump PKGREVISION.
2007-07-25 15:09:32 +00:00

23 lines
644 B
Makefile

# $NetBSD: Makefile,v 1.30 2007/07/25 15:09:32 xtraeme Exp $
DISTNAME= xbattbar_1.4.2
PKGNAME= ${DISTNAME:S/_/-/}
PKGREVISION= 7
CATEGORIES= sysutils x11
MASTER_SITES= http://iplab.aist-nara.ac.jp/member/suguru/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://iplab.aist-nara.ac.jp/member/suguru/xbattbar.html
COMMENT= X11 battery graph for laptops
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
USE_IMAKE= yes
.if !exists(/usr/include/machine/apmvar.h)
PKG_SKIP_REASON+= "APM is not available for ${MACHINE_PLATFORM}"
.endif
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"