Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/gettext.mk
# Sets a library dependency on gettext-runtime and a build dependency | # Sets a library dependency on gettext-runtime and a build dependency | ||||
# on gettext-tools. Same as "USES=gettext-runtime gettext-tools". | # on gettext-tools. Same as "USES=gettext-runtime gettext-tools". | ||||
# | # | ||||
# Feature: gettext | # Feature: gettext | ||||
# Usage: USES=gettext | # Usage: USES=gettext | ||||
# | # | ||||
# MAINTAINER: tijl@FreeBSD.org | # MAINTAINER: tijl@FreeBSD.org | ||||
.if !defined(_INCLUDE_USES_GETTEXT_MK) | .if !defined(_INCLUDE_USES_GETTEXT_MK) | ||||
_INCLUDE_USES_GETTEXT_MK= yes | _INCLUDE_USES_GETTEXT_MK= yes | ||||
.if !empty(gettext_ARGS) | . if !empty(gettext_ARGS) | ||||
IGNORE= USES=gettext does not take arguments | IGNORE= USES=gettext does not take arguments | ||||
.endif | . endif | ||||
.include "${USESDIR}/gettext-runtime.mk" | .include "${USESDIR}/gettext-runtime.mk" | ||||
.include "${USESDIR}/gettext-tools.mk" | .include "${USESDIR}/gettext-tools.mk" | ||||
.endif | .endif |