freebsd-ports/Mk/Uses/firebird.mk
Baptiste Daroussin bf548998cb Introduce 2 new USES: sqlite and firebird
sqlite and firebird handling code has been extracted from bsd.databases.mk
add an entry in bsd.sanity.mk to mark USE_SQLITE and USE_FIREBIRD as deprecated
2016-01-10 16:15:29 +00:00

23 lines
537 B
Makefile

# $FreeBSD$
#
# Provide support for SQLite
# Feature: sqlite
# Usage: USES= sqlite[:version]
# MAINTAINER: ports@FreeBSD.org
.if !defined(_INCLUDE_USES_FIREBIRD_MK)
_INCLUDE_USES_FIREBIRD_MK= yes
.include "${PORTSDIR}/Mk/bsd.default-versions.mk"
.if !empty(firebird_ARGS)
FIREBIRD_VER= ${firebird_ARGS}
.endif
FIREBIRD_VER?= ${FIREBIRD_DEFAULT:S/.//}
.if ${FIREBIRD_VER} == 25
LIB_DEPENDS+= libfbclient.so:${PORTSDIR}/databases/firebird25-client
.else
IGNORE= cannot install: unknown Firebird version: ${FIREBIRD_VER}
.endif
.endif