2017-11-23 18:19:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.43 2017/11/23 17:20:13 wiz Exp $
|
2007-04-27 12:48:06 +02:00
|
|
|
|
2017-11-23 18:19:40 +01:00
|
|
|
PKGREVISION= 1
|
2007-04-27 12:48:06 +02:00
|
|
|
.include "../../meta-pkgs/xfce4/Makefile.common"
|
|
|
|
|
2017-06-20 23:26:54 +02:00
|
|
|
VERSION= 1.1.0
|
2015-04-21 10:56:37 +02:00
|
|
|
DISTNAME= xfce4-battery-plugin-${VERSION}
|
2007-04-27 12:48:06 +02:00
|
|
|
CATEGORIES= sysutils
|
2017-06-20 23:26:54 +02:00
|
|
|
MASTER_SITES= http://archive.xfce.org/src/panel-plugins/xfce4-battery-plugin/1.1/
|
2015-04-21 10:56:37 +02:00
|
|
|
|
|
|
|
HOMEPAGE= http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin
|
2015-01-04 10:35:23 +01:00
|
|
|
COMMENT= Xfce battery monitor plugin
|
2007-04-27 12:48:06 +02:00
|
|
|
|
2008-01-05 06:35:20 +01:00
|
|
|
# On NetBSD/sparc64, apmvar.h is not exist in /usr/include/machine.
|
2008-01-05 06:42:02 +01:00
|
|
|
# Reported in PR port-sparc64/36735.
|
2010-03-22 16:46:02 +01:00
|
|
|
.if ${OPSYS} == "NetBSD" && \
|
|
|
|
(!exists(/usr/include/machine/apmvar.h) && \
|
|
|
|
!exists(/usr/include/dev/apm/apmio.h) && \
|
|
|
|
!exists(/usr/include/sparc/apmio.h))
|
|
|
|
PKG_FAIL_REASON+= "APM is not available on ${MACHINE_PLATFORM}."
|
|
|
|
.endif
|
2007-12-30 10:37:23 +01:00
|
|
|
|
2007-04-27 12:48:06 +02:00
|
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
|
|
.include "../../x11/xfce4-panel/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|