2016-01-10 17:15:29 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
2016-02-01 20:47:26 +01:00
|
|
|
# Provide support for Firebird
|
2016-01-11 20:06:19 +01:00
|
|
|
# Feature: firebird
|
|
|
|
# Usage: USES= firebird[:version]
|
2016-01-10 17:15:29 +01:00
|
|
|
# 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/.//}
|
|
|
|
|
2016-04-14 15:34:25 +02:00
|
|
|
# When adding a version, please keep the comment in
|
|
|
|
# Mk/bsd.default-versions.mk in sync.
|
2016-01-10 17:15:29 +01:00
|
|
|
.if ${FIREBIRD_VER} == 25
|
2016-03-27 03:23:25 +02:00
|
|
|
LIB_DEPENDS+= libfbclient.so:databases/firebird25-client
|
2016-01-10 17:15:29 +01:00
|
|
|
.else
|
|
|
|
IGNORE= cannot install: unknown Firebird version: ${FIREBIRD_VER}
|
|
|
|
.endif
|
|
|
|
.endif
|