freebsd-ports/Mk/Uses/firebird.mk
Mathieu Arnold 0761532ec5 Always include bsd.default-versions.mk in bsd.port.mk.
The variable defined in it are now always available after including
bsd.port.pre.mk.

PR:		210666
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6933
2016-08-03 12:09:37 +00:00

24 lines
571 B
Makefile

# $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