2004-04-19 01:03:03 +02:00
|
|
|
# $NetBSD: Makefile,v 1.15 2004/04/18 23:03:03 snj 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
|
|
|
|
PKGREVISION= 1
|
1999-10-31 22:16:07 +01:00
|
|
|
CATEGORIES= sysutils x11
|
|
|
|
MASTER_SITES= http://www2.clave.gr.jp/~eto/xbatt/
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= hubertf@NetBSD.org
|
1999-10-31 22:16:07 +01:00
|
|
|
HOMEPAGE= http://www2.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)
|
2003-01-11 16:21:48 +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
|
2004-04-19 01:03:03 +02:00
|
|
|
USE_BUILDLINK3= YES
|
2000-08-24 01:14:21 +02:00
|
|
|
USE_IMAKE= YES
|
1999-10-31 22:16:07 +01:00
|
|
|
ALL_TARGET= xbatt
|
|
|
|
|
|
|
|
post-install:
|
2000-07-11 12:15:41 +02:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/XBatt ${X11PREFIX}/lib/X11/app-defaults/XBatt
|
1999-10-31 22:16:07 +01:00
|
|
|
${INSTALL_MAN_DIR} ${PREFIX}/share/doc/xbatt
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/xbatt
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/README.jp ${PREFIX}/share/doc/xbatt
|
|
|
|
|
2004-04-19 01:03:03 +02:00
|
|
|
.include "../../graphics/xpm/buildlink3.mk"
|
1999-10-31 22:16:07 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|