Sync Mk with ports
[dports.git] / Mk / Uses / gettext-tools.mk
1 # $FreeBSD$
2 #
3 # Handle dependency on the gettext-tools port
4 #
5 # Feature:      gettext-tools
6 # Usage:        USES=gettext-tools or USES=gettext-tools:ARGS
7 # Valid ARGS:   build (default), run
8 #
9 # MAINTAINER:   portmgr@FreeBSD.org
10
11 .if !defined(_INCLUDE_USES_GETTEXT_TOOLS_MK)
12 _INCLUDE_USES_GETTEXT_TOOLS_MK= yes
13
14 .if empty(gettext-tools_ARGS)
15 gettext-tools_ARGS=     build
16 .endif
17
18 .if ${gettext-tools_ARGS:Mbuild}
19 BUILD_DEPENDS+= msgfmt:devel/gettext-tools
20 .endif
21 .if ${gettext-tools_ARGS:Mrun}
22 RUN_DEPENDS+=   msgfmt:devel/gettext-tools
23 .endif
24
25 .endif