Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/Uses/jpeg.mk
Show All 17 Lines | |||||
_INCLUDE_USES_JPEG_MK= yes | _INCLUDE_USES_JPEG_MK= yes | ||||
JPEG_PORT?= graphics/jpeg-turbo | JPEG_PORT?= graphics/jpeg-turbo | ||||
.if empty(jpeg_ARGS) | .if empty(jpeg_ARGS) | ||||
jpeg_ARGS= lib | jpeg_ARGS= lib | ||||
.endif | .endif | ||||
.if ${jpeg_ARGS} == lib | .if ${jpeg_ARGS} == lib | ||||
LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/${JPEG_PORT} | LIB_DEPENDS+= libjpeg.so:${JPEG_PORT} | ||||
.elif ${jpeg_ARGS} == build | .elif ${jpeg_ARGS} == build | ||||
BUILD_DEPENDS+= cjpeg:${PORTSDIR}/${JPEG_PORT} | BUILD_DEPENDS+= cjpeg:${JPEG_PORT} | ||||
.elif ${jpeg_ARGS} == run | .elif ${jpeg_ARGS} == run | ||||
RUN_DEPENDS+= cjpeg:${PORTSDIR}/${JPEG_PORT} | RUN_DEPENDS+= cjpeg:${JPEG_PORT} | ||||
.elif ${jpeg_ARGS} == both | .elif ${jpeg_ARGS} == both | ||||
BUILD_DEPENDS+= cjpeg:${PORTSDIR}/${JPEG_PORT} | BUILD_DEPENDS+= cjpeg:${JPEG_PORT} | ||||
RUN_DEPENDS+= cjpeg:${PORTSDIR}/${JPEG_PORT} | RUN_DEPENDS+= cjpeg:${JPEG_PORT} | ||||
.else | .else | ||||
IGNORE= USES=jpeg - invalid args: [${jpeg_ARGS}] specified | IGNORE= USES=jpeg - invalid args: [${jpeg_ARGS}] specified | ||||
.endif | .endif | ||||
.endif | .endif |