aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses/gettext-tools.mk
blob: 67f9546cb1600a53ea834759f9df7924f9869da8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $FreeBSD$
#
# Handle dependency on the gettext-tools port
#
# Feature:  gettext-tools
# Usage:    USES=gettext-tools or USES=gettext-tools:ARGS
# Valid ARGS:   build (default), run
#
# MAINTAINER:   portmgr@FreeBSD.org

.if !defined(_INCLUDE_USES_GETTEXT_TOOLS_MK)
_INCLUDE_USES_GETTEXT_TOOLS_MK= yes

.if empty(gettext-tools_ARGS)
gettext-tools_ARGS= build
.endif

.if ${gettext-tools_ARGS:Mbuild}
BUILD_DEPENDS+= msgfmt:${PORTSDIR}/devel/gettext-tools
.endif
.if ${gettext-tools_ARGS:Mrun}
RUN_DEPENDS+=   msgfmt:${PORTSDIR}/devel/gettext-tools
.endif

.endif