openbsd-ports/devel/gettext/gettext.port.mk
2016-04-05 19:18:53 +00:00

20 lines
692 B
Makefile

# $OpenBSD: gettext.port.mk,v 1.14 2016/04/05 19:18:53 naddy Exp $
_MODGETTEXT_SPEC = devel/gettext>=0.10.38
MODGETTEXT_LIB_DEPENDS = ${_MODGETTEXT_SPEC} converters/libiconv
MODGETTEXT_WANTLIB = intl>=5 iconv>=6
MODGETTEXT_RUN_DEPENDS = ${_MODGETTEXT_SPEC}
# The RUN_DEPENDS entry is to ensure gettext is installed. This is
# necessary so that we have locale.alias installed on static archs.
# Typically installed in PREFIX/share/locale.
LIB_DEPENDS += ${MODGETTEXT_LIB_DEPENDS}
BUILD_DEPENDS += ${_MODGETTEXT_SPEC}
RUN_DEPENDS += ${MODGETTEXT_RUN_DEPENDS}
WANTLIB += ${MODGETTEXT_WANTLIB}
# Always provide the development tools: msgfmt(1) etc.
BUILD_DEPENDS += devel/gettext-tools