mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
5d33e04596
Where appropriate fiddle with a few other things.
24 lines
516 B
Makefile
24 lines
516 B
Makefile
# 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:devel/gettext-tools
|
|
.endif
|
|
.if ${gettext-tools_ARGS:Mrun}
|
|
RUN_DEPENDS+= msgfmt:devel/gettext-tools
|
|
.endif
|
|
|
|
.endif
|