3 # Handle dependency on the gettext-runtime (libintl) port
5 # Feature: gettext-runtime
6 # Usage: USES=gettext-runtime or USES=gettext-runtime:ARGS
7 # Valid ARGS: lib (default), build, run
9 # MAINTAINER: portmgr@FreeBSD.org
11 .if !defined(_INCLUDE_USES_GETTEXT_RUNTIME_MK)
12 _INCLUDE_USES_GETTEXT_RUNTIME_MK= yes
14 .if empty(gettext-runtime_ARGS)
15 gettext-runtime_ARGS= lib
18 .if ${gettext-runtime_ARGS:Mlib}
19 LIB_DEPENDS+= libintl.so:devel/gettext-runtime
21 .if ${gettext-runtime_ARGS:Mbuild}
22 BUILD_DEPENDS+= gettext:devel/gettext-runtime
24 .if ${gettext-runtime_ARGS:Mrun}
25 RUN_DEPENDS+= gettext:devel/gettext-runtime