aboutsummaryrefslogtreecommitdiffstats
path: root/lang/mono
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2018-07-11 00:13:02 +0800
committerfeld <feld@FreeBSD.org>2018-07-11 00:13:02 +0800
commit532e4be58905e2b197e8d703a23033a164b3bf42 (patch)
tree73c40eed626ce270b392a1370d157353b789a283 /lang/mono
parenta4e2b97f2d9762c55a50e6fcef4eecf4c8d13f58 (diff)
downloadfreebsd-ports-gnome-532e4be58905e2b197e8d703a23033a164b3bf42.tar.gz
freebsd-ports-gnome-532e4be58905e2b197e8d703a23033a164b3bf42.tar.zst
freebsd-ports-gnome-532e4be58905e2b197e8d703a23033a164b3bf42.zip
lang/mono: Add NLS port option
MFH: 2018Q3 Differential Revision: https://reviews.freebsd.org/D16104
Diffstat (limited to 'lang/mono')
-rw-r--r--lang/mono/Makefile10
-rw-r--r--lang/mono/pkg-plist8
2 files changed, 10 insertions, 8 deletions
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