blob: f9b5f49e8582fc2420d8cb53acf763f47db72d24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $NetBSD: Makefile,v 1.23 2012/10/03 21:57:46 wiz Exp $
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../meta-pkgs/xfce4/Makefile.common"
XFCE4_VERSION= 0.5.1
DISTNAME= xfce4-battery-plugin-${XFCE4_VERSION}
PKGREVISION= 15
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 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
USE_TOOLS+= perl:run
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../x11/xfce4-panel/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|