pkgsrc/sysutils/xfce4-battery-plugin/Makefile

27 lines
835 B
Makefile
Raw Normal View History

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"
XFCE4_VERSION= 0.5.1
2007-04-27 12:48:06 +02:00
DISTNAME= xfce4-battery-plugin-${XFCE4_VERSION}
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
# On NetBSD/sparc64, apmvar.h is not exist in /usr/include/machine.
# Reported in PR port-sparc64/36735.
.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-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"