1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/Mk/Uses/qca.mk
2022-08-26 08:30:22 +02:00

29 lines
510 B
Makefile

# Handle dependency on qca
#
# Feature: qca
# Usage: USES=qca
# Valid ARGS none
#
# MAINTAINER: kde@FreeBSD.org
.if ! defined(_INCLUDE_QCA_MK)
_INCLUDE_QCA_MK= yes
. if !empty(qca_ARGS)
IGNORE+= USES=qca takes no arguments
. endif
. if empty(USES:Mqt*)
IGNORE+= Qt version not specified
. endif
_QCA_LIB= libqca-qt${_QT_VER}.so
_QCA_DEFAULT_PORT= devel/qca
_QCA_CHOSEN_PORT= DEFAULT
_QCA_FLAVOR= qt${_QT_VER}
LIB_DEPENDS+= ${_QCA_LIB}:${_QCA_${_QCA_CHOSEN_PORT}_PORT}@${_QCA_FLAVOR}
.endif