blob: afbe569049e79a11cffee3c3f8d6f2bf9b83d376 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $NetBSD: Makefile,v 1.42 2012/10/23 19:50:51 asau Exp $
#
DISTNAME= asapm-2.11
PKGREVISION= 4
CATEGORIES= sysutils x11
MASTER_SITES= http://www.tigr.net/afterstep/download/asapm/ \
ftp://ftp.afterstep.org/apps/asapm/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.tigr.net/afterstep/view.php?applet=asapm/data
COMMENT= Laptop battery status display for X11
LICENSE= gnu-gpl-v2
.if !exists(/usr/include/machine/apmvar.h)
PKG_FAIL_REASON+= "APM needs /usr/include/machine/apmvar.h to build."
.endif
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --disable-jpeg # there actually is no JPEG support
CONFIGURE_ARGS+= --with-xpm
CONFIGURE_ARGS+= --with-xpm-includes=${BUILDLINK_PREFIX.libXpm}/include
CONFIGURE_ARGS+= --with-xpm-library=${BUILDLINK_PREFIX.libXpm}/lib
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|