blob: 2dd534ae8365f01c056ec0d624b52d4c522f1493 (
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
|
# $NetBSD: buildlink3.mk,v 1.8 2006/01/25 08:18:18 xtraeme Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MJPEGTOOLS_BUILDLINK3_MK:= ${MJPEGTOOLS_BUILDLINK3_MK}+
.include "../../mk/bsd.prefs.mk"
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= mjpegtools
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmjpegtools}
BUILDLINK_PACKAGES+= mjpegtools
.if !empty(MJPEGTOOLS_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.mjpegtools+= mjpegtools>=1.6.8
BUILDLINK_PKGSRCDIR.mjpegtools?= ../../multimedia/mjpegtools
.endif # MJPEGTOOLS_BUILDLINK3_MK
.include "../../audio/lame/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.if !defined(PKG_BUILD_OPTIONS.mjpegtools)
PKG_BUILD_OPTIONS.mjpegtools!= \
cd ${BUILDLINK_PKGSRCDIR.mjpegtools} && \
${MAKE} show-var ${MAKEFLAGS} VARNAME=PKG_OPTIONS
MAKEFLAGS+= PKG_BUILD_OPTIONS.mjpegtools=${PKG_BUILD_OPTIONS.mjpegtools:Q}
.endif
MAKEVARS+= PKG_BUILD_OPTIONS.mjpegtools
.if !empty(PKG_BUILD_OPTIONS.mjpegtools:Mdv)
. include "../../multimedia/libdv/buildlink3.mk"
.endif
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|