aboutsummaryrefslogtreecommitdiff
path: root/graphics/frei0r-plugins/Makefile
blob: 56b75f76d4eba7fd094dca27e551691380e2b182 (plain) (blame)
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
41
# $FreeBSD$

PORTREVISION=	0
PKGNAMESUFFIX=	-plugins
MASTER_SITES=	# empty
DISTFILES=	# empty
EXTRACT_ONLY=	# empty

COMMENT=	Frei0r meta-port

RUN_DEPENDS=	${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r

MASTERDIR=	${.CURDIR}/../frei0r
NO_BUILD=	yes
PLIST=		${WRKDIR}/PLIST


BUILDING_FREI0R_METAPORT=	yes

OPTIONS_DEFINE=	GAVL OPENCV
OPTIONS_DEFAULT=	GAVL OPENCV
GAVL_DESC=	Install gavl plugins
OPENCV_DESC=	Install OpenCV plugins
PATCHDIR=	${.CURDIR}/files

.include "${MASTERDIR}/Makefile"

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGAVL}
RUN_DEPENDS+=	${LOCALBASE}/lib/frei0r-1/rgbparade.so:${PORTSDIR}/graphics/frei0r-plugins-gavl
.endif

.if ${PORT_OPTIONS:MOPENCV}
RUN_DEPENDS+=	${LOCALBASE}/lib/frei0r-1/facedetect.so:${PORTSDIR}/graphics/frei0r-plugins-opencv
.endif

do-install:
	@${DO_NADA}

.include <bsd.port.mk>