diff options
Diffstat (limited to 'test-ports/ports-dep-args/Mk/Uses/firebird.mk')
-rw-r--r-- | test-ports/ports-dep-args/Mk/Uses/firebird.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test-ports/ports-dep-args/Mk/Uses/firebird.mk b/test-ports/ports-dep-args/Mk/Uses/firebird.mk new file mode 100644 index 00000000..10eba396 --- /dev/null +++ b/test-ports/ports-dep-args/Mk/Uses/firebird.mk @@ -0,0 +1,24 @@ +# $FreeBSD: head/Mk/Uses/firebird.mk 419511 2016-08-03 12:09:37Z mat $ +# +# 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 |