summaryrefslogtreecommitdiff
path: root/graphics/gphoto2/buildlink2.mk
blob: 23f142f157f3243908e3971786e8f2648fbc850c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: buildlink2.mk,v 1.3 2002/09/10 16:06:42 wiz Exp $

.if !defined(GPHOTO2_BUILDLINK2_MK)
GPHOTO2_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		gphoto2
BUILDLINK_DEPENDS.gphoto2?=	gphoto>=2.1.0nb1
BUILDLINK_PKGSRCDIR.gphoto2?=	../../graphics/gphoto2

EVAL_PREFIX+=		BUILDLINK_PREFIX.gphoto2=gphoto2
BUILDLINK_PREFIX.gphoto2=	${LOCALBASE}
BUILDLINK_FILES.gphoto2=	include/gphoto2/*.h
BUILDLINK_FILES.gphoto2+=	lib/libgphoto2.*
BUILDLINK_FILES.gphoto2+=	lib/libgphoto2_port.*

BUILDLINK_TARGETS+=	gphoto2-buildlink

gphoto2-buildlink: _BUILDLINK_USE

.endif	# GPHOTO2_BUILDLINK2_MK