summaryrefslogtreecommitdiff
path: root/sysutils/asapm/Makefile
blob: e842c8f131de1ea68800f724d40d715a96600b5b (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.13 2000/07/15 20:39:24 agc Exp $
# FreeBSD Id: Makefile,v 1.5 1998/11/29 12:43:12 asami Exp
#

DISTNAME=		asapm-2.9
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/

MAINTAINER=		jlam@netbsd.org
HOMEPAGE=		http://www.tigr.net/afterstep/as-apps/download/asapm/

.if !exists(/usr/include/machine/apmvar.h)
IGNORE+=		"APM is not available for ${MACHINE_PLATFORM}"
.endif

DEPENDS+=		xpm-*:../../graphics/xpm

GNU_CONFIGURE=		yes
USE_X11=		yes
CONFIGURE_ARGS+=	--disable-jpeg	# there actually is no JPEG support
EVAL_PREFIX+=		XPMDIR=xpm
CONFIGURE_ARGS+=	--with-xpm \
			--with-xpm-includes="${XPMDIR}/include" \
			--with-xpm-library="${XPMDIR}/lib"

.include "../../mk/bsd.pkg.mk"