49d55ab3ce
wmbattery is a dockapp that displays the status of your laptop's battery in a small icon. This includes if it is plugged in, if the battery is charging, how many minutes of battery life remain, battery life remaining (with both a percentage and a graph), and battery status (high - green, low - yellow, or critical - red).
33 lines
776 B
Makefile
33 lines
776 B
Makefile
# $NetBSD: Makefile,v 1.1 2020/09/10 11:26:01 nia Exp $
|
|
|
|
DISTNAME= wmbattery-2.54
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://www.dockapps.net/download/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.dockapps.net/
|
|
COMMENT= Dockapp that shows battery status
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= autoreconf autoconf automake gmake pkg-config
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
CONFIGURE_ARGS+= --enable-envsys
|
|
.endif
|
|
|
|
pre-configure:
|
|
${CP} \
|
|
${FILESDIR}/envsys.c \
|
|
${FILESDIR}/envsys.h \
|
|
${WRKSRC}
|
|
|
|
cd ${WRKSRC} && autoreconf -fi
|
|
|
|
.include "options.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|