aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses/firebird.mk
blob: 49eb5c4462a4f7223fef672942035424fb344ecb (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
# $FreeBSD$
#
# Provide support for Firebird
# Feature:  firebird
# Usage:    USES=   firebird[:version]
# MAINTAINER:   ports@FreeBSD.org

.if !defined(_INCLUDE_USES_FIREBIRD_MK)
_INCLUDE_USES_FIREBIRD_MK=  yes

.if !empty(firebird_ARGS)
FIREBIRD_VER=   ${firebird_ARGS}
.endif

FIREBIRD_VER?=  ${FIREBIRD_DEFAULT:S/.//}

# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
.if ${FIREBIRD_VER} == 25
LIB_DEPENDS+=   libfbclient.so:databases/firebird25-client
.else
IGNORE=     cannot install: unknown Firebird version: ${FIREBIRD_VER}
.endif
.endif