Sync Mk with ports
[dports.git] / Mk / Uses / firebird.mk
1 # $FreeBSD$
2 #
3 # Provide support for Firebird
4 # Feature:      firebird
5 # Usage:        USES=   firebird[:version]
6 # MAINTAINER:   ports@FreeBSD.org
7
8 .if !defined(_INCLUDE_USES_FIREBIRD_MK)
9 _INCLUDE_USES_FIREBIRD_MK=      yes
10
11 .if !empty(firebird_ARGS)
12 FIREBIRD_VER=   ${firebird_ARGS}
13 .endif
14
15 FIREBIRD_VER?=  ${FIREBIRD_DEFAULT:S/.//}
16
17 # When adding a version, please keep the comment in
18 # Mk/bsd.default-versions.mk in sync.
19 .if ${FIREBIRD_VER} == 25
20 LIB_DEPENDS+=   libfbclient.so:databases/firebird25-client
21 .else
22 IGNORE=         cannot install: unknown Firebird version: ${FIREBIRD_VER}
23 .endif
24 .endif