Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/gettext-tools.mk
# Handle dependency on the gettext-tools port | # Handle dependency on the gettext-tools port | ||||
# | # | ||||
# Feature: gettext-tools | # Feature: gettext-tools | ||||
# Usage: USES=gettext-tools or USES=gettext-tools:ARGS | # Usage: USES=gettext-tools or USES=gettext-tools:ARGS | ||||
# Valid ARGS: build (default), run | # Valid ARGS: build (default), run | ||||
# | # | ||||
# MAINTAINER: tijl@FreeBSD.org | # MAINTAINER: tijl@FreeBSD.org | ||||
.if !defined(_INCLUDE_USES_GETTEXT_TOOLS_MK) | .if !defined(_INCLUDE_USES_GETTEXT_TOOLS_MK) | ||||
_INCLUDE_USES_GETTEXT_TOOLS_MK= yes | _INCLUDE_USES_GETTEXT_TOOLS_MK= yes | ||||
.if empty(gettext-tools_ARGS) | . if empty(gettext-tools_ARGS) | ||||
gettext-tools_ARGS= build | gettext-tools_ARGS= build | ||||
.endif | . endif | ||||
.if ${gettext-tools_ARGS:Mbuild} | . if ${gettext-tools_ARGS:Mbuild} | ||||
BUILD_DEPENDS+= msgfmt:devel/gettext-tools | BUILD_DEPENDS+= msgfmt:devel/gettext-tools | ||||
.endif | . endif | ||||
.if ${gettext-tools_ARGS:Mrun} | . if ${gettext-tools_ARGS:Mrun} | ||||
RUN_DEPENDS+= msgfmt:devel/gettext-tools | RUN_DEPENDS+= msgfmt:devel/gettext-tools | ||||
.endif | . endif | ||||
.endif | .endif |