blob: d007389f7e7af792c901ae911942a66dfbf4e5ad (
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
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.28 2013/04/06 04:07:25 rodent Exp $
#
DISTNAME= xbatt-1.3pr1
PKGNAME= xbatt-1.3.1
PKGREVISION= 4
CATEGORIES= sysutils x11
MASTER_SITES= http://www.clave.gr.jp/~eto/xbatt/
MAINTAINER= hubertf@NetBSD.org
HOMEPAGE= http://www.clave.gr.jp/~eto/xbatt/ # Not really
COMMENT= Displays battery status of your notebook via APM
PKG_DESTDIR_SUPPORT= destdir
.if !exists(/usr/include/machine/apmvar.h)
PKG_FAIL_REASON+= "APM is not available for ${MACHINE_PLATFORM}"
.endif
WRKSRC= ${WRKDIR}/xbatt-1.3
USE_IMAKE= YES
BUILD_TARGET= xbatt
INSTALLATION_DIRS= lib/X11/app-defaults share/doc/xbatt
post-install:
${INSTALL_DATA} ${FILESDIR}/XBatt ${DESTDIR}${PREFIX}/lib/X11/app-defaults/XBatt
${INSTALL_MAN} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xbatt
${INSTALL_MAN} ${WRKSRC}/README.jp ${DESTDIR}${PREFIX}/share/doc/xbatt
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXaw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|