summaryrefslogtreecommitdiff
path: root/graphics/sane-frontends/Makefile
blob: 68cd1e855fe39602ed468adb3e9ce3d8b84dd8a2 (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
# $NetBSD: Makefile,v 1.8 2002/03/13 17:37:17 fredb Exp $

.include "../../graphics/sane-backends/Makefile.common"

DISTNAME=       sane-frontends-${SANE_VERSION}
PKGREVISION=	1

COMMENT=	Frontends for access to scanners, digitals camera, frame grabbers etc

DEPENDS+=	gimp>=1.0.4:../../graphics/gimp
BUILDLINK_DEPENDS.sane=	sane-backends-${SANE_VERSION}

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_X11BASE=	yes
USE_LIBTOOL=	yes
LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig

# -O to work around a bug with -O2 and egcs.
CFLAGS=		-O
# to find gimp includes
CPPFLAGS=	-I${LOCALBASE}/include

.include "../../graphics/sane-backends/buildlink.mk"
.include "../../x11/gtk/buildlink.mk"
.include "../../mk/bsd.pkg.mk"