2007-11-12 01:09:15 +01:00
|
|
|
# $NetBSD: Makefile,v 1.40 2007/11/12 00:09:15 wiz Exp $
|
1998-12-03 14:35:47 +01:00
|
|
|
#
|
|
|
|
|
2001-11-26 20:55:40 +01:00
|
|
|
DISTNAME= asapm-2.11
|
2007-02-22 20:26:05 +01:00
|
|
|
PKGREVISION= 4
|
1999-05-24 22:39:35 +02:00
|
|
|
CATEGORIES= sysutils x11
|
2001-11-26 20:55:40 +01:00
|
|
|
MASTER_SITES= http://www.tigr.net/afterstep/download/asapm/ \
|
2007-11-12 01:09:15 +01:00
|
|
|
ftp://ftp.afterstep.org/apps/asapm/
|
1998-12-03 14:35:47 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-03-08 16:25:21 +01:00
|
|
|
HOMEPAGE= http://www.tigr.net/afterstep/view.php?applet=asapm/data
|
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)
|
2006-11-18 09:27:10 +01:00
|
|
|
PKG_FAIL_REASON+= "APM needs /usr/include/machine/apmvar.h to build."
|
2000-06-26 18:44:20 +02:00
|
|
|
.endif
|
1998-12-03 14:35:47 +01:00
|
|
|
|
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
|
2006-12-27 14:37:35 +01:00
|
|
|
CONFIGURE_ARGS+= --with-xpm-includes=${BUILDLINK_PREFIX.libXpm}/include
|
|
|
|
CONFIGURE_ARGS+= --with-xpm-library=${BUILDLINK_PREFIX.libXpm}/lib
|
1998-12-03 14:35:47 +01:00
|
|
|
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
1998-12-03 14:35:47 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|