2015-01-04 10:35:23 +01:00
|
|
|
# $NetBSD: Makefile,v 1.35 2015/01/04 09:35:23 dholland Exp $
|
2007-04-27 12:48:06 +02:00
|
|
|
|
|
|
|
.include "../../meta-pkgs/xfce4/Makefile.common"
|
|
|
|
|
2008-12-17 13:57:27 +01:00
|
|
|
XFCE4_VERSION= 0.5.1
|
2007-04-27 12:48:06 +02:00
|
|
|
|
|
|
|
DISTNAME= xfce4-battery-plugin-${XFCE4_VERSION}
|
2014-05-30 01:35:13 +02:00
|
|
|
PKGREVISION= 25
|
2007-04-27 12:48:06 +02:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://goodies.xfce.org/releases/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
|
|
|
USE_TOOLS+= perl:run
|
|
|
|
|
|
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
|
|
.include "../../x11/xfce4-panel/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|