summaryrefslogtreecommitdiff
path: root/graphics/gphoto2/Makefile
blob: f820175e93e7988a167ee4d4312a761833cb7f64 (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
29
30
31
32
33
34
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.6 2002/02/26 13:14:54 martti Exp $

DISTNAME=	gphoto2-2.0
PKGNAME=	gphoto-2.0

CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=gphoto/}

MAINTAINER=	root@garbled.net
HOMEPAGE=	http://www.gphoto.org/gphoto2/
COMMENT=	Download and view files from various digital cameras

USE_BUILDLINK_ONLY=	# XXX gphoto2 adds unneeded -L${LOCALBASE}/lib etc.

BUILD_USES_MSGFMT=	# defined

USE_GMAKE=		# defined
USE_LIBTOOL=		# defined
LIBTOOL_OVERRIDE=	${WRKSRC}/ltmain.sh
GNU_CONFIGURE=		# defined
CONFIGURE_ARGS+=	--with-drivers=all
CONFIGURE_ARGS+=	--with-doc-dir=${PREFIX}/share/doc/gphoto2
CONFIGURE_ARGS+=	--with-html-dir=${PREFIX}/share/doc/html/gphoto2
CONFIGURE_ARGS+=	--without-pkgconfig
CONFIGURE_ARGS+=	--without-fig2dev
CONFIGURE_ARGS+=	--with-aalib
CONFIGURE_ARGS+=	--with-cdk
CONFIGURE_ARGS+=	--with-exif
CONFIGURE_ARGS+=	--with-jpeg

BUILDLINK_DEPENDS.libusb=   libusb>=0.1.5

.include "../../converters/libiconv/buildlink.mk"
.include "../../devel/cdk/buildlink.mk"
.include "../../devel/gettext-lib/buildlink.mk"
.include "../../devel/libusb/buildlink.mk"
.include "../../graphics/aalib/buildlink.mk"
.include "../../graphics/libexif/buildlink.mk"
.include "../../graphics/jpeg/buildlink.mk"
.include "../../mk/bsd.pkg.mk"