pkgsrc/sysutils/xfce4-battery-plugin/Makefile

26 lines
772 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.5 2008/01/05 05:35:20 hira Exp $
2007-04-27 12:48:06 +02:00
.include "../../meta-pkgs/xfce4/Makefile.common"
XFCE4_VERSION= 0.5.0
DISTNAME= xfce4-battery-plugin-${XFCE4_VERSION}
PKGREVISION= 2
2007-04-27 12:48:06 +02:00
CATEGORIES= sysutils
MASTER_SITES= http://goodies.xfce.org/releases/xfce4-battery-plugin/
COMMENT= Xfce battey monitor plugin
# On NetBSD/sparc64, apmvar.h is not exist in /usr/include/machine.
# Reported in PR pkg/36735.
.if ${OPSYS} == "NetBSD" && \
(!exists(/usr/include/machine/apmvar.h) && \
!exists(/usr/include/sparc/apmvar.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"