blob: ed27497825dcc523ec4dee01798110a58d7887fe (
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
|
# $NetBSD: Makefile,v 1.30 2006/05/31 04:38:14 markd Exp $
#
DISTNAME= libgphoto2-2.1.6
PKGREVISION= 2
CATEGORIES= devel graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gphoto/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gphoto.sourceforge.net/proj/libgphoto2/
COMMENT= Digital camera access library
CONFLICTS+= gphoto<2.1.1
USE_TOOLS+= pkg-config
USE_LIBTOOL= YES
PKGCONFIG_OVERRIDE+= libgphoto2/libgphoto2.pc.in
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
SUBST_CLASSES+= libexif-update
SUBST_STAGE.libexif-update= pre-configure
SUBST_MESSAGE.libexif-update= Fix configure script checks for libexif-0.6.13
SUBST_FILES.libexif-update= configure
SUBST_SED.libexif-update= s,exif-,libexif/exif-,g
.include "../../mk/bsd.prefs.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.if ${OPSYS} == "SunOS"
PLIST_SUBST+= HAVE_LIBUSB="@comment "
.else
.include "../../devel/libusb/buildlink3.mk"
PLIST_SUBST+= HAVE_LIBUSB=""
.endif
.include "../../graphics/libexif/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|