pkgsrc/sysutils/xbattbar/Makefile
pooka 47f1024dc0 Make charging detection use discharge rate instead of charge rate,
since a fully charged battery would sometimes drop the charge rate
to 0.  This happens at least on the submitter's and my laptops.

patch from ymous anonimo
2008-01-04 01:43:58 +00:00

25 lines
633 B
Makefile

# $NetBSD: Makefile,v 1.32 2008/01/04 01:43:58 pooka Exp $
DISTNAME= xbattbar_1.4.2
PKGNAME= ${DISTNAME:S/_/-/}
PKGREVISION= 9
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
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
USE_IMAKE= yes
.if !exists(/usr/include/machine/apmvar.h)
CPPFLAGS+= -D_NO_APM
.endif
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"