mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
create bsd12 branch
This commit is contained in:
25
Mk/Uses/gettext-tools.mk
Normal file
25
Mk/Uses/gettext-tools.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
# $FreeBSD: head/Mk/Uses/gettext-tools.mk 411970 2016-03-27 01:23:25Z bapt $
|
||||
#
|
||||
# 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
|
||||
Reference in New Issue
Block a user