From 532e4be58905e2b197e8d703a23033a164b3bf42 Mon Sep 17 00:00:00 2001 From: feld Date: Tue, 10 Jul 2018 16:13:02 +0000 Subject: lang/mono: Add NLS port option MFH: 2018Q3 Differential Revision: https://reviews.freebsd.org/D16104 --- lang/mono/Makefile | 10 ++++++---- lang/mono/pkg-plist | 8 ++++---- 2 files changed, 10 insertions(+), 8 deletions(-) (limited to 'lang/mono') diff --git a/lang/mono/Makefile b/lang/mono/Makefile index d3859b4eba59..e3e862660945 100644 --- a/lang/mono/Makefile +++ b/lang/mono/Makefile @@ -3,7 +3,7 @@ PORTNAME= mono PORTVERSION= 5.10.1.47 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= lang MASTER_SITES= https://download.mono-project.com/sources/mono/ DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} @@ -25,17 +25,19 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \ CONFLICTS_INSTALL= czmq-3* -OPTIONS_DEFINE= MONOLITE X11 -OPTIONS_DEFAULT= MONOLITE X11 +OPTIONS_DEFINE= MONOLITE NLS X11 +OPTIONS_DEFAULT= MONOLITE NLS X11 MONOLITE_DESC= Use monolite to bootstrap mcs (otherwise use installed mcs) MONOLITE_DISTFILES= monolite-linux-${MONOLITE_VERSION}-latest.tar.gz:monolite MONOLITE_MASTER_SITES= http://download.mono-project.com/monolite/:monolite MONOLITE_VERSION= 1051000004 +NLS_USES= gettext + X11_USES= display:test -USES= autoreconf bison compiler:c11 cpe gettext gmake iconv libtool \ +USES= autoreconf bison compiler:c11 cpe gmake iconv libtool \ pathfix perl5 python:2.7 shebangfix tar:bzip2 USE_PERL5= build GNU_CONFIGURE= yes diff --git a/lang/mono/pkg-plist b/lang/mono/pkg-plist index 3e8efa72e0a7..4ef430e274ed 100644 --- a/lang/mono/pkg-plist +++ b/lang/mono/pkg-plist @@ -2969,10 +2969,10 @@ share/libgc-mono/leak.html share/libgc-mono/scale.html share/libgc-mono/simple_example.html share/libgc-mono/tree.html -share/locale/de/LC_MESSAGES/mcs.mo -share/locale/es/LC_MESSAGES/mcs.mo -share/locale/ja/LC_MESSAGES/mcs.mo -share/locale/pt_BR/LC_MESSAGES/mcs.mo +%%NLS%%share/locale/de/LC_MESSAGES/mcs.mo +%%NLS%%share/locale/es/LC_MESSAGES/mcs.mo +%%NLS%%share/locale/ja/LC_MESSAGES/mcs.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/mcs.mo %%DATADIR%%-2.0/mono/cil/cil-opcodes.xml %%DATADIR%%-2.0/mono/profiler/mono-profiler-coverage.suppression %%DATADIR%%-2.0/mono/profiler/mono-profiler-log.suppression -- cgit