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:
28
Mk/Uses/gettext-runtime.mk
Normal file
28
Mk/Uses/gettext-runtime.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
# $FreeBSD: head/Mk/Uses/gettext-runtime.mk 411970 2016-03-27 01:23:25Z bapt $
|
||||
#
|
||||
# Handle dependency on the gettext-runtime (libintl) port
|
||||
#
|
||||
# Feature: gettext-runtime
|
||||
# Usage: USES=gettext-runtime or USES=gettext-runtime:ARGS
|
||||
# Valid ARGS: lib (default), build, run
|
||||
#
|
||||
# MAINTAINER: portmgr@FreeBSD.org
|
||||
|
||||
.if !defined(_INCLUDE_USES_GETTEXT_RUNTIME_MK)
|
||||
_INCLUDE_USES_GETTEXT_RUNTIME_MK= yes
|
||||
|
||||
.if empty(gettext-runtime_ARGS)
|
||||
gettext-runtime_ARGS= lib
|
||||
.endif
|
||||
|
||||
.if ${gettext-runtime_ARGS:Mlib}
|
||||
LIB_DEPENDS+= libintl.so:devel/gettext-runtime
|
||||
.endif
|
||||
.if ${gettext-runtime_ARGS:Mbuild}
|
||||
BUILD_DEPENDS+= gettext:devel/gettext-runtime
|
||||
.endif
|
||||
.if ${gettext-runtime_ARGS:Mrun}
|
||||
RUN_DEPENDS+= gettext:devel/gettext-runtime
|
||||
.endif
|
||||
|
||||
.endif
|
||||
Reference in New Issue
Block a user