freebsd-ports/Mk/Uses/firebird.mk
Baptiste Daroussin 421767bd88 Remove the now unneeded ${PORTSDIR} from dependency definition in
The infrastructure Makefiles

PR:		206569
Exp run by:	antoine
Differential Revision:	D5047
2016-03-27 01:23:25 +00:00

23 lines
531 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
.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:databases/firebird25-client
.else
IGNORE= cannot install: unknown Firebird version: ${FIREBIRD_VER}
.endif
.endif