aa25396790
Run Tools/scripts/indent_make_if.pl on all of Mk. These white space changes contribute greatly to the readability of those files. As we have a version control system, finding out the reasons for the changes prior to these white space changes is still easily possible Differential Revision: https://reviews.freebsd.org/D35024 Reviewed by: portmgr (rene, bapt)
33 lines
887 B
Makefile
33 lines
887 B
Makefile
# 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}
|
|
. else
|
|
FIREBIRD_VER= ${FIREBIRD_DEFAULT}
|
|
. endif
|
|
|
|
# When adding a version, please keep the comment in
|
|
# Mk/bsd.default-versions.mk in sync.
|
|
VALID_FIREBIRD_VER= 2.5 3.0 4.0
|
|
|
|
. for v in ${FIREBIRD_DEFAULT}
|
|
. if ! ${VALID_FIREBIRD_VER:M$v}
|
|
IGNORE= Invalid Firebird default version ${FIREBIRD_DEFAULT}; valid versions are ${VALID_FIREBIRD_VER}
|
|
. endif
|
|
. endfor
|
|
|
|
. for w in ${FIREBIRD_VER}
|
|
. if ! ${VALID_FIREBIRD_VER:M$w}
|
|
IGNORE= Invalid Firebird version ${FIREBIRD_VER}; valid versions are ${VALID_FIREBIRD_VER}
|
|
. endif
|
|
. endfor
|
|
|
|
LIB_DEPENDS+= libfbclient.so:databases/firebird${FIREBIRD_VER:S/.//}-client
|
|
|
|
.endif
|