From edb7229dd444037f6015d4a7d1c93eade4ed41f0 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Sat, 29 Nov 2014 18:22:32 +0000 Subject: Split devel/gettext in devel/gettext-runtime and devel/gettext-tools. The first contains runtime libraries such as libintl and the latter contains developer tools such as msgfmt. Ports that use gettext will usually need a LIB_DEPENDS on gettext-runtime and a BUILD_DEPENDS on gettext-tools. USES=gettext-runtime can be used to set a LIB/BUILD/RUN_DEPENDS on devel/gettext-runtime and USES=gettext-tools can be used to set a BUILD/RUN_DEPENDS on devel/gettext-tools. USES=gettext is now the same as "USES=gettext-runtime gettext-tools" meaning a LIB_DEPENDS on devel/gettext-runtime and a BUILD_DEPENDS on devel/gettext-tools. Update gettext to 0.19.3. Remove :oldver from converters/libiconv and devel/gettext-runtime. Leave symlinks with the old library versions to avoid the need to bump PORTREVISION on a large number of dependent ports. When most of the dependent ports have had normal version updates, PORTREVISION can be bumped on the remaining ones (low number) and the links can be removed. Fix some ports that installed files in lib/locale instead of share/locale. PR: 194038 Reviewed by: bapt Exp-run: antoine Approved by: portmgr (antoine) --- Mk/Uses/gettext-tools.mk | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Mk/Uses/gettext-tools.mk (limited to 'Mk/Uses/gettext-tools.mk') diff --git a/Mk/Uses/gettext-tools.mk b/Mk/Uses/gettext-tools.mk new file mode 100644 index 000000000000..67f9546cb160 --- /dev/null +++ b/Mk/Uses/gettext-tools.mk @@ -0,0 +1,25 @@ +# $FreeBSD$ +# +# 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:${PORTSDIR}/devel/gettext-tools +.endif +.if ${gettext-tools_ARGS:Mrun} +RUN_DEPENDS+= msgfmt:${PORTSDIR}/devel/gettext-tools +.endif + +.endif -- cgit v1.2.3