2001-10-25 00:10:43 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2001/10/24 22:11:06 jlam Exp $
|
1998-12-03 14:35:47 +01:00
|
|
|
# FreeBSD Id: Makefile,v 1.5 1998/11/29 12:43:12 asami Exp
|
|
|
|
#
|
|
|
|
|
2001-07-15 12:50:07 +02:00
|
|
|
DISTNAME= asapm-2.10
|
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
|
2001-07-15 12:50:07 +02:00
|
|
|
HOMEPAGE= http://www.tigr.net/afterstep/detail.pl?applet=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
|
|
|
|
2001-07-15 12:50:07 +02:00
|
|
|
USE_BUILDLINK_ONLY= YES
|
2000-08-24 01:14:21 +02:00
|
|
|
GNU_CONFIGURE= YES
|
1999-07-12 02:04:57 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-jpeg # there actually is no JPEG support
|
2001-07-15 12:50:07 +02:00
|
|
|
CONFIGURE_ARGS+= --with-xpm
|
2001-08-30 00:41:00 +02:00
|
|
|
CONFIGURE_ARGS+= --with-xpm-includes=${BUILDLINK_DIR}/include
|
|
|
|
CONFIGURE_ARGS+= --with-xpm-library=${BUILDLINK_DIR}/lib
|
1998-12-03 14:35:47 +01:00
|
|
|
|
2001-10-23 15:14:43 +02:00
|
|
|
.include "../../graphics/xpm/buildlink.mk"
|
2001-10-25 00:10:43 +02:00
|
|
|
.include "../../mk/x11.buildlink.mk"
|
1998-12-03 14:35:47 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|