2001-02-17 18:42:09 +01:00
|
|
|
# $NetBSD: Makefile,v 1.15 2001/02/17 17:42:10 wiz Exp $
|
1998-12-03 14:35:47 +01:00
|
|
|
# FreeBSD Id: Makefile,v 1.5 1998/11/29 12:43:12 asami Exp
|
|
|
|
#
|
|
|
|
|
2000-01-16 19:37:05 +01:00
|
|
|
DISTNAME= asapm-2.9
|
1999-05-24 22:39:35 +02:00
|
|
|
CATEGORIES= sysutils x11
|
|
|
|
MASTER_SITES= http://www.tigr.net/afterstep/as-apps/download/asapm/ \
|
|
|
|
ftp://ftp.afterstep.org/apps/asapm/ \
|
|
|
|
ftp://fuf.sh.cvut.cz/pub/AfterStep/apps/asapm/
|
1998-12-03 14:35:47 +01:00
|
|
|
|
1999-07-12 02:04:57 +02:00
|
|
|
MAINTAINER= jlam@netbsd.org
|
2000-01-16 19:37:05 +01:00
|
|
|
HOMEPAGE= http://www.tigr.net/afterstep/as-apps/download/asapm/
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= Laptop battery status display for X11
|
1998-12-03 14:35:47 +01:00
|
|
|
|
2000-07-06 23:09:38 +02:00
|
|
|
.if !exists(/usr/include/machine/apmvar.h)
|
2000-06-26 18:44:20 +02:00
|
|
|
IGNORE+= "APM is not available for ${MACHINE_PLATFORM}"
|
|
|
|
.endif
|
1998-12-03 14:35:47 +01:00
|
|
|
|
2000-08-24 01:14:21 +02:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_X11= YES
|
|
|
|
USE_XPM= YES
|
1999-07-12 02:04:57 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-jpeg # there actually is no JPEG support
|
2000-07-15 22:39:13 +02:00
|
|
|
EVAL_PREFIX+= XPMDIR=xpm
|
1999-10-07 00:54:20 +02:00
|
|
|
CONFIGURE_ARGS+= --with-xpm \
|
2000-07-15 22:39:13 +02:00
|
|
|
--with-xpm-includes="${XPMDIR}/include" \
|
|
|
|
--with-xpm-library="${XPMDIR}/lib"
|
1998-12-03 14:35:47 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|