4 PKGNAMESUFFIX= -plugins
9 COMMENT= Frei0r meta-port
11 # Required in order to avoid conflicts with graphics/frei0r's OPTIONS.
12 LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
14 RUN_DEPENDS= ${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r
16 MASTERDIR= ${.CURDIR}/../frei0r
18 PLIST= ${WRKDIR}/PLIST
20 BUILDING_FREI0R_METAPORT= yes
22 OPTIONS_DEFINE= GAVL OPENCV
23 OPTIONS_DEFAULT= GAVL OPENCV
24 GAVL_DESC= Install gavl plugins
25 OPENCV_DESC= Install OpenCV plugins
27 .include "${MASTERDIR}/Makefile"
29 .include <bsd.port.options.mk>
31 .if ${PORT_OPTIONS:MGAVL}
32 RUN_DEPENDS+= ${LOCALBASE}/lib/frei0r-1/rgbparade.so:${PORTSDIR}/graphics/frei0r-plugins-gavl
35 .if ${PORT_OPTIONS:MOPENCV}
36 RUN_DEPENDS+= ${LOCALBASE}/lib/frei0r-1/facedetect.so:${PORTSDIR}/graphics/frei0r-plugins-opencv
42 .include <bsd.port.mk>