2009-06-13 00:04:53 +02:00
|
|
|
# $NetBSD: Makefile,v 1.26 2009/06/12 22:04:53 zafer Exp $
|
1999-10-31 22:16:07 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= xbatt-1.3pr1
|
2001-11-29 02:12:24 +01:00
|
|
|
PKGNAME= xbatt-1.3.1
|
2008-11-10 18:21:33 +01:00
|
|
|
PKGREVISION= 4
|
1999-10-31 22:16:07 +01:00
|
|
|
CATEGORIES= sysutils x11
|
2009-06-13 00:04:53 +02:00
|
|
|
MASTER_SITES= http://www.clave.gr.jp/~eto/xbatt/
|
1999-10-31 22:16:07 +01:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= hubertf@NetBSD.org
|
2009-06-13 00:04:53 +02:00
|
|
|
HOMEPAGE= http://www.clave.gr.jp/~eto/xbatt/ # Not really
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= Displays battery status of your notebook via APM
|
1999-10-31 22:16:07 +01:00
|
|
|
|
2000-07-06 23:09:38 +02:00
|
|
|
.if !exists(/usr/include/machine/apmvar.h)
|
2005-12-05 21:49:47 +01:00
|
|
|
PKG_SKIP_REASON+= "APM is not available for ${MACHINE_PLATFORM}"
|
2000-06-26 18:44:20 +02:00
|
|
|
.endif
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/xbatt-1.3
|
2000-08-24 01:14:21 +02:00
|
|
|
USE_IMAKE= YES
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= xbatt
|
1999-10-31 22:16:07 +01:00
|
|
|
|
2008-02-10 00:52:00 +01:00
|
|
|
INSTALLATION_DIRS= lib/X11/app-defaults share/doc/xbatt
|
|
|
|
|
1999-10-31 22:16:07 +01:00
|
|
|
post-install:
|
2005-06-17 06:49:45 +02:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/XBatt ${PREFIX}/lib/X11/app-defaults/XBatt
|
1999-10-31 22:16:07 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/xbatt
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/README.jp ${PREFIX}/share/doc/xbatt
|
|
|
|
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
2007-06-18 06:43:45 +02:00
|
|
|
.include "../../x11/libXaw/buildlink3.mk"
|
1999-10-31 22:16:07 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|